Sha256: 3036b6ae13c119b241bc9a9be76341641f50df91accba2eb949da9ff3bd5a48b

Contents?: true

Size: 255 Bytes

Versions: 4

Compression:

Stored size: 255 Bytes

Contents

(examples-for ampersand-syntax
  ("assigns multiple values at once ; value of expr is last assigned value"
   (with (a 1 b { foo 2 } c { d { e 3 } })
         (let res (= a 10 b.foo 20 (&d.e c) 30)
           (list a b.foo c.d.e res)))
   (10 20 30 30)))

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
nydp-0.6.0 lib/lisp/tests/multi-assign-examples.nydp
nydp-0.5.1 lib/lisp/tests/multi-assign-examples.nydp
nydp-0.5.0 lib/lisp/tests/multi-assign-examples.nydp
nydp-0.4.6 lib/lisp/tests/multi-assign-examples.nydp