Skip to content

Instantly share code, notes, and snippets.

@deque-blog
Created August 2, 2017 15:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save deque-blog/7d6fcb3886168e094216c46176a3dc3d to your computer and use it in GitHub Desktop.
Save deque-blog/7d6fcb3886168e094216c46176a3dc3d to your computer and use it in GitHub Desktop.
makeTransducer :
s' -- Additional initial piece of state
-> ??? -- Step transformation
-> ??? -- Completion transformation
-> Transducer acc s (s', s) a b -- Output: a transducer adding state s'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment