BA Haskell User Group meeting on October 18, 2012 (Thu)

62 views
Skip to first unread message

Ivan Tarasov

unread,
Oct 10, 2012, 12:51:42 PM10/10/12
to baha...@googlegroups.com
Hello, fellow Haskell enthusiasts,

This month we have quite a treat, with Edward Kmett making a talk about Lenses and Traversals. This is a very important topic, and our last month's guest Russell O'Connor strongly urged everybody to come and listen to this talk. There is suggested reading for the talk: "The Essence of the Iterator Patttern" paper by Jeremy Gibbons and Bruno C. d. S. Oliveira, please take a look at it if you have a chance.

Our venue this time is Google office in San Francisco SoMa:

345 Spear Str, San Francisco

Contact phone (mine): 650-762-6644.
Host: Satnam Singh, sat...@raintown.org, cell: 408 656 4590. Please contact Satnam if you have questions about the venue or need help with the venue.

Please arrive a little bit earlier, so that we could start at 7pm. Also if you arrive around 6:30pm, you can get some dinner at

We may try to set up the video feed through Google Hangout (hangout link, also available through our calendar), however please don't rely on it and try to visit the meeting in person if possible. If you are going to be joining the hangout, please mute your microphone before you join.

Some people will be going from the South Bay and East Bay to the meeting and back, so there's a possibility of carpooling. Also, it's very easy to get to the venue from the 4th & King Caltrain Station: check Google Maps for directions, it's also not a very long walk from Caltrain. Please send me a message if you need help figuring out transportation. If you are driving and can take some people with you, please send a message to the baha...@googlegroups.com mailing list.

Please retweet/post to reddit/forward this email to those who may be interested in attending. If you plan to attend and you're not yet subscribed, please subscribe to BAHaskell Google Group to follow all the discussions related to this meeting (if you have troubles with the captcha while joining, please send me a direct email).

Cheers,
Ivan

Myles C. Maxfield

unread,
Oct 10, 2012, 1:28:38 PM10/10/12
to baha...@googlegroups.com
+1 for hangout :-)

--
You received this message because you are subscribed to the Google Groups "Bay Area Haskell Users Group" group.
To post to this group, send email to baha...@googlegroups.com.
To unsubscribe from this group, send email to bahaskell+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Ian Zimmerman

unread,
Oct 10, 2012, 3:02:59 PM10/10/12
to baha...@googlegroups.com

Ivan> Hello, fellow Haskell enthusiasts, This month we have quite a
Ivan> treat, with Edward Kmett making a talk about Lenses and
Ivan> Traversals.

Ivan> Our venue this time is Google office in San Francisco SoMa:

Ivan> 345 Spear Str, San Francisco

I "Suggested" it on Meetup. Not sure what needs to be done to make it
final.

--
Ian Zimmerman
gpg public key: 1024D/C6FF61AD
fingerprint: 66DC D68F 5C1B 4D71 2EE5 BD03 8A00 786C C6FF 61AD
http://www.gravatar.com/avatar/c66875cda51109f76c6312f4d4743d1e.png
Rule 420: All persons more than eight miles high to leave the court.

Shachaf Ben-Kiki

unread,
Oct 10, 2012, 6:05:49 PM10/10/12
to baha...@googlegroups.com
On Wed, Oct 10, 2012 at 9:51 AM, Ivan Tarasov <ivan.t...@gmail.com> wrote:
>
Several people have asked me if the talk will be recorded. Is there
any possibility of that?

Shachaf

Edward A Kmett

unread,
Oct 10, 2012, 6:32:19 PM10/10/12
to baha...@googlegroups.com, baha...@googlegroups.com
I can bring my ipad, but a better recording device would be welcome.

Sent from my iPhone

Byron Hale

unread,
Oct 10, 2012, 10:00:22 PM10/10/12
to baha...@googlegroups.com

I'll be coming from Sonoma County.  Perhaps I can bring a regular video camera.

Byron

Ivan Tarasov

unread,
Oct 11, 2012, 2:40:13 AM10/11/12
to baha...@googlegroups.com, Edward Kmett
Here's what Edward has to say about his talk (I wanted to include that into the announcement, but it did not quite work out):

I plan to give an introduction to the lens library. My current plan is for the talk to be broken into two parts, so if there is some kind of refreshment or food break, there should be a pretty good point in the middle to insert it.

First, I want to give a fairly general introduction to the concept of a Lens, and some of the easier refinements of the idea used by the lens library, such a Traversal, Fold, Getter, Setter. It would be helpful for the audience to have passing familiarity with Applicative, Foldable and Traversable from base, and maybe a rough understanding of Rank2Types, but pretty much everything else that I need I'll be introducing, including the concept of a lens and the lens laws.

Second, I'll show how deep the rabbit hole goes, by showing off some of the more interesting bits of the library, such as the generalization of Neil Mitchell's uniplate to work with arbitrary Traversals (simultaneously gaining generality, ease of use, and speed) and some nice examples of how we can use the type-safe Traversal-based Zippers from lens as well. This part will admittedly be a lot of material presented in a fairly short time.

If I had to hazard a guess based on how long the talk took at Boston Haskell, it may run about an hour and a half, with the first segment being somewhere between a half hour and 45 minutes.

TL;DR I plan to give a crash course on lenses and traversals covering how they work in practice and how you can use them to clean up code along with some non-obvious applications.

Cheers,
Ivan

On Wed, Oct 10, 2012 at 9:51 AM, Ivan Tarasov <ivan.t...@gmail.com> wrote:

Jonathan Fischoff

unread,
Oct 11, 2012, 3:34:54 PM10/11/12
to baha...@googlegroups.com
Here is some additional background material.

Edward's old lens talks

Also there is "Applicative Programming with Effects" which introduced the Traversable class.

Best,
Jonathan

Arthur Chan

unread,
Oct 11, 2012, 5:21:46 PM10/11/12
to baha...@googlegroups.com, baha...@googlegroups.com
Thanks, Jonathan!

Arthur :: LittleBrick

Edward Kmett

unread,
Oct 11, 2012, 5:53:23 PM10/11/12
to baha...@googlegroups.com
Another useful reference is Jeremy Gibbons' "The Essence of the Iterator Pattern":

I will be making good use of the laws from that paper.

-Edward
Reply all
Reply to author
Forward
0 new messages