Re: defrecord in cljc

2016-11-12 Thread Thomas Heller
You may overwrite the default IPrintWriter by doing calling extend-type after the defrecord. But CLJS should probably allow the protocol in defrecord itself instead of forcing the default. Not sure if there is an open issue for it. On Friday, November 11, 2016 at 9:29:25 PM UTC+1, William la Fo

Re: defrecord in cljc

2016-11-11 Thread William la Forge
To answer my own question, it is because IPrintWithWriter is already defined for records. Only define this with deftype. On Friday, November 11, 2016 at 3:16:46 PM UTC-5, William la Forge wrote: > > WARNING: Protocol IPrintWithWriter implemented multiple times at line 9 > src\simpleArk\rolonReco