On Fri, Oct 3, 2008 at 3:17 AM, Jason Dusek <[EMAIL PROTECTED]> wrote:
>  Perhaps I am lacking in imagination, but I still can't see the
>  value of one tuples.

You can use them to defeat seq.

undefined `seq` x == undefined
OneTuple undefined `seq` x == x

That might be useful if a polymorphic function is using seq to force
evaluation, and you don't want it to. But I can't imagine that coming
up much in practice.

-- 
Dave Menendez <[EMAIL PROTECTED]>
<http://www.eyrie.org/~zednenem/>
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to