@ -145,7 +145,7 @@ on a dataflow variable, and that variable changes, the entire handler
@@ -145,7 +145,7 @@ on a dataflow variable, and that variable changes, the entire handler
is removed, reevaluated, and reinstalled.
constantmap :: P -> [(H, E)]
constantmap p = cmap [0] p
constantmap p = cmap [] p
where
cmap :: H -> P -> [(H, E)]
cmap h e = [(h, e)]
@ -158,7 +158,7 @@ is removed, reevaluated, and reinstalled.
@@ -158,7 +158,7 @@ is removed, reevaluated, and reinstalled.
Finally, a capture map extracts all capturing positions in a pattern:
capturemap :: P -> [H]
capturemap p = vmap [0] p
capturemap p = vmap [] p
where
vmap :: H -> P -> [H]
vmap h e = []
@ -241,10 +241,8 @@ cases where handlers are dynamically installed.
@@ -241,10 +241,8 @@ cases where handlers are dynamically installed.
given path `h` from an overall value `v`.
project :: V -> H -> V
project v h = go dummy(v) h -- TODO: gross
where
go v [] = v
go x(v_0, ... v_i) (n:h) = v_n @ h
project v [] = v
project x(v_0, ..., v_i) (n:h) = project v_n h
**Definition.** The `projectMany` function projects a sequence of
subvalues.
@ -267,7 +265,7 @@ cases where handlers are dynamically installed.
@@ -267,7 +265,7 @@ cases where handlers are dynamically installed.