On Sun, Mar 6, 2011 at 12:13 PM, Meikel Brandmeyer <m...@kotka.de> wrote:
> Hi,
>
> Am 06.03.2011 um 17:53 schrieb Ken Wesson:
>
>> Ah, but what, pray tell, *is* "the native notation" of a domain? And
>> why are you so sure it's almost never sexps? Sexps are a natural fit
>> to at least one other domain I can think of: mathematics. And if only
>> mathematicians used sexps it would be easy to generate things like
>> automated proof-vetters and the like using lisp. :)
>
> (defn f
>  [x & {:keys [mu sigma] :or {mu 0 sigma 1}}]
>  (frac (integral (fn [y] (exp Math/e (- (frac (square (- y mu))
>                                               (* 2 (square sigma))))))
>                  (- Math/infinity)
>                  x)
>        (* sigma (sqrt (* 2 Math/pi)))))
>
> Hmm… No. I don't think so.

It's a matter of what you're used to. Fact is, a lot of mathematicians
use LaTeX code, even in newsgroup posts and the like where it won't be
typeset, and it reads a lot like the above.

-- 
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