Releases: elliotchance/pie
Releases · elliotchance/pie
v1.11.0
Adding Abs (#83) Fixes #67
v1.10.1
ci: adding test stats (#82)
v1.10.0
added: Each (#79) Each is more condensed version of Transform that allows an action to happen on each elements and pass the original slice on.
v1.9.0
median: added (#65) Median returns the value separating the higher half from the lower half of a data sample. Zero is returned if there are no elements in the slice. Fixes #42
v1.8.0
generate: require ".*" to generate all functions (#66) As the number of available functions increase, the usefulness or generating all of them lessens. This is a breaking change but a necessary one. You will now need to specify `foo.*` to generate all functions for `foo`.
v1.7.1
formatting: fix (#64) There were some final changes to do with documentation that were not double baked.
v1.7.0
Implementation of Top and Bottom functions (#60) Top function that returns n elements from head of slice for [1,2,3] and n = 2 it returns [1,2] for n < 0 && n == 0 it returns empty slice if n more than lenght of slice returns all elements Bottom function that returns n elements from bottom in order from bottom it means for this [1,1,2] bottom(2) will return [2,1]
v1.6.1
shuffle: support in go 1.8+ (#63) rand.Shuffle is only available from go 1.10+.
v1.6.0
Shuffle function (#61) Returns a new shuffled slice.
v1.5.2
codecov: added (#62) Also updated the build to correctly check if the generated files are in sync.