
21 Dec
2015
21 Dec
'15
12:47 p.m.
how to write an "unpack" function
is this what Lenses are all about? https://www.fpcomplete.com/school/to-infinity-and-beyond/pick-of-the-week/a-... tutorial I stumbled across Lenses only recently so can not write a working example yet. if Lenses are relevant to this topic, could someone kindly post an appropriate (Truck Parcel Can) datatype and an "unpack" with Lenses example?