Sha256: c70a42a25c04af6679da6bc5e403411de3b5db2c06566b0566392d3f07cb8cdb

Contents?: true

Size: 368 Bytes

Versions: 5

Compression:

Stored size: 368 Bytes

Contents

(examples-for module
  ("it overrides external namespace internally"
   (with (x (fn (n) "the old outside x ~n")
          y (fn (n) "the old outside y ~n"))
     (module foo
       (def x (n) (* 2 n))
       (def y (n) (+ 2 n))
       (export bar (a b) (* (x a) (y b))))
    (list (foo/bar 3 5) (x 43) (y 44)))
   (42 "the old outside x 43" "the old outside y 44")))

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
nydp-0.6.0 lib/lisp/tests/module-examples.nydp
nydp-0.5.1 lib/lisp/tests/module-examples.nydp
nydp-0.5.0 lib/lisp/tests/module-examples.nydp
nydp-0.4.6 lib/lisp/tests/module-examples.nydp
nydp-0.4.5 lib/lisp/tests/module-examples.nydp