leonoel / missionary

A functional effect and streaming system for Clojure/Script
Eclipse Public License 2.0
636 stars 26 forks source link

Unexpected error macroexpanding #8

Closed lgrapenthin closed 5 years ago

lgrapenthin commented 5 years ago

Was playing around with the mailbox sample. This form doesn't compile

(defn countor
  [fail]
  (let [self (m/mbx)]
    ((m/sp
      (loop [n 0]
        ((m/? self) n)
        (recur (inc n))))
     nil fail)
    self))

Unexpected error (NullPointerException) macroexpanding cloroutine.core/cr ... null (version b.5)