Peter Marklund

Peter Marklund's Home

Fri Jul 24 2015 06:16:55 GMT+0000 (Coordinated Universal Time)

Using Clojure Multimethods for Polymorphism and Inheritance

It's fascinating how simple and powerful the multimethod feature in Clojure is. It provides a way to support polymorphism and inheritance that we are used to from object oriented languages: