Hi i can not load program test1 into hugs, but test2 works. Am i missing some special syntax?
greetings, Philip -------------- test1 ------------------ foo :: Maybe Int -> Int foo Nothing =-1 foo (Just a)= a -------------- test2 ------------------ foo :: Maybe Int -> Int foo Nothing = -1 -- ^ -- +-- note an extra space foo (Just a)= a _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe