You're right and ouch! That's horrible. It's an error that should be known 
at eval time.

On Tuesday, July 15, 2014 1:20:04 PM UTC+1, Jony Hudson wrote:
>
> I think that's what you'd expect. This will also evaluate just fine:
>
> (defn foo
>   [x y]
>   (bar x y))
>
> but will fail at run-time too.
>
>
> Jony
>
> On Tuesday, 15 July 2014 13:07:43 UTC+1, edw...@kenworthy.info wrote:
>>
>> Creating a new project in Lein then opening it in Light Table and with 
>> minimal edits:
>>
>> (ns test.core)
>>
>> (defn bar [a b c])
>>
>> (defn foo
>>   "I don't do a whole lot."
>>   [a b]
>>   ((let [y (bar(a b))]
>>     (println a b "Hello, World!"))))
>>
>> foo evaluates without error despite calling bar with too few parameters.
>>
>>  

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