Arc Forumnew | comments | leaders | submitlogin
2 points by absz 5616 days ago | link | parent

Given the paucity of documentation, you many not have seen it, but you can also use Arc's built-in range function:

  (def mapa-b (f m n (o d 1))
    (map f (range m n d)))


2 points by kens 5614 days ago | link

There's documentation at: http://arcfn.com/doc/list.html#range

-----

2 points by absz 5614 days ago | link

Yes, and you are an awesome person for doing that. However, I don't think anything "official" links to arcfn.com, so finding it is a bit difficult. And of course you haven't documented every single one of the bajillion little changes on Anarki, because you are a human being and need sleep.

Nevertheless, (isa "http://arcfn.com/doc/ 'awesome-thing).

-----

2 points by fallintothis 5616 days ago | link

Though in vanilla Arc

  arc> (sig 'range)
  (start end)

-----

2 points by pingi 5616 days ago | link

you're right, I haven't noticed it; thx.

-----