https://github.com/kirkshoop/transducer