1module Main (main) where
3import Prelude (Unit, bind, discard)
5import Effect.Aff (launchAff_)
6import Node.Process (stdin, stdout)
7import Node.Stream.Aff (readSome, write, end, toStringUTF8, fromStringUTF8)
8import Compiler (successFromJson, runCompiler)
12 { buffers } <- readSome stdin
13 code <- toStringUTF8 buffers
14 let settings = { protocol: "https"
15 , hostname: "compile.purescript.org"
17 , parser: successFromJson
19 code' <- runCompiler settings code
20 output <- fromStringUTF8 code'
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