Skip to content
Snippets Groups Projects
Commit 26edd7d1 authored by batterseapower's avatar batterseapower
Browse files

Comment only

parent 08b73205
No related branches found
No related tags found
No related merge requests found
......@@ -489,6 +489,7 @@ type PushedValue = Tagged (Coerced (ValueG State))
type PushedQA = Tagged (QAG (ValueG State))
type PushedFocus = PushFocus PushedQA State
-- NB: it is not necessary for the traversal order here to match that in "recurse", even when doing FCFS
traversePushedState :: Applicative t => (State -> t State)
-> (PushedHeap, PushedStack, PushedFocus) -> t (PushedHeap, PushedStack, PushedFocus)
traversePushedState f (heap, stack, focus) = liftA3 (,,) (traversePushedHeap f heap) (traversePushedStack f stack) (traversePushedFocus f focus)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment