Arc Forumnew | comments | leaders | submitlogin
2 points by CatDancer 5637 days ago | link | parent

  (def isa (x y)
    (or (is (type x) y)
        (and (is y 'num) (is (type x) 'int))))

  arc> (isa 34 'num)
  t
On the one hand, this seems like the "right" answer, on the other hand, so far I've haven't needed this.