Skip to content

Latest commit

 

History

History
 
 

slices

genesis/slices

Package slices provides generic functions for slices.

The package is inspired by Enum and List Elixir modules.

Available functions:

  1. AllAsync
  2. AnyAsync
  3. EachAsync
  4. FilterAsync
  5. MapAsync
  6. ReduceAsync
  7. Choice
  8. ChunkEvery
  9. Contains
  10. Count
  11. Copy
  12. Cycle
  13. Dedup
  14. Delete
  15. DeleteAll
  16. DeleteAt
  17. DropEvery
  18. EndsWith
  19. Equal
  20. Grow
  21. Shrink
  22. Join
  23. Index
  24. InsertAt
  25. Intersperse
  26. Last
  27. Max
  28. Min
  29. Permutations
  30. Product
  31. Reverse
  32. Repeat
  33. Same
  34. Shuffle
  35. Sort
  36. Sorted
  37. Split
  38. StartsWith
  39. Sum
  40. TakeEvery
  41. TakeRandom
  42. ToChannel
  43. ToMap
  44. ToKeys
  45. Uniq
  46. Window
  47. Without
  48. Wrap
  49. Any
  50. All
  51. CountBy
  52. EqualBy
  53. ChunkBy
  54. DedupBy
  55. DropWhile
  56. Each
  57. EachErr
  58. Filter
  59. Find
  60. FindIndex
  61. GroupBy
  62. IndexBy
  63. Map
  64. Reduce
  65. ReduceWhile
  66. Reject
  67. Scan
  68. TakeWhile
  69. Concat
  70. Product2
  71. Zip