@@ -155,35 +155,35 @@ testCases =
155155 let e' = leftmost [e, e]
156156 e'' <- switch <$> hold e' (fmap (const e) e)
157157 return (b, e'')
158− , (,) "switchPromptly-1" $ TestCase (Map.singleton 0 (0 :: Int), Map.fromList [(1, "qwer"), (2, "lkj")]) $ \(b, e) -> do
158+ , (,) "switchHoldPromptly-1" $ TestCase (Map.singleton 0 (0 :: Int), Map.fromList [(1, "qwer"), (2, "lkj")]) $ \(b, e) -> do
159159 let e' = fmap (const e) e
160− e'' <- switchPromptly never e'
160+ e'' <- switchHoldPromptly never e'
161161 return (b, e'')
162− , (,) "switchPromptly-2" $ TestCase (Map.singleton 0 (0 :: Int), Map.fromList [(1, "qwer"), (2, "lkj")]) $ \(b, e) -> do
162+ , (,) "switchHoldPromptly-2" $ TestCase (Map.singleton 0 (0 :: Int), Map.fromList [(1, "qwer"), (2, "lkj")]) $ \(b, e) -> do
163163 let e' = fmap (const e) e
164− e'' <- switchPromptly never $ leftmost [e', e']
164+ e'' <- switchHoldPromptly never $ leftmost [e', e']
165165 return (b, e'')
166− , (,) "switchPromptly-3" $ TestCase (Map.singleton 0 (0 :: Int), Map.fromList [(1, "qwer"), (2, "lkj")]) $ \(b, e) -> do
166+ , (,) "switchHoldPromptly-3" $ TestCase (Map.singleton 0 (0 :: Int), Map.fromList [(1, "qwer"), (2, "lkj")]) $ \(b, e) -> do
167167 let e' = leftmost [e, e]
168− e'' <- switchPromptly never (fmap (const e) e')
168+ e'' <- switchHoldPromptly never (fmap (const e) e')
169169 return (b, e'')
170− , (,) "switchPromptly-4" $ TestCase (Map.singleton 0 (0 :: Int), Map.fromList [(1, "qwer"), (2, "lkj"), (3, "asdf")]) $ \(b, e) -> do
170+ , (,) "switchHoldPromptly-4" $ TestCase (Map.singleton 0 (0 :: Int), Map.fromList [(1, "qwer"), (2, "lkj"), (3, "asdf")]) $ \(b, e) -> do
171171 let e' = leftmost [e, e]
172− e'' <- switchPromptly never (fmap (const e') e)
172+ e'' <- switchHoldPromptly never (fmap (const e') e)
173173 return (b, e'')
174174 , (,) "switch-5" $ TestCase (Map.singleton 0 (0 :: Int), Map.fromList [(1, "qwer"), (2, "lkj")]) $ \(b, e) -> do
175175 let e' = leftmost [e, e]
176176 e'' <- switch <$> hold never (fmap (const e') e)
177177 return (b, e'')
178− , (,) "switchPromptly-5" $ TestCase (Map.singleton 0 (0 :: Int), Map.fromList [(1, "qwer"), (2, "lkj")]) $ \(b, e) -> do
178+ , (,) "switchHoldPromptly-5" $ TestCase (Map.singleton 0 (0 :: Int), Map.fromList [(1, "qwer"), (2, "lkj")]) $ \(b, e) -> do
179179 let e' = flip push e $ \_ -> do
180180 Just <$> headE e
181− e'' <- switchPromptly never e'
181+ e'' <- switchHoldPromptly never e'
182182 return (b, e'')
183− , (,) "switchPromptly-6" $ TestCase (Map.singleton 0 (0 :: Int), Map.fromList [(1, "qwer"), (2, "lkj")]) $ \(b, e) -> do
183+ , (,) "switchHoldPromptly-6" $ TestCase (Map.singleton 0 (0 :: Int), Map.fromList [(1, "qwer"), (2, "lkj")]) $ \(b, e) -> do
184184 let e' = flip pushAlways e $ \_ -> do
185− switchPromptly e never
186− e'' <- switchPromptly never e'
185+ switchHoldPromptly e never
186+ e'' <- switchHoldPromptly never e'
187187 return (b, e'')
188188 , (,) "coincidence-1" $ TestCase (Map.singleton 0 (0 :: Int), Map.fromList [(1, "qwer"), (2, "lkj")]) $ \(b, e) -> do
189189 let e' = flip pushAlways e $ \_ -> return e