Re: Naming Conventions for Functions that Modify State

2009-02-14 Thread Michael Wood
On Fri, Feb 13, 2009 at 3:07 AM, Jeffrey Straszheim wrote: > Well, there is the IO! macro to wrap side effects. This works with the > transactions mechanism. Yes, see also (find-doc "!"). > So foo! does show up, but is not followed rigorously. There is also do- (doall, dorun, doseq, dotimes,

Re: Naming Conventions for Functions that Modify State

2009-02-12 Thread Jeffrey Straszheim
Well, there is the IO! macro to wrap side effects. This works with the transactions mechanism. So foo! does show up, but is not followed rigorously. On Thu, Feb 12, 2009 at 7:57 PM, Kevin Albrecht wrote: > > If no one knows of any existing conventions, does anyone have ideas > for conventions?

Re: Naming Conventions for Functions that Modify State

2009-02-12 Thread Kevin Albrecht
If no one knows of any existing conventions, does anyone have ideas for conventions? --~--~-~--~~~---~--~~ 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 un

Naming Conventions for Functions that Modify State

2009-02-11 Thread Kevin Albrecht
In Scheme, the common scheme used to name functions with side effects is to append an exclamation mark to the function name. Obviously, the types of ways in which Clojure abstracts state modifications are more complicated and complete than Scheme, so maybe a function naming scheme for Clojure fun