<commit_before>module Pangram exposing (..)

import Set exposing (..)


isPangram: String -> Bool
isPangram sentence =
    Set.isEmpty
        <| Set.diff alphabet
        <| Set.fromList
        <| String.toList
        <| String.toUpper sentence


alphabet: Set Char
alphabet =
    Set.fromList
        <| String.toList "ABCDEFGHIJKLMNOPQRSTUVWXYZ"<commit_msg>Forward function application is more readable<commit_after>module Pangram exposing (..)

import Set exposing (..)


isPangram: String -> Bool
isPangram sentence =
    String.toUpper sentence
        |> String.toList
        |> Set.fromList
        |> Set.diff alphabet
        |> Set.isEmpty


alphabet: Set Char
alphabet =
    String.toList "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
        |> Set.fromList
{'fraction_non_alphanumeric': 0.09523809523809523, 'fraction_numerical': 0.0, 'mean_word_length': 2.7107843137254903, 'pattern_counts': {'":': 0, '<': 8, '<?xml version=': 0, '>': 10, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4476279', 'n_tokens_mistral': 261, 'n_tokens_neox': 240, 'n_words': 54}