Filter
Exclude
Time range
-
Near
`filteredBy` is definitely a new favourite! `filtered` on its own is not to be forgotten. I still get 'wow' moments from my lens-regex-pcre library sometimes; chrispenner.ca/posts/lens-re… (also the lens interface is *faster* than the library it's wrapping...🙌)

3
biplate and partsOf usually get a "holy shit", indexed optics usually get a 'wow' moment once people understand what they're able to do. The 'non' combinator makes certain annoying tasks absolutely trivial, other things like "transposeOf" are just fun 😄
1
6
Replying to @mattoflambda
Before I teach anyone lenses (and in the first chapter of @opticsbyexample) I always show off a few examples with biplate and other cool combinators just to get people excited about what's possible :)
1
3
I learnt it from your book and used it in my project to create a lens based virtual record field as an interface for computing an account balance that supports multiple currencies
1
3
Here's an excerpt from my book @opticsbyexample that I decided needed to exist in the world as a blog post as well! Virtual Record Fields Using Lenses - chrispenner.ca/posts/virtual… Pssst... the book is on sale till the end of the year: leanpub.com/optics-by-exampl…

1
2
12
The comprehensive guide to Lenses, Prisms and traversals @opticsbyexample just hit 750 happy readers! 3/4 of the way to the big 1k! Anything stopping you from buying it? There's a great free sample and you can return it if you're not satisfied 😄 leanpub.com/optics-by-exampl…
3
9
... ?
1
1
Anyone want a free digital copy of @opticsbyexample to kickstart their understanding of lenses, traversals and prisms? 1. Retweet this 2. Follow me 😄 3. ...? 4. Profit! I'll pick 3 winners later this week! leanpub.com/optics-by-exampl… #Haskell
4
68
44
With books like @opticsbyexample coming up, lots of people want to rework old code to use lenses. Watching a headset designer writing a project proposal last night as she accidentally coined the term for this: refractoring.
6
16
I’ve been able to get by with lenses and prisms but @chiroptical showed some traversals in his stream and they look really powerful. I’m excited to get to that chapter in the @opticsbyexample book.
3
6
Hey there digital authors! It's been MONTHS and @Luludotcom still hasn't resolved their issues, I *literally* can't sell my book on their system; so I'll be taking it elsewhere. Any authors have recommendations for a new vendor to print physical copies of @opticsbyexample?
2
1
6
So far I’ve mostly used Lens’ coz I get intimidated by Lens s t a b but after reading about it from .@opticsbyexample it’s actually pretty easy😅
1
7
Optics actually influenced my design for my regex library to a point where I was able to be FASTER that the library I was wrapping; it really does lead to elegant and composable code 👍 chrispenner.ca/posts/lens-re…

2
I’ve been pretty slow in reading it, but there was a use-case the book pointed out that I thought was really useful. It was using lenses as computed properties!
1
2
Hey folks! Have you read @opticsbyexample? If so, how'd it go? Maybe you have plans to read it, if that's the case; what would you hope to get from it? #haskell #optics
5
9
I'm gonna learn about optics. Time to work through @OpticsByExample as I hear @chrislpenner has done a great job #OpticsByExample
1
3
It's not enough to "not be racist", we must be *anti*-racist. In support of #BlackLivesMatter, for the rest of June, show me proof of donation to a #BLM cause (incl. bail & legal funds) and I'll send you a voucher to @opticsbyexample. $30-$50 rec. donation (but give what you can)
1
5
10
For anyone interested in lensy operators, @chiroptical is live streaming working through the operator chapter in @opticsbyexample 😄
26 May 2020
Back to Optics by Example on twitch.tv/chiroptical. Learning about lens operators.
3
They say they're still working on fixing things, so I'll continue to use them if they can get it all worked out 😄, but it will definitely affect my recommendation of them in the future.
1
For those who were wanting to purchase a physical copy of @opticsbyexample, @luludotcom recently did a site "redesign" which effectively deleted my project, wiped out all my discount links, and has caused many users to be unable to log in, so it may take a while to re-setup 😓
2
2