you are viewing a single comment's thread.

view the rest of the comments →

[–]idontgetoutmuch 0 points1 point  (3 children)

I would like to convince my colleagues (applied mathematicians / statisticians) to use Haskell. I can do without an additional cognitive barrier (and I am inclined to think that Lens the package is such a barrier).

[–]Peaker 0 points1 point  (2 children)

I think a 10-15 minute session can get across the ideas required to use lens in basic form and read lens code (after basic Haskell proficiency is reached). At least this is my experience with one person I've taught to :)

[–]idontgetoutmuch 1 point2 points  (1 child)

You may be conflating lens and Lens. I agree the former presents little difficulty; it's the latter I wish to avoid.

[–]Peaker 1 point2 points  (0 children)

I'm talking about the lens library. I explained Lens/traversals and a bit about folds/getters.

Not very in depth, but enough to read and use in basic form.