expr_problem   xtlang


Defined in:  https://github.com/digego/extempore/tree/v0.8.9/examples/core/expr_problem.xtm

Implementation

;; First Test
(bind-func expr_problem
  (lambda ()
    (let ((e1 (Add (Lit 1)   (Lit 2)))
          (e2 (Add (Lit 4.0) (Add (Lit 2.0) (Lit 3.0)))))
      (println "e1 =" (eval e1))
      (println "e2 =" (eval e2))
      void)))


Back to Index

Similar Entries