Monad transformers for the first time :OO

This commit is contained in:
vegowotenks 2025-02-18 17:16:18 +01:00
parent a19bcf0ad5
commit 76c3c3c4fc
6 changed files with 63 additions and 13 deletions

View file

@ -5,5 +5,6 @@ import qualified Ubc.Parse.Syntax.File as File
main :: IO ()
main = do
text <- getContents
-- fixme: handle errors?
print $ Parsec.parse (File.parse "<stdin>" <* Parsec.eof) "<stdin>" text