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
| isIsogram :: String -> Bool | |
| isIsogram = all ((1==) . length) . group . sort . filter isLetter . map toLower |
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
| isIsogram :: String -> Bool | |
| isIsogram = map toLower . filter isLetter . sort . group . all (length . (==1)) |
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
| const person = { firstName: "Cedd", lastName: "Burge" }; | |
| return converge(compliment, [firstName, lastName])(person); |
OlderNewer