Not exactly, but there is the IO! macro (see core.clj) that you can use to
mark your side effect generating code.

On Wed, Mar 4, 2009 at 10:49 AM, Joshua Fox <joshuat...@gmail.com> wrote:

> Can Clojure generate warnings when a function has side effects,
> particularly in transactions and other places where one should avoid them?
> Perhaps just a warning on access to any objects other than those of
>  Clojure types and "pre-approved" immutable Java types (String, Number,
> etc.)?
> Joshua
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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 
clojure+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to