On Tue, Feb 21, 2012 at 12:20 AM, kovas boguta <kovas.bog...@gmail.com>wrote:
> I also have a small syntax idea. > > One principle that would be nice, and that Mathematica lacks, is > parity between anonymous predicate dispatch constructs, and those > attached to vars. > > So while one way is to look at predicate dispatch as an extension of > multimethods, another way is to look at it as an extension of maps. > > so instead of writing > > (hash-map lhs1 rhs1 lhs2 rhs2 ...) > > you would have > > (rules lhs1 rhs1 lhs2 rhs2 ...) > In the direction I'd like to explore the "rules" / "implications" would be a la carte. In fact in order for predicate dispatch to deliver more than what Chambers / Chen accomplished pretty much requires it. David -- 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 Note that posts from new members are moderated - please be patient with your first post. 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