Ivan Lazar Miljenovic schrieb:
> Henning Thielemann <schlepp...@henning-thielemann.de> writes:
>> I was not happy with the way FGL handles lables so far:
>>   http://www.haskell.org/pipermail/libraries/2008-February/009241.html
> 
> Not sure I follow what you want there: you want to remove the whole
> concept of labels and replace it with the node type?  What about edge
> labels then?

You can label edges using a Map (i,i) label.

> Also, what happens if I want a label to be a function?

I don't see a problem, functions can be elements of an Array or a Map.
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to