[racket] realm of racket
Saad, at first I thought the problem was you put a space after the
single-quote mark. I tried what you entered using the Beginning
Student with List Abbreviations language, and it worked, space or no
space:
> '((1 3 5 7 9) (2 4 6 8 0))
(list (list 1 3 5 7 9) (list 2 4 6 8 0))
> ' ((1 3 5 7 9) (2 4 6 8 0))
(list (list 1 3 5 7 9) (list 2 4 6 8 0))
Then I tried with the Beginning Student Language, and I got what you
got:
'((1 3 5 7 9) (2 4 6 8 0))
quote: expected the name of the symbol after the quote, but found a
part
Then I thought, "Better look at Realm of Racket." On page 21, the page
before page 22, it says that for the immediately following examples,
you should pick "The Racket Language" (not Beginning Student Language).
Geoff
On Sun, Nov 3, 2013, at 4:11, Saad Bashir wrote:
I have been working with Htdp/2 as an absolute beginner and finding it
difficult have switched to Realm of Racket.
In the first pages it asks one to download Racket which I already have
but in the BSL mode. When using it I type in the following in the
interactions panel as advised by Realm of Racket to see about lists
(page 22):
' ((1 3 5 7 9) (2 4 6 8 0))
the message I get is:
quote: expected the name of the symbol after the quote, but found a
part
It does not return the list as it is supposed to in the book.
Is this because I am using BSL? If so what should I do/
Thank you for any help.
Saad
____________________
Racket Users list:
[1]http://lists.racket-lang.org/users
--
Geoffrey S. Knauth | http://knauth.org/gsk
References
1. http://lists.racket-lang.org/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20131103/b3f82d91/attachment.html>