Sha256: e47da846cc6ee9e1ee413ac93c0c3365d02f877817fc7b72fd64df664f319f7d

Contents?: true

Size: 250 Bytes

Versions: 134

Compression:

Stored size: 250 Bytes

Contents

module Isogram

open System

let normalize str = str |> Seq.filter Char.IsLetter |> Seq.map Char.ToLower |> Seq.toList

let isIsogram str = 
    let normalized = normalize str
    Seq.length normalized = (normalized |> Seq.distinct |> Seq.length) 

Version data entries

134 entries across 134 versions & 1 rubygems

Version Path
trackler-2.2.1.98 tracks/fsharp/exercises/isogram/Example.fs
trackler-2.2.1.97 tracks/fsharp/exercises/isogram/Example.fs
trackler-2.2.1.96 tracks/fsharp/exercises/isogram/Example.fs
trackler-2.2.1.95 tracks/fsharp/exercises/isogram/Example.fs
trackler-2.2.1.94 tracks/fsharp/exercises/isogram/Example.fs
trackler-2.2.1.93 tracks/fsharp/exercises/isogram/Example.fs
trackler-2.2.1.92 tracks/fsharp/exercises/isogram/Example.fs
trackler-2.2.1.91 tracks/fsharp/exercises/isogram/Example.fs
trackler-2.2.1.90 tracks/fsharp/exercises/isogram/Example.fs
trackler-2.2.1.89 tracks/fsharp/exercises/isogram/Example.fs
trackler-2.2.1.88 tracks/fsharp/exercises/isogram/Example.fs
trackler-2.2.1.87 tracks/fsharp/exercises/isogram/Example.fs
trackler-2.2.1.86 tracks/fsharp/exercises/isogram/Example.fs
trackler-2.2.1.85 tracks/fsharp/exercises/isogram/Example.fs
trackler-2.2.1.84 tracks/fsharp/exercises/isogram/Example.fs
trackler-2.2.1.83 tracks/fsharp/exercises/isogram/Example.fs
trackler-2.2.1.82 tracks/fsharp/exercises/isogram/Example.fs
trackler-2.2.1.81 tracks/fsharp/exercises/isogram/Example.fs
trackler-2.2.1.80 tracks/fsharp/exercises/isogram/Example.fs
trackler-2.2.1.79 tracks/fsharp/exercises/isogram/Example.fs