A session at Scala eXchange 2013

Monday 2nd December, 2013

9:00am to 10:00am (GMT)

Haskell lets you write beautiful, modular code. Rather than waffle generally, I’ll use this talk to look at a particular example, Edward Kmett’s lovely lens library. Lenses have been called “jQuery for data types”: they give you a way to poke around in the guts of some large aggregate structure. Lenses compose (so you can make big lenses by gluing together little ones), and they exploit type classes to allow a remarkable degree of flexibility (get, set, fold, traverse, etc).

One of Haskell’s most egregious shortcomings is that you can’t use the same field name in different record types. I’ll explain how we are planning to fix that (joint work with Adam Gundry), and how the result will fit nicely into the lens world.

About the speaker

This person is speaking at this event.
Simon Peyton Jones

Sign in to add slides, notes or videos to this session

Scala eXchange 2013

England England, London

2nd3rd December 2013

Tell your friends!


Time 9:00am10:00am GMT

Date Mon 2nd December 2013

Short URL


View the schedule


See something wrong?

Report an issue with this session