Ambrose Bonnaire-Sergeant <abonnaireserge...@gmail.com> writes:

Hi Ambrose,

>> > https://github.com/frenchy64/Logic-Starter/wiki/Arithmetic
>>
>> Oh, I didn't know that one times three is four! :-)
>
> Are you referring to this example?

Yes.

> logic-introduction.numbers=> (run 1 [q]
>                                   (times one three q))((((0))))
>
> It may appear to return 4, but `run` returns a list of the values of
> `q` for each run.
>
> Here we request 1 run via `(run 1 [q] ..)` so a list of length 1 is
> returned:
>
> ( (((0))) )
>
> ie. (3)

Of course, you are right.  I should have read it a bit more carefully,
not just glancing at it.

Bye,
Tassilo

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to