The code below will return [“x”] instead of [“b”, “x”].

main-foo =
rules(Foo : “x”)
; rules(Foo :+ “x” -> “b”)
; “x”

Similarly, if we do a “x”, the result will be “x” instead of (the correct) “b”.

Submitted on 7 March 2006 at 17:52

On 28 January 2013 at 14:45 Eelco Visser removed tag 0.18M4

On 28 January 2013 at 14:45 Eelco Visser tagged interesting

Log in to post comments