Re: [ANN] dewdrop 0.1.0 -- lenses made simple(r?)

2016-01-02 Thread William la Forge
For me, Dewdrop is an exercise to help me understand lenses. Specter speaks my language in terms of speed of implementation without apologies to the functionally bent. Bill On Saturday, January 2, 2016 at 8:04:30 AM UTC-5, JeremyS wrote: > > Hey guys, > > I might be besides the point but, have

Re: [ANN] dewdrop 0.1.0 -- lenses made simple(r?)

2016-01-02 Thread JeremyS
Hey guys, I might be besides the point but, have you played with specter ? It seems to me that it's worth investigating when going the lens route. What's your take on it ? Cheers, Jeremy. -- You received this message because you are subscribed to the

Re: [ANN] dewdrop 0.1.0 -- lenses made simple(r?)

2016-01-02 Thread Andrey Antukh
Hi Bil. On Sat, Jan 2, 2016 at 2:26 AM, William la Forge wrote: > Hi again Andrey! > > Not to drag this out, but you seem to have missed my main point, which > also means that I failed to make it. :-) > > Understanding how comp works and seeing the function, lens, for defining a > cat's lens, it

Re: [ANN] dewdrop 0.1.0 -- lenses made simple(r?)

2016-01-01 Thread William la Forge
Hi again Andrey! Not to drag this out, but you seem to have missed my main point, which also means that I failed to make it. :-) Understanding how comp works and seeing the function, lens, for defining a cat's lens, it is not at all obvious how a cat's lens works. On the other hand, the dewdro

Re: [ANN] dewdrop 0.1.0 -- lenses made simple(r?)

2016-01-01 Thread Andrey Antukh
On Fri, Jan 1, 2016 at 9:53 PM, William la Forge wrote: > Andrey, > > This is where I have a problem. Ii could have implemented dewdrop lenses > as functions that could be composed. But the code would be harder to > understand and possibly be slower. I just do not see the point. > I agree with y

Re: [ANN] dewdrop 0.1.0 -- lenses made simple(r?)

2016-01-01 Thread William la Forge
Andrey, This is where I have a problem. Ii could have implemented dewdrop lenses as functions that could be composed. But the code would be harder to understand and possibly be slower. I just do not see the point. Implementing dewdrop lenses as records makes it dirt simple for anyone to create

Re: [ANN] dewdrop 0.1.0 -- lenses made simple(r?)

2016-01-01 Thread Laws
William, thank you for this. At a cultural level, I feel like the Clojure community is often torn between being popular, on the one hand, versus answering critics from the Haskell community, on the other hand. The strength of Clojure is exactly that it takes inscrutable academic ideas and makes

Re: [ANN] dewdrop 0.1.0 -- lenses made simple(r?)

2016-01-01 Thread Andrey Antukh
Hi! I have read the readme and I don't found a big evidence of something wrong so, nice work! Furthermore, do you know about https://github.com/funcool/cats ? It has a lens and traversable implementation for clj/cljs. You can read the related documentation here: http://funcool.github.io/cats/lates

[ANN] dewdrop 0.1.0 -- lenses made simple(r?)

2016-01-01 Thread William la Forge
I've been looking at lenses and while it looks pretty simple and very useful, I had a hard time getting it. So I came up with my own take on lenses. https://github.com/laforge49/dewdrop#readme So perhaps I still do not understand lenses and what I've done is wrong. Or perhaps having been throug