Created
July 28, 2017 12:39
-
-
Save deque-blog/0f914242b7a368da0353dd3c3af3ff64 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
statefulTransducer : s' -> (Step s acc b -> Step s (s', acc) a) -> Transducer acc s (s', s) a b | |
statefulTransducer initState stepTf = makeTransducer initState stepTf onComplete | |
where | |
onComplete next _ acc = pure acc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment