
27 Apr
2010
27 Apr
'10
6:48 p.m.
Ivan Lazar Miljenovic schrieb:
Henning Thielemann
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.