Questions tagged [lisp-2]

lisp-2 refers to Lisp-like languages with two different namespaces for variables and function names.

Lisp 2: some languages, like Common Lisp, have separate namespaces for variables and functions. Those are said to be a Lisp 2 language. A Lisp 1, like Scheme, does only have a single namespace.

Common Lisp actually has more than 2 namespaces.

For major difference between Lisp 1 and Lisp 2 see this question

17 questions
1
vote
2 answers

Is it foolish to make alexandria:curry not necessarily use funcall?

Currently a function curried with Alexandria's curry must be called with funcall. However it is possible to set the new function's symbol-function so that we can do without it and treat it like a real function. Illustrated on…
Ehvince
  • 17,274
  • 7
  • 58
  • 79
1
vote
1 answer

Common Lisp Lisp-1 macro

I am trying to emulate the single namespace of scheme within common lisp, with a macro (based on Doug Hoyte's) that expands to a lambda, where every use of an f! symbol (similar to Doug Hoyte's o! and g! symbols) in the function position expands to…
DJD
  • 47
  • 4
1
2