Provide the identity lens and verify composition identities

This commit is contained in:
sneeker committed 2019-02-24 07:41:34 +00:00
1 parent 0377c2f0f4
commit adc5d38b9b
3 files changed
+7

No files matched your search

+1
View File
@@ -8,3 +8,4 @@ val over : ('s, 't, 'a, 'b) lens -> f:('a -> 'b) -> 's -> 't
val compose : ('s, 't, 'a, 'b) lens -> ('a, 'b, 'c, 'd) lens -> ('s, 't, 'c, 'd) lens
val _1 : ('a * 'c, 'b * 'c, 'a, 'b) lens
val _2 : ('c * 'a, 'c * 'b, 'a, 'b) lens
val _id : ('a, 'b, 'a, 'b) lens