Changed my mind on the basic syntax; less Haskell, more C.

This commit is contained in:
2011-01-06 23:37:31 -08:00
parent 3f14f02eb3
commit 29a358a76a
6 changed files with 301 additions and 141 deletions

View File

@@ -39,7 +39,7 @@ pullTokens = do
then return [res]
else return (res :) `ap` pullTokens
loadModule :: FilePath -> IO (Module ())
loadModule :: FilePath -> IO (Module Position)
loadModule path = do
mtxt <- tryJust (guard . isDoesNotExistError) $ S.readFile path
case mtxt of