[plt-scheme] Any reason to use quote rather than quasiquote

From: ifconfig (ifconfignslookup at hotmail.com)
Date: Wed Mar 3 06:06:59 EST 2004

I know about unquoting; I meant to ask whether it matters when no
unquoting is used. I find quasiquote more comfortable since then
unquoting doesn't require me to change the quote to a quasiquote.

-----Original Message-----
From: plt-scheme-admin at list.cs.brown.edu
[mailto:plt-scheme-admin at list.cs.brown.edu] On Behalf Of Robby Findler
Sent: Wednesday, March 03, 2004 6:24 AM
To: ifconfig
Cc: plt-scheme at list.cs.brown.edu
Subject: Re: [plt-scheme] Any reason to use quote rather than quasiquote

  For list-related administrative tasks:
  http://list.cs.brown.edu/mailman/listinfo/plt-scheme

Another answer to this question is that you can use unquoting. You may
or may not have inferred this from later messages, but unquoting lets
you put values into the middle of a quoted expression. For example:

> (define (f x) `(1 2 ,x 4))
> (f 3)
(1 2 3 4)
> (f 'three)
(1 2 three 4)

Robby

At Tue, 2 Mar 2004 22:35:04 +0200, "ifconfig" wrote:
>   For list-related administrative tasks:
>   http://list.cs.brown.edu/mailman/listinfo/plt-scheme
> 
> Is there any reason to use 'quote rather than `quasiquote?
> Does it run more efficiently? Is it treated differently? Or is it
simply for
> reducing the chance of an error?
> 
> 
> Lots of questions today :)
> ifconfig
> BAGOS
> http://bagos.sourceforge.net
> 
> 



Posted on the users mailing list.