Fluid Dynamics <a2093...@trbvm.com> writes:

>     (defn lucky-numbers 
>     ([upto] 
>     (lucky-numbers false upto)) 
>     ([no-max-check upto] 
>     {:pre [(if no-max-check true (<= upto (* 10 1000 1000)))]} 
>     ;; code as before 
>     )) 
>
>
> Why not (or no-max-check (<= upto (* 10 1000 1000)))? 

Because I started with an inverse max-check argument where you needed
the

  (if max-check (<= upto (* 10 1000 1000)) true)

before I saw that a negated version of the arg complies better with
Cecil's expectation.

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
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to