Can I define a Clojure protocol with methods starting with ":"? -


i provide methods clojure protocol starting : character. there way override in clojure?

don't think so. clojure keywords implemented in reader , don't think there's way of overriding behavior.

when use keyword function, equivalent (get arg :keyword). can extend implementing ilookup in protocol.

joost.


Comments

Popular posts from this blog

php - What is the difference between $_SERVER['PATH_INFO'] and $_SERVER['ORIG_PATH_INFO']? -

fortran - Function return type mismatch -

queue - mq_receive: message too long -