The lenses book for Haskell and other functional programming languages by @chrislpenner leanpub.com/optics-by-exampl…

Joined September 2019
18 Photos and videos
Pinned Tweet
🔍Optics By Example has LAUNCHED! 🥳🎉 Go grab your copy! leanpub.com/optics-by-exampl… Learn about the magic of Lenses, Traversals and Folds ✨ Thanks to everyone in the community who's helped make this a reality 😀 RTs appreciated ✅
27
53
Optics By Example retweeted
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
Optics By Example retweeted
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
Optics By Example retweeted
Barry is working through examples from my book @opticsbyexample live on stream! It's fun to play along and see the thought process, come check it out!
21 Apr 2020
Starting up the stream now! "Optics by Example" @opticsbyexample by Chris Penner @chrislpenner on twitch.tv/chiroptical in #Haskell
2
9
Optics By Example retweeted
SALE! Optics By Example is 25% off for the next two weeks! The book is more polished than ever, so if you find yourself stuck at home for long periods of time, now's a great time to dive in. Includes a link to buy a hardcover copy effectively at-cost 🙂 leanpub.com/optics-by-exampl…
5
20
Optics By Example retweeted
Mine has arrived @opticsbyexample . Beautiful 😎
Awesome. Ordered. Thank-you for your hard work and the generous discount!
1
2
Optics By Example retweeted
I believe that limited finances shouldn't ever be a barrier to anyone's education, so if for any reason you're unable to afford @opticsbyexample but still want to check it out, please DM me 😄 For those who can afford it, I really appreciate your support! leanpub.com/optics-by-exampl…
3
12
Optics By Example retweeted
Attention @opticsbyexample readers! Physical copies are available for those who own the digital copy! You can find the discount link in the book's release notes or the "Extras" of the book on your leanpub account. I'll have a purchase link available for the general public soon!
4
5
26
Optics By Example retweeted
Just ordered a physical proof copy of @opticsbyexample , so hopefully you'll be able to order a meatspace version to hold in your hands sometime within the next month or so! Reminder that anyone who owns the digital copy gets a discount on the physical copy, so no reason to wait!
1
2
16
Optics By Example retweeted
> Does “Record Update Syntax” spark joy? If not, thank it for its service and throw it away. - Marie Kondo via @opticsbyexample #Haskell
5
8
Optics By Example retweeted
Just launched 'lens-csv'; an optics library for manipulating and querying CSVs! It's a pretty natural operation and basically gives you a simple query and mutation language; effectively SQL for CSVs but as optics! github.com/ChrisPenner/lens-…
7
42
Optics By Example retweeted
First #Haskell meetup for the year on Lenses. Thanks a lot to @nilenso for the venue. We looked at a bit at lens construction using lets-lens repo from data61 and usage examples of lenses from @opticsbyexample book.
4
17
Optics By Example retweeted
21 Jan 2020
I have been reading @opticsbyexample and it has been a great joy! It taught me a lot. Now what.. papers? 🤔
2
3
Optics By Example retweeted
Replying to @opticsbyexample
i must say, i'm enjoying reading it... kudos!
1
1
1
Optics By Example is on Sale! For a limited time you can grab the comprehensive guide to lenses, prisms, traversals and more for only $30! That's 50% off the suggested price 😵 If you were waiting for a sale, this is it! 😄 leanpub.com/optics-by-exampl…

2
2
12
In case you missed it the first time around: 🔎Optics By Example is hot off the (digital) presses! Go grab it on leanpub, complete with exercises, in pdf, epub, or mobi 😄 Reviews are positive so far and I'd love to hear what you think leanpub.com/optics-by-exampl…

4
7
Optics By Example retweeted
To promote the release of @opticsbyexample, all day today I'll answer questions about the process of writing a technical book! Ask me about my process, the content, the tools I use, about @leanpub, etc! leanpub.com/optics-by-exampl…
2
6
14
Day 2 of #AdventOfOptics and going strong!
Day 2 of #AdventOfOptics was a doozy, but it's done! chrispenner.ca/posts/advent-… Lots of indexed optics in this one, and some fun optical MonadState stuff too! Hoping day 3 is a bit less imperative 😅 Check out @opticsbyexample for more lensy goodness! #AdventOfCode
2
To celebrate the launch of #OpticsByExample later this month I'm attempting to solve #AdventOfCode puzzles using only optics (for better or worse). Day 1 went wonderfully: chrispenner.ca/posts/advent-… Add your email here to hear when the book launches: leanpub.com/optics-by-exampl…
4
9