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

10 lines
297 B
Haskell
Raw Normal View History

2022-09-14 17:16:15 +03:00
module Commands.Typecheck where
import Commands.Base
import Commands.Typecheck.Options
runCommand :: (Members '[Embed IO, App] r) => TypecheckOptions -> Sem r ()
runCommand localOpts = do
void (runPipeline (localOpts ^. typecheckInputFile) upToCoreTypecheck)
say "Well done! It type checks"