1diff -ru orig/src/main/Main.hs new/src/main/Main.hs
2--- orig/src/main/Main.hs 2013-10-14 09:10:24.895239824 +0300
3+++ new/src/main/Main.hs 2013-10-14 09:10:24.000000000 +0300
6 {-# LANGUAGE FlexibleContexts #-}
7 {-# LANGUAGE RecordWildCards #-}
8 -- | Main compiler executable.
11 import Data.Version (showVersion)
12 import Options.Applicative
13+#if MIN_VERSION_optparse_applicative(0,6,0)
14+import Options.Applicative.Types
16 import System.Environment
18 -- | Options and help.
20 <*> switch (long "typecheck-only" <> help "Only invoke GHC for typechecking, don't produce any output")
21 <*> optional (strOption $ long "runtime-path" <> help "Custom path to the runtime so you don't have to reinstall fay when modifying it")
25+#if MIN_VERSION_optparse_applicative(0,6,0)
26+ nullOption (m <> reader (ReadM . Right . wordsBy (== ',')) <> value [])
28 nullOption (m <> reader (Right . wordsBy (== ',')) <> value [])
32 -- | Make incompatible options.
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