On Mar 28, 5:05 pm, billh04 <h...@tulane.edu> wrote:
> I have been thinking of doing the following to catch misspellings:
>
>   (def -north- :north)
>   (def -south- :south)

Nothing wrong with that, but it still doesn't prevent you from using
the keywords elsewhere.  You probably want to add assertions and
validation functions into your code.

-Stuart Sierra
--~--~---------~--~----~------------~-------~--~----~
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