1
1
mirror of https://github.com/anoma/juvix.git synced 2024-12-15 01:52:11 +03:00
juvix/app/Commands/MiniHaskell.hs
2022-03-25 00:52:30 +01:00

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 {..}