Farkle


PredefinedSet Type

A commonly used set of characters.

Record fields

Record Field Description

CharactersThunk

Full Usage: CharactersThunk

Field type: Lazy<Set<char>>
Field type: Lazy<Set<char>>

_CharacterRanges

Full Usage: _CharacterRanges

Field type: (char * char) list
Field type: (char * char) list

_Name

Full Usage: _Name

Field type: string
Field type: string

Instance members

Instance member Description

this.CharacterRanges

Full Usage: this.CharacterRanges

Returns: (char * char) seq

A sequence of tuples that show the inclusive ranges of characters that belong to this set.

Returns: (char * char) seq

this.Characters

Full Usage: this.Characters

Returns: Set<char>

The set's characters.

Returns: Set<char>

this.Count

Full Usage: this.Count

Returns: int

The set's character count.

Returns: int

this.Name

Full Usage: this.Name

Returns: string

The set's name. Used for informative purposes.

Returns: string

Static members

Static member Description

PredefinedSet.Create(name) (ranges)

Full Usage: PredefinedSet.Create(name) (ranges)

Parameters:
    name : string
    ranges : (char * char) list

Returns: PredefinedSet

Creates a `PredefinedSet` with the specified name and character ranges.

name : string
ranges : (char * char) list
Returns: PredefinedSet