Last active
August 29, 2015 14:23
-
-
Save AntonFagerberg/24b32736a66065cc6f05 to your computer and use it in GitHub Desktop.
Sliding window
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"abcdef" |> String.split("", trim: true) |> Enum.chunk(3, 1) |> Enum.map(&Enum.join/1) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment