Created
September 1, 2016 20:00
-
-
Save steezeburger/76dbe7246e07eb2989883be93add07e7 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
import System.Environment | |
import Data.List ((\\)) | |
containsAll :: String -> String | |
containsAll = (['a' .. 'z'] \\) | |
main = do | |
(toTest:args) <- getArgs | |
print $ containsAll toTest |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
run
ghc --make containsAll.hs
to compileand
./containsAll abcdefgh
to run