1module Snapshot.UncurriedSTFns02 where
5import Control.Monad.ST.Internal (ST, run)
6import Control.Monad.ST.Uncurried (STFn1, mkSTFn1, runSTFn1)
8import Effect.Class.Console (logShow)
10test1 :: forall r. ST r Int
11test1 = runSTFn1 (mkSTFn1 \m -> pure m) 12
13test2 :: Effect Int -> Effect Unit
16 f :: forall r. STFn1 Int r Int
17 f = mkSTFn1 \n -> pure n
19 logShow (run (runSTFn1 f n))
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list