mirror of
https://github.com/anoma/juvix.git
synced 2024-12-15 01:52:11 +03:00
17 lines
381 B
Haskell
17 lines
381 B
Haskell
{-# LANGUAGE ApplicativeDo #-}
|
|
|
|
module Commands.MiniHaskell where
|
|
|
|
import Commands.Extra
|
|
import MiniJuvix.Prelude hiding (Doc)
|
|
import Options.Applicative
|
|
|
|
newtype MiniHaskellOptions = MiniHaskellOptions
|
|
{ _mhaskellInputFile :: FilePath
|
|
}
|
|
|
|
parseMiniHaskell :: Parser MiniHaskellOptions
|
|
parseMiniHaskell = do
|
|
_mhaskellInputFile <- parseInputFile
|
|
pure MiniHaskellOptions {..}
|