sdboyer / transducers-go

Transducers for Go
47 stars 1 forks source link

Transducers with Generics? #2

Open gozes opened 1 year ago

gozes commented 1 year ago

So I was just thinking of transducers in go this morning and came across your library. I realize that when you wrote this library Generics was nowhere on the map for go. It's now the future and we have full type safe generics in go so I wonder what your thoughts are about transducers with genres for go.

sdboyer commented 1 year ago

Hi! Thanks for the question.

It's interesting. i suspect it wouldn't be terribly hard to adapt/copy this library and build atop something like https://github.com/samber/lo to make many of the pipelines given here. If i had free time, i'd probably give it a shot 😄