Sha256: 011ef118d128fc87c3f04f950a9227e52adf9e9988149a66d5c87946ab89baac
Contents?: true
Size: 334 Bytes
Versions: 66
Compression:
Stored size: 334 Bytes
Contents
module Pangram exposing (isPangram) import String exposing (contains, fromChar, toLower) isPangram : String -> Bool isPangram sentence = let normalized = toLower sentence in String.all (\c -> contains (fromChar c) normalized) alphabet alphabet : String alphabet = "abcdefghijklmnopqrstuvwxyz"
Version data entries
66 entries across 66 versions & 1 rubygems