C# Class LSharp.Sequence

A base class for sequences
Inheritance: ISequence
Mostrar archivo Open project: RobBlackwell/LSharp Class Usage Examples

Public Methods

Method Description
Cdddr ( ) : ISequence
Cddr ( ) : ISequence
Cons ( object o ) : ISequence
First ( ) : object
Fourth ( ) : object
GetEnumerator ( ) : IEnumerator
IsEmpty ( ) : bool
IsMember ( object o ) : bool
Join ( ISequence s ) : ISequence
Join ( ISequence a, ISequence b ) : ISequence
Last ( ) : object
Length ( ) : int
Map ( Function f, Environment environment ) : ISequence
Nth ( int n ) : object
Reduce ( Function f, Environment environment ) : object
Rest ( ) : ISequence
Reverse ( ) : ISequence
Reverse ( ISequence s ) : ISequence
Second ( ) : object
Third ( ) : object
ToArray ( ) : object[]
ToList ( ) : Pair
ToString ( ) : string

Method Details

Cdddr() public method

public Cdddr ( ) : ISequence
return ISequence

Cddr() public method

public Cddr ( ) : ISequence
return ISequence

Cons() public abstract method

public abstract Cons ( object o ) : ISequence
o object
return ISequence

First() public abstract method

public abstract First ( ) : object
return object

Fourth() public method

public Fourth ( ) : object
return object

GetEnumerator() public method

public GetEnumerator ( ) : IEnumerator
return IEnumerator

IsEmpty() public method

public IsEmpty ( ) : bool
return bool

IsMember() public method

public IsMember ( object o ) : bool
o object
return bool

Join() public method

public Join ( ISequence s ) : ISequence
s ISequence
return ISequence

Join() public static method

public static Join ( ISequence a, ISequence b ) : ISequence
a ISequence
b ISequence
return ISequence

Last() public method

public Last ( ) : object
return object

Length() public method

public Length ( ) : int
return int

Map() public method

public Map ( Function f, Environment environment ) : ISequence
f Function
environment Environment
return ISequence

Nth() public method

public Nth ( int n ) : object
n int
return object

Reduce() public method

public Reduce ( Function f, Environment environment ) : object
f Function
environment Environment
return object

Rest() public abstract method

public abstract Rest ( ) : ISequence
return ISequence

Reverse() public method

public Reverse ( ) : ISequence
return ISequence

Reverse() public static method

public static Reverse ( ISequence s ) : ISequence
s ISequence
return ISequence

Second() public method

public Second ( ) : object
return object

Third() public method

public Third ( ) : object
return object

ToArray() public method

public ToArray ( ) : object[]
return object[]

ToList() public method

public ToList ( ) : Pair
return Pair

ToString() public method

public ToString ( ) : string
return string