my-inc-maker   xtlang


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

Implementation

;;
;; With this information in mind we can
;; fix the incrementor by explicitly typing 'i'
(bind-func my-inc-maker
  (lambda (i:i64)
    (lambda (inc)
      (set! i (+ i inc))
      i)))


Back to Index

Similar Entries

  • my-inc-maker-wrapper    xtlang