Sha256: 8c2f2662f0bd4782945bdabd917a555e0cb225fc871474a92a8380c0feda71fb
Contents?: true
Size: 331 Bytes
Versions: 322
Compression:
Stored size: 331 Bytes
Contents
module Pangram exposing (..) import String exposing (toLower, contains, fromChar) 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
322 entries across 322 versions & 1 rubygems