Is the following considered a bug or a feature?

---------------------
)abbrev domain FOO Foo
Foo: with
    foo: () -> List String
  == add
    foo(): List String ==
        v: String := "vvv"
        l: List String := ["a", "z", "b", "y"]
        [concat("x", v) for v in l]
---------------------

(1) -> foo()

   >> System error:
   Value of NIL in (THE STRING NIL) is NIL, not a STRING.

It works fine if I rename one of the v's.

I would have expected that the v in "for v" simply shadows the outside v.

Ralf

-- 
You received this message because you are subscribed to the Google Groups 
"FriCAS - computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/fricas-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to