plus   xtlang


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

Implementation

;; first function
(bind-func plus:[!a,!a,!a]*
  (lambda (a b)
    (let ((dict (NUM a))
          (f (tref dict 0)))
      (f a b))))


Back to Index

Similar Entries

  • num_f32_plus    xtlang
  • num_f32_plus    xtlang
  • num_f64_plus    xtlang
  • num_f64_plus    xtlang
  • num_i32_plus    xtlang
  • num_i32_plus    xtlang
  • num_i64_plus    xtlang
  • num_i64_plus    xtlang
  • plus    xtlang