4 ms·
It's Common Lisp and EMACS centric. Doesn't include native constructs from other languages, e.g. vector? is a fundamental type predicate in Scheme and Clojure
by WildUtah 17y ago
It's Common Lisp and EMACS centric. Doesn't include native constructs from other languages, e.g. vector? is a fundamental type predicate in Scheme and Clojure but it's left out because it has no analog in CL. The basis for comparison is always the set of functions available in CL.
And of course, there is the assumption that you're programming in EMACS right from the second row. EMACS is not actually obligatory for programming. Maybe I'm an old man with carpal tunnel and have to use vi to avoid aggravating it. Some readers could be tiny toddlers still suckling on Eclipse or something.
I like the Clojure comment "cons cannot make a cons cell." Of course, Clojure is revolutionary in being a Lisp without lists so there are no cons cells.
There are some mistakes. dotimes does exist in Clojure and works fairly similarly. Clojure's loop is recursive by nature like Scheme and CL's loop example shows none of its horrible ugly glory. Clojure has lazy stream evaluation just like Scheme's built in but is listed without it. Scheme is listed with an optional arguments idea that is not standard Scheme.
Don't get me wrong; it's mostly right but I'm still finding more errors
Overall, I like it.
It needs to be a wiki, though, so non-CL'ers can fix the errors for their dialects.
- jrockway 17y agovector? is a fundamental type predicate in Scheme and Clojure but it's left out because it has no analog in CL. Uh, (typep foo 'vector)?
- aidenn0 17y agoI think it's just incomplete. Coming from a CL perspective I see many problems. For example: * missing equalp * very non-idiomatic loop