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

17 lines
381 B
Haskell
Raw Normal View History

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