go-functional icon indicating copy to clipboard operation
go-functional copied to clipboard

go-functional is a library that offers functional programming in Go using generics

Results 8 go-functional issues
Sort by recently updated
recently updated
newest added

**Is your feature request related to a problem? Please describe.** Iterators often call underlying iterators (such as `Map` or `Filter`). Sometimes an iterator can become exhausted before its underlying iterator...

enhancement
good first issue

**Is your feature request related to a problem? Please describe.** Add function `Find` to iter package. **Describe the solution you'd like** `iter` package should have a `Find` function that takes...

enhancement

**Is your feature request related to a problem? Please describe.** No, just an idea. It should be convenient because this pattern can be seen in other languages. examples: [Python](https://docs.python.org/3/glossary.html#term-generator-iterator), [JavaScript](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Generator),...

enhancement
v2

**Please provide a brief description of the change.** Support `tee` behaviour for iterators. **Which issue does this change relate to?** #88 **Contribution checklist.** _Replace the space in each box with...

**Is your feature request related to a problem? Please describe.** It's possible users would like to use an iterator more than once. Be using `tee` as inspiration we can have...

enhancement
good first issue

**Is your feature request related to a problem? Please describe.** Printing as a string today (`0.17.0`) looks ugly: ```go counter := iter.Count() fmt.Println(counter) fmt.Printf("%s\n", counter) // &{{%!s(*iter.CountIter=&{{0xc0000a6000} 0})} %!s(int=0)} ```...

enhancement
help wanted
good first issue

**Please provide a brief description of the change.** A common form of iteratoring with an `iter.Seq` will be pairs of values where the right side is an error (for exampling...

**Is your feature request related to a problem? Please describe.** Other languages' iterator tooling provides a `tee` iterator and it seems reasonable to have one here too. **Describe the solution...

enhancement
v2