Groups
Conversations
All groups and messages
Send feedback to Google
Help
Training
Sign in
Groups
EOPL3
Conversations
About
Groups keyboard shortcuts have been updated
Dismiss
See shortcuts
build-list
30 views
Skip to first unread message
mitchel...@gmail.com
unread,
Nov 17, 2013, 4:51:42 PM
11/17/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to eo...@googlegroups.com
How do you build a vector/list of length N, each element of which contains the same number?
build-list does not seem to work in eopl
http://docs.racket-lang.org/reference/pairs.html#%28def._%28%28lib._racket/private/list..rkt%29._build-list%29%29
Yukang Chen
unread,
Feb 22, 2014, 11:08:57 PM
2/22/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to eo...@googlegroups.com
Hi,
(make-vector number value)
for example (make-vector 2 10) will produce #(10 10).
in chapter 4 , I use
(define empty-store
(lambda()
(make-vector 0)))
as empty-store.
Reply all
Reply to author
Forward
0 new messages