2 Replies - 1506 Views - Last Post: 02 May 2010 - 11:22 AM

#1 Raynes  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 611
  • View blog
  • Posts: 2,815
  • Joined: 05-January 09

Clojure's Approach to Polymorphism: Method Dispatch

Posted 27 April 2010 - 12:37 AM

http://www.developer...od-Dispatch.htm

An excerpt from the upcoming book, Clojure in Action.
Is This A Good Question/Topic? 0
  • +

Replies To: Clojure's Approach to Polymorphism: Method Dispatch

#2 Raynes  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 611
  • View blog
  • Posts: 2,815
  • Joined: 05-January 09

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.
Was This Post Helpful? 0
  • +
  • -

#3 SpeedisaVirus  Icon User is offline

  • Baller
  • member icon

Reputation: 114
  • View blog
  • Posts: 855
  • Joined: 06-October 08

Re: Clojure's Approach to Polymorphism: Method Dispatch

Posted 02 May 2010 - 11:22 AM

That's actually a good read. Thanks for sharing
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1