packages feed

pcf 0.1.0.0 → 0.1.0.1

raw patch · 2 files changed

+3/−3 lines, 2 files

Files

pcf.cabal view
@@ -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
src/Language/Pcf.hs view
@@ -286,9 +286,9 @@ 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)   -------------------------------------------------------------------