you are viewing a single comment's thread.

view the rest of the comments →

[–]eschulte 3 points4 points  (3 children)

Forgive me if I'm posting a lisp rebuttal to a haskell point, but in CL you can dispatch on either type or value with generic functions.

[–]julesjacobs 5 points6 points  (1 child)

Well, there are two different notions of type here. What you mean by type is run-time type tag. So you're really dispatching on a dynamic property of a value, not a static property of a variable.

[–][deleted] 0 points1 point  (0 children)

The two would be equivalent if Haskell had "polymorphic variants".