fetch strategy bug?
According to http://hydra.nixos.org/build/639441/download/1/manual/chunk-chapter/library-lists.html the fetch strategy should work like this (in stratego-shell):
stratego> <fetch(?2)> [1,2,3] 2
However when I try it here (using stratego-shell 0.7pre0) I get:
stratego> <fetch(?2)> [1,2,3] [1,2,3]
Are the docs wrong, is stratego(-shell) wrong, or am I doing something wrong?
Before I can use fetch I import it using:
Submitted by Tobi Vollebregt on 27 September 2010 at 21:00import libstratego-lib
Issue Log
On 27 September 2010 at 21:03 Eelco Visser commented:
The documentation is wrong. The behaviour you want is provided by fetch-elem.
On 27 September 2010 at 21:04 Eelco Visser commented:
The documentation is wrong. You get the result you want with fetch-elem. (Look at the definition of fetch for the definitive answer.)
On 29 September 2010 at 13:17 Rob Vermaas closed this issue.
On 29 September 2010 at 13:17 Rob Vermaas commented:
Fixed in r. 21260 of the manual
Log in to post comments