Monad transformers for the first time :OO
This commit is contained in:
parent
a19bcf0ad5
commit
76c3c3c4fc
6 changed files with 63 additions and 13 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue