We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1297035 commit 9ad78e7Copy full SHA for 9ad78e7
1 file changed
src/Control/Monad/Logic/Sequence/Internal.hs
@@ -359,6 +359,9 @@ data BindSState a b m
359
360
bind_s :: Monad m => StreamM m a -> (a -> StreamM m b) -> StreamM m b
361
bind_s (StreamM next_a a0) f = StreamM next (Boundary a0) where
362
+ next _ = return undefined
363
+-- TODO: fixme: this is an infinite loop right now
364
+{-
365
{-# INLINE next #-}
366
next (Boundary s_a) = do
367
x <- next_a s_a
@@ -373,6 +376,7 @@ bind_s (StreamM next_a a0) f = StreamM next (Boundary a0) where
373
376
Yield b bs -> Yield b (InProgress s_a next_fa bs)
374
377
Skip bs -> Skip (InProgress s_a next_fa bs)
375
378
Done -> Skip (Boundary s_a)
379
+-}
380
{-# INLINE[1] bind_s #-}
381
382
instance Monad m => Fail.MonadFail (SeqT m) where
0 commit comments