[commit: packages/filepath] master: #43, make the generator aware of some more Prelude functions (cdf4bd8)

git at git.haskell.org git at git.haskell.org
Mon Dec 28 20:40:18 UTC 2015


Repository : ssh://git@git.haskell.org/filepath

On branch  : master
Link       : http://git.haskell.org/packages/filepath.git/commitdiff/cdf4bd87f9328a8e04151a86c4e097fd929a1bf1

>---------------------------------------------------------------

commit cdf4bd87f9328a8e04151a86c4e097fd929a1bf1
Author: Neil Mitchell <ndmitchell at gmail.com>
Date:   Tue Dec 22 13:59:25 2015 +0000

    #43, make the generator aware of some more Prelude functions


>---------------------------------------------------------------

cdf4bd87f9328a8e04151a86c4e097fd929a1bf1
 Generate.hs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Generate.hs b/Generate.hs
index f0972fc..04c83c6 100755
--- a/Generate.hs
+++ b/Generate.hs
@@ -83,7 +83,7 @@ qualify pw str
     | otherwise = str
     where
         prelude = ["elem","uncurry","snd","fst","not","null","if","then","else"
-                  ,"True","False","concat","isPrefixOf","isSuffixOf","any"]
+                  ,"True","False","Just","Nothing","fromJust","concat","isPrefixOf","isSuffixOf","any"]
         fpops = ["</>","<.>","-<.>"]
 
 



More information about the ghc-commits mailing list