As such, it provides an example of why the stronger form of law #3 is necessary
As such, it provides an example of why the stronger form of law #3 is necessary
took quite a time to get to that type signature, and it's so simple, and it just works.
took quite a time to get to that type signature, and it's so simple, and it just works.
this is kind of horrible but it works
this is kind of horrible but it works
altho tbh I feel like i should learn the actual semantics of wiring diagrams. last i recall a diag like pic below just indicates that a ⊗ b ≤ F(a, b) in some monoidal category (which I am assuming we can relax to "monoid")
altho tbh I feel like i should learn the actual semantics of wiring diagrams. last i recall a diag like pic below just indicates that a ⊗ b ≤ F(a, b) in some monoidal category (which I am assuming we can relax to "monoid")
(though I didn't look super duper hard)
(though I didn't look super duper hard)
the button callback handles initiating the purchase, but a *completely separate* piece of code handles finishing it (updating the UI). this is terrible code locality
the button callback handles initiating the purchase, but a *completely separate* piece of code handles finishing it (updating the UI). this is terrible code locality
in order for the inner 'fork' to capture up to 'useFork', we need that 'k2' include the 'print'
but getting to the 'print' requires finishing the computation of 'told', which requires running the 'fork'!
in order for the inner 'fork' to capture up to 'useFork', we need that 'k2' include the 'print'
but getting to the 'print' requires finishing the computation of 'told', which requires running the 'fork'!