Current section
Files
Jump to
Current section
Files
README.md
# Chunky
Chunking and Enumeration manipulations in Elixir.
```elixir
iex> Chunky.permutations("ππ€·π½ββοΈβοΈ")
["ππ€·π½ββοΈβοΈ", "πβοΈπ€·π½ββοΈ", "π€·π½ββοΈπβοΈ", "π€·π½ββοΈβοΈπ", "βοΈππ€·π½ββοΈ", "βοΈπ€·π½ββοΈπ"]
iex> Chunky.permutations(1..4)
[
[1, 2, 3, 4],
[1, 2, 4, 3],
[1, 3, 2, 4],
[1, 3, 4, 2],
[1, 4, 2, 3],
[1, 4, 3, 2],
...
]
```
## Installation
Install by adding `chunky` to your list of dependencies in `mix.exs`:
```elixir
def deps do
[
{:chunky, "~> 0.1.0"}
]
end
```
Chunky documentation can be found on Hexdocs at [https://hexdocs.pm/chunky](https://hexdocs.pm/chunky).