|
|
Invisible <voi### [at] devnull> wrote:
> (g,s) = (\x -> x, \x -> x*x)
>
> That last line is the best. I didn't even realise you could *do* that!
yes! very cool! Looks like Perl/Python 2 way assignment, but of course there's
no assignment here, it's 2 functions defined in the same line by 2 tuples!
Haskell is amazing...
> Very odd...
>
> Right, so, let's do some analysis here.
man, just run this madness and see what it does...
Post a reply to this message
|
|