Ah OK. I don't know what you mean by "reasonable", it depends on the teaching objective, but the 2 examples which are already there seem good to me.
One thing I've noticed: in the first example you're writing something like (loop [_ nil] ... (recur nil)) You could just write (loop [] ... (recur)) . Le vendredi 14 août 2015 15:22:49 UTC+2, J David Eisenberg a écrit : > On Friday, August 14, 2015 at 2:57:46 AM UTC-7, Val Waeselynck wrote: > > Le vendredi 14 août 2015 05:53:11 UTC+2, J David Eisenberg a écrit : > > > I have written the introduction to Chapter 8 (Asynchronous processes), > > > but I am not sure if the example programs are reasonable. The examples > > > will lead into an étude to implement the card game "war" with the > > > computer playing against itself via asynchronous processes. > > > > > > I would appreciate it if you-all could take a look at it and make > > > suggestions or comments. (I'm not confident I'm anywhere near on the > > > right track, so I'm OK with feedback like "OMG WTF LOL") > > > > > > Link is http://catcode.com/etudes-for-clojurescript/ > > > > In the code examples I see the >! <! symbols as HTML entities eg.@gt! <! > > I'm using O'Reilly's atlas system to do the build, and there appears to be a > problem with the build system; it's OK in the ePub and PDF versions. I've > filed a bug report; thanks. Ah OK. Well I'll try the -- Note that posts from new members are moderated - please be patient with your first post. --- You received this message because you are subscribed to the Google Groups "ClojureScript" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/clojurescript.
