Commit 863ad0ba authored by simonpj's avatar simonpj
Browse files

[project @ 2002-05-28 15:57:44 by simonpj]

Switch to let syntax for implicit parameters
parent fa6cd916
......@@ -4,8 +4,8 @@
module Main where
main = do { putStrLn $ show $ foo with ?x = 13
; putStrLn $ show $ baz () with ?x = 14 }
main = do { let ?x = 13 in putStrLn $ show $ foo
; let ?x = 14 in putStrLn $ show $ baz () }
foo :: (?x :: Int) => Int
foo = ?x
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment