Re: ANN: Potemkin 0.3.0

2014-09-16 Thread Dave Sann
to answer my own question. It does not play well. I created a couple of simple macros that mimics the import-vars behaviour for fns and vars in clojurescript. On Sunday, 14 September 2014 17:53:47 UTC+10, Dave Sann wrote: > > Does Potemkin work well with clojurescript? > > I have seen some disc

Re: ANN: Potemkin 0.3.0

2014-09-14 Thread Dave Sann
Does Potemkin work well with clojurescript? I have seen some discussion of issues in some places. Is there anywhere that notes challenges? I am particularly interested with the import-vars scenario (defining namespaces separately and then merging definitions into one namespace for usage). Dav

Re: ANN: Potemkin 0.3.0

2013-06-19 Thread Jason Wolfe
We're starting to use potemkin at Prismatic, and the part we've found most useful which Zach didn't mention in his post are the smart types. Especially definterface+, which is like a love child of defprotocol and definterface: - Same syntax as defprotocol, and defines functions in your namespa

Re: ANN: Potemkin 0.3.0

2013-06-19 Thread Matthew Chadwick
> > If anyone has moral or aesthetic objections to 'import-vars', you're not > alone, but please remember you're under no obligation to use it. I used lein-clique to make a graph of Lamina's dependencies(huge PNG

Re: ANN: Potemkin 0.3.0

2013-06-19 Thread Zack Maril
We've been using Potemkin inside Titanium, Ogre, and Archimedes. It works well for importing functions, but I'm about to do a rewrite of Titanium and Ogre because of complications arising from being clever with importing dynamic vars. I would caution against trying to import dynamic vars (or fu