@jaredforsyth.comJared Forsyth @jaredforsyth.com
2026-10-30 20:58 UTC
To make linear-flow/lenses easier to understand, I've developed an intermediate representation that compiles out the lenses, leaving (relatively) straightforward linear code. I think the only two things that need explaining are: - swap(pat,val) returns the current value of pat
1 picture (not shown on this phone): the following code snippet fn join(f, g, ~(x, y)) ~(f(~x), g(~y)) ir-> (f0, g1, (x2, y3))=>block{ let (t4, c5) = f0(x2)…
1 likes, 0 reposts, 1 replies
3 Next post4 More from @jaredforsyth.comBackBluesky home