Clojure
user=> (nil (println "asd")
)
java.lang.NullPointerException (NO_SOURCE_FILE:1)
user=>


This seems like an odd error to get here.  Couldn't it say something 
like "invalid function as first value"?

It also made me wonder, would it be possible to have a line counter 
inside the REPL, and just use "repl" as the filename?  The repl could 
optionally show a line-number on every line.  For that matter, it could 
even be interesting to do development from within the repl, if you could 
save to source.  Is it possible to generate the source code from say a 
function or a namespace?

-Jeff

--~--~---------~--~----~------------~-------~--~----~
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
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to