1module Playground.Playground where
5import Control.Promise (Promise, toAff)
6import Data.Function.Uncurried (Fn2, runFn2)
7import Data.Newtype (class Newtype)
12derive instance ntFolder :: Newtype Folder _
13derive newtype instance eqFolder :: Eq Folder
15foreign import copyImpl :: Fn2 String String (Promise Unit)
17copy :: String -> String -> Aff Unit
18copy src target = runFn2 copyImpl src target # toAff
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