Sha256: 168b342c11cd77fef93ebff0318bb7462f58511da6f7c9b3f84279c3c0c6c036

Contents?: true

Size: 301 Bytes

Versions: 101

Compression:

Stored size: 301 Bytes

Contents

-module(example).

-export([is_pangram/1, test_version/0]).

is_pangram(Sentence) ->
    Lewand = "zqxjkvbpygfwmucldrhsnioate",      % least common letter first, most common last

    lists:all(fun (A) -> lists:any(fun (L) -> A == string:to_lower(L) end, Sentence) end, Lewand).

test_version() -> 1.

Version data entries

101 entries across 101 versions & 1 rubygems

Version Path
trackler-2.2.1.180 tracks/erlang/exercises/pangram/src/example.erl
trackler-2.2.1.179 tracks/erlang/exercises/pangram/src/example.erl
trackler-2.2.1.178 tracks/erlang/exercises/pangram/src/example.erl
trackler-2.2.1.177 tracks/erlang/exercises/pangram/src/example.erl
trackler-2.2.1.176 tracks/erlang/exercises/pangram/src/example.erl
trackler-2.2.1.175 tracks/erlang/exercises/pangram/src/example.erl
trackler-2.2.1.174 tracks/erlang/exercises/pangram/src/example.erl
trackler-2.2.1.173 tracks/erlang/exercises/pangram/src/example.erl
trackler-2.2.1.172 tracks/erlang/exercises/pangram/src/example.erl
trackler-2.2.1.171 tracks/erlang/exercises/pangram/src/example.erl
trackler-2.2.1.170 tracks/erlang/exercises/pangram/src/example.erl
trackler-2.2.1.169 tracks/erlang/exercises/pangram/src/example.erl
trackler-2.2.1.167 tracks/erlang/exercises/pangram/src/example.erl
trackler-2.2.1.166 tracks/erlang/exercises/pangram/src/example.erl
trackler-2.2.1.165 tracks/erlang/exercises/pangram/src/example.erl
trackler-2.2.1.164 tracks/erlang/exercises/pangram/src/example.erl
trackler-2.2.1.163 tracks/erlang/exercises/pangram/src/example.erl
trackler-2.2.1.162 tracks/erlang/exercises/pangram/src/example.erl
trackler-2.2.1.161 tracks/erlang/exercises/pangram/src/example.erl
trackler-2.2.1.160 tracks/erlang/exercises/pangram/src/example.erl