Sha256: f630fc295cbd8afb20ee1580ff55e14ad62c011b64c95ec3f49a4ba4f721e658

Contents?: true

Size: 248 Bytes

Versions: 262

Compression:

Stored size: 248 Bytes

Contents

module Isogram

open System

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

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

Version data entries

262 entries across 262 versions & 1 rubygems

Version Path
trackler-2.2.1.44 tracks/fsharp/exercises/isogram/Example.fs
trackler-2.2.1.43 tracks/fsharp/exercises/isogram/Example.fs
trackler-2.2.1.42 tracks/fsharp/exercises/isogram/Example.fs
trackler-2.2.1.41 tracks/fsharp/exercises/isogram/Example.fs
trackler-2.2.1.40 tracks/fsharp/exercises/isogram/Example.fs
trackler-2.2.1.39 tracks/fsharp/exercises/isogram/Example.fs
trackler-2.2.1.38 tracks/fsharp/exercises/isogram/Example.fs
trackler-2.2.1.37 tracks/fsharp/exercises/isogram/Example.fs
trackler-2.2.1.36 tracks/fsharp/exercises/isogram/Example.fs
trackler-2.2.1.35 tracks/fsharp/exercises/isogram/Example.fs
trackler-2.2.1.34 tracks/fsharp/exercises/isogram/Example.fs
trackler-2.2.1.33 tracks/fsharp/exercises/isogram/Example.fs
trackler-2.2.1.32 tracks/fsharp/exercises/isogram/Example.fs
trackler-2.2.1.31 tracks/fsharp/exercises/isogram/Example.fs
trackler-2.2.1.30 tracks/fsharp/exercises/isogram/Example.fs
trackler-2.2.1.29 tracks/fsharp/exercises/isogram/Example.fs
trackler-2.2.1.28 tracks/fsharp/exercises/isogram/Example.fs
trackler-2.2.1.27 tracks/fsharp/exercises/isogram/Example.fs
trackler-2.2.1.26 tracks/fsharp/exercises/isogram/Example.fs
trackler-2.2.1.25 tracks/fsharp/exercises/isogram/Example.fs