Sha256: 257538ae958174bdeef566596cf016e51172363fbe6d4d1359ac3d71fc795803
Contents?: true
Size: 288 Bytes
Versions: 99
Compression:
Stored size: 288 Bytes
Contents
open Core.Std let string_to_set s = Char.Set.of_list (String.to_list s) let alphabet_set = string_to_set "ABCDEFGHIJKLMNOPQRSTUVWXYZ" let is_pangram s = let normalize s = String.filter ~f:Char.is_alpha s |> String.uppercase in Set.equal alphabet_set (string_to_set @@ normalize s)
Version data entries
99 entries across 99 versions & 1 rubygems