#43, make the generator aware of some more Prelude functions
authorNeil Mitchell <ndmitchell@gmail.com>
Tue, 22 Dec 2015 13:59:25 +0000 (13:59 +0000)
committerNeil Mitchell <ndmitchell@gmail.com>
Tue, 22 Dec 2015 13:59:25 +0000 (13:59 +0000)
Generate.hs

index f0972fc..04c83c6 100755 (executable)
@@ -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 = ["</>","<.>","-<.>"]