1
1
mirror of https://github.com/anoma/juvix.git synced 2024-12-14 17:32:00 +03:00
juvix/app/Commands/Typecheck.hs

10 lines
295 B
Haskell

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"