1
1
mirror of https://github.com/anoma/juvix.git synced 2024-12-15 18:13:56 +03:00
juvix/app/Commands/MiniHaskell.hs

16 lines
377 B
Haskell
Raw Normal View History

2022-03-15 20:01:28 +03:00
{-# LANGUAGE ApplicativeDo #-}
module Commands.MiniHaskell where
import Commands.Extra
import Options.Applicative
import MiniJuvix.Prelude hiding (Doc)
data MiniHaskellOptions = MiniHaskellOptions
{ _mhaskellInputFile :: FilePath
}
parseMiniHaskell :: Parser MiniHaskellOptions
parseMiniHaskell = do
_mhaskellInputFile <- parseInputFile
pure MiniHaskellOptions {..}