[Haskell-cafe] Re: How Albus Dumbledore would sell Haskell

apfelmus apfelmus at quantentunnel.de
Sat Apr 21 08:11:47 EDT 2007


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

It is (almost). It's called

  join (,)

Regards,
apfelmus



More information about the Haskell-Cafe mailing list