[ClojureScript] Re: how to use new data_readers.cljc feature with deftype

2017-02-16 Thread Thomas Heller
On Thursday, February 16, 2017 at 6:40:41 PM UTC+1, Dustin Getz wrote: > My expectation is the compiler, when it sees `(def foo #DbId [1 2])` will > emit javascript equal to `(def foo (hypercrud.types/read-DbId [1 2])` Your assumption is incorrect. I cannot answer your question since I have not

[ClojureScript] Re: how to use new data_readers.cljc feature with deftype

2017-02-16 Thread Dustin Getz
My expectation is the compiler, when it sees `(def foo #DbId [1 2])` will emit javascript equal to `(def foo (hypercrud.types/read-DbId [1 2])` -- Note that posts from new members are moderated - please be patient with your first post. --- You received this message because you are subscribed t

[ClojureScript] how to use new data_readers.cljc feature with deftype

2017-02-16 Thread Dustin Getz
I receive this error: Attempting to call unbound fn: #'hypercrud.types/read-DbId My hypercrud.types namespace is a cljs file, since the compiler jvm process will need to emit javascript that calls my deftype constructor. Am I misunderstanding something? -- Note that posts from new members are

Re: [ClojureScript] Gradually porting from jsx to cljs

2017-02-16 Thread Ilya Boyandin
That would be a deal breaker for us! On Monday, January 23, 2017 at 10:00:17 PM UTC+1, David Nolen wrote: > We're actually looking to address this problem directly. There'll be more > details in the very near future. > > > David > > > On Mon, Jan 23, 2017 at 2:22 PM, Michael Blume wrote: > A