[Haskell-cafe] Re: Looking for practical examples of Zippers

Gü?nther Schmidt gue.schmidt at web.de
Mon Mar 30 15:46:28 EDT 2009


Thanks Don,

I followed some examples but have not yet seen anything that would show 
me how, for instance, turn a nested Map like

Map Int (Map Int (Map String Double)

into a "zipped" version.

That is presuming of course that this use is feasible at all.

Günther


Don Stewart schrieb:
> xmonad's state is represented as a zipper on nested lists.
> 
> The wikipedia article on zippers lists this and other examples.    
> 
> gue.schmidt:
>> Hi,
>>
>> my quest for data structures continues. Lately I came across "Zippers".
>>
>> Can anybody point be to some useful examples?
>>
>> Günther
>>
>> _______________________________________________
>> Haskell-Cafe mailing list
>> Haskell-Cafe at haskell.org
>> http://www.haskell.org/mailman/listinfo/haskell-cafe
>>




More information about the Haskell-Cafe mailing list