[racket] lists vs strings
Hello,
It's too hot to go to the beach (anyway, no beach here).
I'm having a look on Racket. I don't know anything about Lisp.
I wonder the difference between:
> (list + 1 2)
'(#<procedure:+> 1 2)
> (list '+ 1 2)
'(+ 1 2)
What i've understood is that the first one interprets the "+" operator,
and returns a list of elements.
The second one forbids the interpretation of the '+' operator
But i read that quote character is an alias for «list». Are there cases
where it has different meaning ? (oh no, magic again :/ ).
If it's strictly an alias, this one shoud returns the same result:
> (list list + 1 2)
'(#<procedure:list> #<procedure:+> 1 2)
Thank you.