Dan Weston wrote:
> -- Why is this not in Prelude?
> dup x = (x,x)

It is (almost). It's called

  join (,)

Regards,
apfelmus

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to