User:Benmachine/Cont

From HaskellWiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

When you do this: {-, terrible things happen.

Here's some nicely-formatted code:

id :: a -> a
id x = const x x

const :: a -> b -> a
const x _ = id x

which is now ruined. -} does that fix it? It doesn't seem to.

The problem

doesn't even stop at section boundaries: <haskell> error :: String -> a error str = error (error str)