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 Tue Mar 06 2012 - 13:53:02 CET

This archive was generated by hypermail 2.3.0 : Mon Sep 23 2019 - 07:15:08 CEST