nbb

paulocuneo 2024-11-17T17:52:06.803499Z

hi, maybe a noob question but is nbb specific, so asking here. is it possible to implement IFn with deftype in nbb? I'm trying something like this, but getting an error

(deftype MyFn []
  IFn
  (invoke [this] "ok"))
;; Could not resolve symbol: invoke

borkdude 2024-11-17T18:18:57.657629Z

currently this isn't possible unfortunately

paulocuneo 2024-11-17T18:52:33.479399Z

will workaround that, thank you!