Created
August 22, 2018 03:05
-
-
Save fragamus/0739f346cb80f04af381e86a5e39a768 to your computer and use it in GitHub Desktop.
need help with pedagogy
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
-- I want to make this code nice and crisp for teaching purposes | |
list_of_lists_of_tack_on_functions = (fmap (\x->(++[x]))) <$> | |
(["0","1","abc","def","ghi","jkl","mno","pqrs","tuv","wxyz"]!!) <$> | |
(\x->(read [x])::Int) <$> | |
"4742836" | |
foldl (\list_of_names list_of_tack_on_functions -> list_of_tack_on_functions <*> list_of_names) | |
[""] | |
list_of_lists_of_tack_on_functions | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment