Re: set functions and weak encapsulation

From: Sebastian Fischer <sebf_at_informatik.uni-kiel.de>
Date: Tue, 06 Mar 2012 21:09:55 +0900

>>     perm []         = []
>>     perm (xs++x:ys) = x : perm (xs++ys)
>
> I think this will become also my favorite!

To be fair, I think I once learned it from Sergio and now rediscovered it.

_______________________________________________
curry mailing list
curry_at_lists.RWTH-Aachen.DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/curry
Received on Di Mär 06 2012 - 13:53:02 CET

This archive was generated by hypermail 2.3.0 : Do Feb 01 2024 - 07:15:10 CET