and thanks for sharing :)
and thanks for sharing :)
ie, currying gives you internal homs
is that right?
ie, currying gives you internal homs
is that right?
Then I remembered that `Lens' s a` is iso to `∃b. Iso s (a, b)`, which obviously has no "bad" values
I love existential lenses
Then I remembered that `Lens' s a` is iso to `∃b. Iso s (a, b)`, which obviously has no "bad" values
I love existential lenses
which is true, i guess
which is true, i guess
clearly I am missing the role of linearity ... hence the question! ^^
clearly I am missing the role of linearity ... hence the question! ^^
(a, b, c) ↦ (n ↦ case n of { 0 → a; 1 → b; 2 → c; })
(f 0, f 1, f 2) ←| f
(a, b, c) ↦ (n ↦ case n of { 0 → a; 1 → b; 2 → c; })
(f 0, f 1, f 2) ←| f