Skip to content

Commit

Permalink
Fixed one typo
Browse files Browse the repository at this point in the history
  • Loading branch information
jozefg committed Apr 3, 2015
1 parent 5ce6746 commit 273ec81
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pcf.cabal
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: pcf
version: 0.1.0.0
version: 0.1.0.1
synopsis: A one file compiler for PCF
description: PCF is a small programming language with higher order
functions, natural numbers, and recursion. It is
Expand Down
4 changes: 2 additions & 2 deletions src/Language/Pcf.hs
Original file line number Diff line number Diff line change
Expand Up @@ -286,9 +286,9 @@ compile e = runGen . runMaybeT $ do
output :: Exp Integer -> IO (Maybe String)
output e = case compile e of
Nothing -> return Nothing
Just p -> Just $ do
Just p -> do
rts <- getDataFileName "src/preamble.c" >>= readFile
return . Just $ rts ++ '\n' : pretty p
return . Just $ rts ++ '\n' : show (pretty p)


-------------------------------------------------------------------
Expand Down

0 comments on commit 273ec81

Please sign in to comment.