Eugene Kirpichov wrote:
'An arbitrary element' means 'undefined will suffice'

point x = fmap (const x) undefined

Prelude> fmap (const True) undefined :: [Bool]
*** Exception: Prelude.undefined

Or is that not what you mean?

Martijn.

_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to