[MPL] Reason for mpl::quote's name

Hi, I was just wondering about the origin of the `mpl::quote` metafunction class. Why was this name chosen? Thanks, Louis Dionne

On 11/21/2013 11:37 AM, Louis Dionne wrote:
Hi,
I was just wondering about the origin of the `mpl::quote` metafunction class. Why was this name chosen?
I don't know for certain, but I always assumed it was a nod in the direction of the list quote operator, which leaves its argument unevaluated and lets you pass it around and evaluate it later. Which is kinda what mpl::quote does, if you squint hard enough. But I could be mistaken. -- Eric Niebler Boost.org http://www.boost.org

On 11/21/13 19:01, Eric Niebler wrote:
On 11/21/2013 11:37 AM, Louis Dionne wrote:
Hi,
I was just wondering about the origin of the `mpl::quote` metafunction class. Why was this name chosen?
I don't know for certain, but I always assumed it was a nod in the direction of the list quote operator, which leaves its argument
Did you mean "lisp" quote operator? http://en.wikipedia.org/wiki/Lisp_%28programming_language%29#Self-evaluating...
unevaluated and lets you pass it around and evaluate it later. Which is kinda what mpl::quote does, if you squint hard enough. But I could be mistaken.

On 22/11/2013 13:03, Larry Evans wrote:
On 11/21/13 19:01, Eric Niebler wrote:
On 11/21/2013 11:37 AM, Louis Dionne wrote:
Hi,
I was just wondering about the origin of the `mpl::quote` metafunction class. Why was this name chosen?
I don't know for certain, but I always assumed it was a nod in the direction of the list quote operator, which leaves its argument
Did you mean "lisp" quote operator?
http://en.wikipedia.org/wiki/Lisp_%28programming_language%29#Self-evaluating...
MPL quote is indeed reminiscent of LISP quote As much as it goes, MPL is basically a TMP LISP with an ugly dress.

On 11/22/2013 4:03 AM, Larry Evans wrote:
On 11/21/13 19:01, Eric Niebler wrote:
On 11/21/2013 11:37 AM, Louis Dionne wrote:
Hi,
I was just wondering about the origin of the `mpl::quote` metafunction class. Why was this name chosen?
I don't know for certain, but I always assumed it was a nod in the direction of the list quote operator, which leaves its argument
Did you mean "lisp" quote operator?
That's what I told my fingers to type, yes. But I'm not the boss of them. -- Eric Niebler Boost.org http://www.boost.org
participants (4)
-
Eric Niebler
-
Joel Falcou
-
Larry Evans
-
Louis Dionne