On Tue, Jul 14, 2009 at 7:15 PM, Phil Hagelberg<[email protected]> wrote:
> I haven't used letfn; could you give an example of how it's formatted
> and how you think it should be formatted?
>
> -Phil
This is a total nonsense function, just to show formatting (will it
even show up in googlegroups with the proper formatting?):
(defn test-letfn [n]
(letfn
[(function1 [a b]
(+ (function2 a) sqr-n))
(function2 [a]
(* 2 3))]
(function1 8 10)))
The bracket under the letfn is indented a couple spaces more than I'd
probably prefer, but that's not really what bothers me. The bodies of
the functions are indented WAY too much.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your
first post.
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
-~----------~----~----~----~------~----~------~--~---