Arc Forumnew | comments | leaders | submitlogin
3 points by akkartik 3015 days ago | link | parent

My guess is that it's because even though Arc uses Racket, it's still using its legacy MzScheme language. This works, though:

  arc> ($:car '(1 2))
  1
Though I'm not sure where we can find MzScheme-specific documentation anymore..


4 points by Oscar-Belletti 3015 days ago | link

I think you are right: the file ac.scm starts with:

    (module ac mzscheme
MzScheme doesn't have first.

On the wayback machine I found the docs of 2008 for MzScheme version 372: http://web.archive.org/web/20080511203435/http://www.plt-sch...

There are still MzScheme docs here: http://www.plt-scheme.org/software/mzscheme/docs.html but the links on that page don't work for me, so I found the page on the wayback machine(2009) too: http://web.archive.org/web/20090603011739/http://www.plt-sch...

-----

4 points by rocketnia 3014 days ago | link

There should be up-to-date reference information about the mzscheme library here: https://docs.racket-lang.org/mzscheme/index.html?q=mzscheme

As described there, mzscheme exports most of the bindings of racket/base. As described at https://docs.racket-lang.org/reference/pairs.html?q=first#%2..., first is exported by racket/list and racket, but not by racket/base.

(My point isn't to say "you should have known" but to point out what the current documentation is like in case it's helpful for other reasons. XD )

-----

2 points by Oscar-Belletti 3014 days ago | link

You are right. Sorry for the outdated links.

-----

1 point by rocketnia 3014 days ago | link

Er, I upvoted your "sorry" just now because I did find it interesting that those archive links exist. :) I guess the Racket project doesn't have such tireless devotion to documentation that they maintain active versions of the docs for old software releases, but it's nice that a snapshot is up somewhere.

-----

2 points by akkartik 3014 days ago | link

Nice work!

-----

1 point by Oscar-Belletti 3014 days ago | link

Thanks!

-----