Created
August 23, 2019 12:44
-
-
Save elbrujohalcon/3eeff99b1103a9c95ed87cb7ce5586df to your computer and use it in GitHub Desktop.
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
-module joe. | |
-export [test/0]. | |
test() -> | |
[[]] = joe:perms(""), | |
["a"] = joe:perms("a"), | |
["ab", "ba"] = joe:perms("ab"), | |
["ba", "ab"] = joe:perms("ba"), | |
["123","132","213","231","312","321"] = joe:perms("123"), | |
ok. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment