-
-
Save radar/17846664bbe3e86f666c to your computer and use it in GitHub Desktop.
First attempt at... elixir.
This file contains hidden or 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
board = List.flatten(Enum.map(?a..?j, fn x -> | |
Enum.map(?0..?9, fn y -> | |
{String.to_atom(<< x, y >>), nil} | |
end) | |
end)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment