Arc Forumnew | comments | leaders | submit | cje's commentslogin
3 points by cje 6318 days ago | link | parent | on: [... _ ...] is fishy

Another possibility is to have the bracket's reader-macro stick in a gensym, so

[_ 1 2]

becomes

(fn (_g12) (_g12 1 2))

Of course, until we have real gensyms, this just makes screwing it up a bit harder.

-----

5 points by randallsquared 6318 days ago | link

Arc has gensyms, using uniq. Or am I missing your meaning?

-----

1 point by cje 6318 days ago | link

Gensyms yes, but they're actually interned symbols of the form "gs231". See arc0/ac.scm:641. "currently rather a joke"

-----

2 points by randallsquared 6318 days ago | link

That's an implementation detail. ;)

-----

4 points by cje 6318 days ago | link | parent | on: Module system

It's easy to believe that there will (sooner or later) be a standalone implementation of arc. In that case, we don't want to tie the design of arc's module system (if any) to scheme's.

Also, do we want to integrate Arc as a language in DrScheme?

-----

2 points by soegaard 6318 days ago | link

The release implements the Arc language in MzScheme. Using the MzScheme module system in the implementation of Arc doesn't imply anything about a future module system for the Arc language.

Worrying about future implementations at this point is my view a bit premature.

-----

3 points by cje 6318 days ago | link | parent | on: Improve your arc REPL

It breaks a bit on single-quotes, though -- rlwrap assumes they're matched, which usually isn't the case in lispy languages.

-----

4 points by bgutierrez 6317 days ago | link

The latest version of rlwrap (0.30) lets you specify which characters are quote characters with the -q option.

-----