C# Class CSScheme.SchemeUtils

Show file Open project: jackpal/Dandy-Dungeon

Public Properties

Property Type Description
FALSE System.Boolean
ONE Double
TRUE System.Boolean
ZERO Double

Public Methods

Method Description
chr ( char ch ) : Char
chr ( Object x ) : char
cons ( Object a, Object b ) : Pair
equal ( Object x, Object y ) : bool
eqv ( Object x, Object y ) : bool
error ( String message ) : Object
first ( Object x ) : Object
inPort ( Object x, Scheme interp ) : InputPort
length ( Object x ) : int
list ( Object a ) : Pair
list ( Object a, Object b ) : Pair
listStar ( Object args ) : Object
listToString ( Object chars ) : char[]
listToVector ( Object objs ) : Object[]
num ( double x ) : Double
num ( Object x ) : double
outPort ( Object x, Scheme interp ) : TextWriter
rest ( Object x ) : Object
reverse ( Object x ) : Object
second ( Object x ) : Object
setFirst ( Object x, Object y ) : Object
setRest ( Object x, Object y ) : Object
str ( Object x ) : char[]
stringify ( Object x ) : String
stringify ( Object x, bool quoted ) : String
stringify ( Object x, bool quoted, StringBuilder buf ) : void
sym ( Object x ) : String
third ( Object x ) : Object
truth ( bool x ) : System.Boolean
truth ( Object x ) : bool
vec ( Object x ) : Object[]
vectorToList ( Object x ) : Pair
warn ( String message ) : Object
write ( Object x, TextWriter port, bool quoted ) : Object

Private Methods

Method Description
p ( Object x ) : Object
p ( String msg, Object x ) : Object

Method Details

chr() public static method

public static chr ( char ch ) : Char
ch char
return Char

chr() public static method

public static chr ( Object x ) : char
x Object
return char

cons() public static method

public static cons ( Object a, Object b ) : Pair
a Object
b Object
return Pair

equal() public static method

public static equal ( Object x, Object y ) : bool
x Object
y Object
return bool

eqv() public static method

public static eqv ( Object x, Object y ) : bool
x Object
y Object
return bool

error() public static method

public static error ( String message ) : Object
message String
return Object

first() public static method

public static first ( Object x ) : Object
x Object
return Object

inPort() public static method

public static inPort ( Object x, Scheme interp ) : InputPort
x Object
interp Scheme
return InputPort

length() public static method

public static length ( Object x ) : int
x Object
return int

list() public static method

public static list ( Object a ) : Pair
a Object
return Pair

list() public static method

public static list ( Object a, Object b ) : Pair
a Object
b Object
return Pair

listStar() public static method

public static listStar ( Object args ) : Object
args Object
return Object

listToString() public static method

public static listToString ( Object chars ) : char[]
chars Object
return char[]

listToVector() public static method

public static listToVector ( Object objs ) : Object[]
objs Object
return Object[]

num() public static method

public static num ( double x ) : Double
x double
return Double

num() public static method

public static num ( Object x ) : double
x Object
return double

outPort() public static method

public static outPort ( Object x, Scheme interp ) : TextWriter
x Object
interp Scheme
return System.IO.TextWriter

rest() public static method

public static rest ( Object x ) : Object
x Object
return Object

reverse() public static method

public static reverse ( Object x ) : Object
x Object
return Object

second() public static method

public static second ( Object x ) : Object
x Object
return Object

setFirst() public static method

public static setFirst ( Object x, Object y ) : Object
x Object
y Object
return Object

setRest() public static method

public static setRest ( Object x, Object y ) : Object
x Object
y Object
return Object

str() public static method

public static str ( Object x ) : char[]
x Object
return char[]

stringify() public static method

public static stringify ( Object x ) : String
x Object
return String

stringify() public static method

public static stringify ( Object x, bool quoted ) : String
x Object
quoted bool
return String

stringify() public static method

public static stringify ( Object x, bool quoted, StringBuilder buf ) : void
x Object
quoted bool
buf StringBuilder
return void

sym() public static method

public static sym ( Object x ) : String
x Object
return String

third() public static method

public static third ( Object x ) : Object
x Object
return Object

truth() public static method

public static truth ( bool x ) : System.Boolean
x bool
return System.Boolean

truth() public static method

public static truth ( Object x ) : bool
x Object
return bool

vec() public static method

public static vec ( Object x ) : Object[]
x Object
return Object[]

vectorToList() public static method

public static vectorToList ( Object x ) : Pair
x Object
return Pair

warn() public static method

public static warn ( String message ) : Object
message String
return Object

write() public static method

public static write ( Object x, TextWriter port, bool quoted ) : Object
x Object
port System.IO.TextWriter
quoted bool
return Object

Property Details

FALSE public static property

public static Boolean,System FALSE
return System.Boolean

ONE public static property

public static Double ONE
return Double

TRUE public static property

public static Boolean,System TRUE
return System.Boolean

ZERO public static property

public static Double ZERO
return Double