I'm relatively new to Clojure, and I just want to make sure I
understand things correctly. There are two issues that I'm struggling
with. Neither is major, but if there is a good solution, I'd like to
find out.
1) You must define a method before you call it from another function.
Stylistically,
Hi Rich,
for your first issue declare does exactly what you want.
= (doc declare)
-
clojure.core/declare
([ names])
Macro
defs the supplied var names with no bindings, useful for making
forward declarations.
nil
Cheers,
Paul.
2009/3/10 Rich rwml...@gmail.com:
I'm
On Mar 9, 2009, at 11:11 PM, Rich wrote:
1) You must define a method before you call it from another function.
Stylistically, I prefer to define helper functions after the main
function, but that seems to cause errors. If I move them in front of
the main function, the errors go away. I don't
Rich wrote:
I'm relatively new to Clojure, and I just want to make sure I
understand things correctly. There are two issues that I'm struggling
with. Neither is major, but if there is a good solution, I'd like to
find out.
1) You must define a method before you call it from another