Arc Forumnew | comments | leaders | submitlogin
4 points by nex3 6065 days ago | link | parent

Oops, stupid mistake. That should actually be

  (defcall int (i f)
    (reduce (fn (f fs) f:fs) (n-of i f)))


1 point by eds 6063 days ago | link

This works, but do note that 'compose can take multiple arguments as in http://arclanguage.org/item?id=6121.

-----