http://www.developer...od-Dispatch.htm
An excerpt from the upcoming book, Clojure in Action.
2 Replies - 1144 Views - Last Post: 02 May 2010 - 11:22 AM
#1
Clojure's Approach to Polymorphism: Method Dispatch
Posted 27 April 2010 - 12:37 AM
Replies To: Clojure's Approach to Polymorphism: Method Dispatch
#2
Re: Clojure's Approach to Polymorphism: Method Dispatch
Posted 27 April 2010 - 04:53 PM
A late note: For an example of multimethods in action, checkout sexpbot's respond.clj file http://github.com/Raynes/sexpbot
Every one of the bot's commands are multimethods with unique keywords to be dispatched on.
Every one of the bot's commands are multimethods with unique keywords to be dispatched on.
#3
Re: Clojure's Approach to Polymorphism: Method Dispatch
Posted 02 May 2010 - 11:22 AM
That's actually a good read. Thanks for sharing
Page 1 of 1
|
|

New Topic/Question
Reply



MultiQuote




|