Skip to content
/ filter Public
forked from robpike/filter

Simple apply/filter/reduce package. Rewritten with type parameters.

License

Notifications You must be signed in to change notification settings

glxxyz/filter

This branch is 8 commits ahead of, 1 commit behind robpike/filter:master.

Repository files navigation

I wanted to see how hard it was to implement this sort of thing in Go, with as nice an API as I could manage. It wasn't hard.

Having written it a couple of years ago, I haven't had occasion to use it once. Instead, I just use "for" loops.

You shouldn't use it either.

Testing the Type Parameters Rewrite

  1. Download and build go2go as described here: https://blog.golang.org/generics-next-step
  2. Run go tool go2go test

About

Simple apply/filter/reduce package. Rewritten with type parameters.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%