No way to retrieve the base of a Set or Map in O(1)

Ivan Lazar Miljenovic ivan.miljenovic at gmail.com
Thu Jun 18 13:01:02 UTC 2015


On 18 June 2015 at 22:53, André van Delden
<andre.van.delden at uni-bremen.de> wrote:
> Hello,
>
>
>> do you have any use-case where such function is useful?
>
> I am trying to generalize some combinatorial functions to a class of
> types containing any sort of element. For many combinatorial functions
> it is useful to split the elements at some element and recombine them
> after a recursion over the parts. That's what I was thinking of.
>
> But others seem to be interested aswell (although it is a beginner
> asking, so there might be a better solution to his problem):
>
> http://osdir.com/ml/beginners@haskell.org/2015-03/msg00091.html

minView applies to that one as well.

-- 
Ivan Lazar Miljenovic
Ivan.Miljenovic at gmail.com
http://IvanMiljenovic.wordpress.com


More information about the Libraries mailing list