Arc Forumnew | comments | leaders | submit | fail's commentslogin
2 points by fail 6165 days ago | link | parent | on: Poll: What do you NOT want in Arc ?

GOTO

-----

0 points by fail 6165 days ago | link | parent | on: nifty :

: in a symbol name denotes composition.

WOW!!! FUNCTION COMPOSITION!!!!!

-----


: Only works in symbols, as ~.

-----

1 point by larme 6172 days ago | link

But f:g is just syntax sugar for (compose f g), and the following code works: ((compose double [+ _ 100]) 4)

Hence i guess after some modification the ":" can support anonymous functions.

-----

4 points by fail 6172 days ago | link

: only works inside symbol names. ~ only works inside symbol names.

-----

3 points by ryantmulligan 6170 days ago | link

Great documentation. For consistency though, I don't see why these things shouldn't work with anonymous functions.

-----

3 points by fail 6172 days ago | link | parent | on: EQ, EQL, EQUAL, ...?

"Hey, we simplified the equality predicate system in CL!"

How did they? (renaming EQUAL to ISO is not simpler..)

-----

2 points by fail 6172 days ago | link | parent | on: Character Ambiguity in Tutorial

It's not ambiguity.

-----

2 points by simonb 6172 days ago | link

No, it's not. But it can be confusing or at least not very didactic. Let's not forget the tutorial is framed as:

"It's intended for readers with little programming experience and no Lisp experience. It is thus also an introduction to Lisp."

-----

1 point by jmah 6158 days ago | link

Indeed, it's not ambiguity, but visually a bit confusing. ("Visual ambiguity"? Certainly not in meaning.) But simonb, targeting the document at that audience doesn't have to come at the expense of the Scheme-experienced; after all, a trivial change "foo" to "bar" (#\f to #\b) would remove the confusion. As an aside, I doubt "readers with little programming experience" would be reading the tutorial for a pre-alpha language.

-----

1 point by fail 6172 days ago | link | parent | on: What's fundamentally new about ARC?

Nothing.

-----

1 point by fail 6172 days ago | link | parent | on: Arc as first Lisp

Read SICP

-----