@@ -13,6 +13,40 @@ product-sample adapter.
13The gates in `q` connected together using the gate `p`, which
13The gates in `q` connected together using the gate `p`, which
14transforms a `q` product and a `q` gate into a `q` sample.
14transforms a `q` product and a `q` gate into a `q` sample.
18+*Note: these are structurally correct, but elide some type-system complexity.*
20+`;~(a b)` reduces to `b`.
22+`;~(a b c)` expands to
29+`;~(a b c d)` expands to
35+|. (a (c arg) d(+6 arg))
47+|. (p (b c) a(,.+6 c))
16## Discussion
50## Discussion
18Apparently `:dip` is a "Kleisli arrow." Whatevs. It's also
52Apparently `:dip` is a "Kleisli arrow." Whatevs. It's also