1module Main (main) where
3import Data.Aeson ((.=))
4import qualified Data.ByteString.Char8 as BSC
5import qualified Data.Text.IO as T
6import qualified Data.Yaml as YAML
13 case parseNixTextLoc inp of
14 Failure err -> error $ show err
16 let (t, errs, infErr, uErrs, pErrs, o) = getType r
17 BSC.putStrLn . YAML.encode $
18 o <> "errors" .= fmap show errs
19 <> "unifying_errors" .= fmap show uErrs
20 <> "resulting_type" .= renderPretty t
21 <> "predicate_errors" .= fmap show pErrs
22 <> "infer_errors" .= fmap show infErr
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