Hi!
I often bump into a problem having the following gist:
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
view nodes: #( $a $b $a).
view edgesFromAssociations: { $a -> $b . $b -> $a}
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
How can I express the the second $a and not the first when defining edges? I have the
impression this limitation comes from the fact that two different nodes have the same
model behind ($a), and there is no way to distinguish between them.
An easy and backward compatible solution would be to permit to provide nodes:
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
nodes := view nodes: #( $a $b $a).
view edgesFromAssociations: { nodes first -> nodes second . nodes second -> nodes
third }
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Opinion?
Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel
http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.