In your case the Nothing is unused so will never be a problem. Perhaps more worrying:
foo :: Int -> Int
foo n = x + 1
where
Just x = Nothing
This gives no warnings.
_______________________________________________
Glasgow-haskell-users mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
