Re: [racket-users] generate sentences

2017-02-25 Thread Luis Sanjuán
On Thursday, February 23, 2017 at 11:50:30 AM UTC+1, Linh Chi Nguyen wrote: > Wow, it's really a good curriculum. > Just have to drop in to say something, im not doing this exercise for some > course, there is no teacher. > > > I was just massively sad and when i got up i need to do something

[racket-users] The Little Schemer, misprint?

2017-02-25 Thread Kieron Hardy
I'm going through The Little Schemer (Fourth Edition). On page 23 the first question posed asks: What is the meaning of the line ((null? lat) #f) where lat is (mashed potatoes and meat gravy) The printed explanation seems to be a misprint as it appears to be the answer to a different

Re: [racket-users] The Little Schemer, misprint?

2017-02-25 Thread Ben Greenman
The printed explanation is giving the meaning of the whole line (in the context of the call to member) --- not just the meaning of the application (null? lat) Hope this helps On Sat, Feb 25, 2017 at 11:17 AM, Kieron Hardy wrote: > I'm going through The Little Schemer

Re: [racket-users] The Little Schemer, misprint?

2017-02-25 Thread Kieron Hardy
Thanks, Ben. Of course you are right. I was somehow fixated and had lost the context. Sorry for the noise. > On Feb 25, 2017, at 9:34 AM, Ben Greenman wrote: > > The printed explanation is giving the meaning of the whole line (in the > context of the call to

Re: [racket-users] JFYI, c-level assertion failures during build

2017-02-25 Thread Matthew Flatt
Did a fresh checkout solve the problem? If not, can you show more context to clarify which packages are being built when the crash happens. (That is, the crash is possibly not task in "1", which is shown here.) Even better, making with `CPUS=1` would clearly identify the package where the

Re: [racket-users] generate sentences

2017-02-25 Thread Linh Chi Nguyen
oh it's very kind of you. thank you, let's see -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com. For more options,

Re: [racket-users] generate sentences

2017-02-25 Thread Linh Chi Nguyen
after i did the exercise as guided, i think there is no need to use hash-table. also, i don't use the provided text input, but i read-words from text files. so i have to add some trick to create the beginning " " and the end "." for the writing-style. in the function (add-to-ws ws word1

Re: [racket-users] generate sentences

2017-02-25 Thread Matthias Felleisen
With the usual PhD advisor, you may not even need an infinite number of monkeys :( > On Feb 25, 2017, at 4:33 PM, Linh Chi Nguyen > wrote: > > after i did the exercise as guided, i think there is no need to use > hash-table. > > also, i don't use the provided

Re: [racket-users] JFYI, c-level assertion failures during build

2017-02-25 Thread Robby Findler
Snapshot-based pkg builds are here: https://plt.eecs.northwestern.edu/pkg-build/ Robby On Sat, Feb 25, 2017 at 11:11 PM, 'John Clements' via Racket Users wrote: > >> On Feb 25, 2017, at 5:36 AM, Matthew Flatt wrote: >> >> Did a fresh checkout

Re: [racket-users] JFYI, c-level assertion failures during build

2017-02-25 Thread 'John Clements' via Racket Users
> On Feb 25, 2017, at 5:36 AM, Matthew Flatt wrote: > > Did a fresh checkout solve the problem? > > If not, can you show more context to clarify which packages are being > built when the crash happens. (That is, the crash is possibly not task > in "1", which is shown here.)

Re: [racket-users] generate sentences

2017-02-25 Thread Matthew Butterick
> On Feb 25, 2017, at 1:33 PM, Linh Chi Nguyen > wrote: > > anyway, when being asked to say-something, the machine generates quite good > sentences. i have this secret hope [0] that if i feed it enough game theory > literature, somehow it can generate something of

Re: [racket-users] Can raco distribute produce a single executable?

2017-02-25 Thread lu
Thanks. That's interesting. So below are the flags `configure --help` offers. I don't see anything specific to link racket statically. Any hint? `configure' configures this package to adapt to many kinds of systems. Usage: ./configure [OPTION]... [VAR=VALUE]... To assign environment variables