Arc Forumnew | comments | leaders | submitlogin
3 points by cje 6145 days ago | link | parent

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 6145 days ago | link

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

-----

1 point by cje 6145 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 6145 days ago | link

That's an implementation detail. ;)

-----