✅ haskell: pangram
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
module Pangram (isPangram) where
|
||||
|
||||
import Data.Text (Text)
|
||||
import qualified Data.Text as T
|
||||
|
||||
isPangram :: Text -> Bool
|
||||
isPangram s = all (`member` T.toLower s) ['a'..'z']
|
||||
where member = T.any . (==)
|
||||
Reference in New Issue
Block a user