Nemerle Library
Namespace Nemerle.Utility
sealed abstract class public Getopt

Command line options handling.

Methods:
_N_argument_name8336(System.String)
_N_concat8150(Nemerle.Utility.Getopt+_N_closure8144,System.String,Nemerle.Core.list`1[[System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]])
_N_is_option8350(Nemerle.Utility.Getopt+_N_closure8282,System.String)
_N_need_following_arg8364(Nemerle.Utility.Getopt+_N_closure8282,System.String)
_N_option_name8321(System.String)
_N_parse_opt8379(Nemerle.Utility.Getopt+_N_closure8282,System.String,Nemerle.Core.option`1[[System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]])
_N_parse_opts8385(Nemerle.Utility.Getopt+_N_closure8282,Nemerle.Core.list`1[[System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]])
_N_stdpref8179(Nemerle.Utility.Getopt+_N_closure8170,Nemerle.Utility.Getopt+_N_closure8144)
_N_stdsuff8187(Nemerle.Utility.Getopt+_N_closure8170)
Error(System.String)
Parse(Nemerle.Builtins.FunctionVoid`1[[System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]],Nemerle.Core.list`1[[Nemerle.Utility.Getopt+CliOption, Nemerle.stage1, Version=0.9.3.24, Culture=neutral, PublicKeyToken=null]],Nemerle.Core.list`1[[System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]])

Parses the command line options.

Parse(Nemerle.Core.list`1[[Nemerle.Utility.Getopt+CliOption, Nemerle.stage1, Version=0.9.3.24, Culture=neutral, PublicKeyToken=null]])
Usage(Nemerle.Core.list`1[[Nemerle.Utility.Getopt+CliOption, Nemerle.stage1, Version=0.9.3.24, Culture=neutral, PublicKeyToken=null]])
Types:
sealed nested public class _N_closure7225
sealed nested public class _N_closure7251
sealed nested public class _N_closure7363
sealed nested public class _N_describe_7241
Methods:
.ctor
apply
sealed nested public class _N_static_proxy7878
Methods:
apply_void
Fields:
single_instance
sealed nested public class _N_stdunhandled_7381
Methods:
.ctor
apply_void
abstract nested public class CliOption
Methods:
.ctor
ctor(System.String)
ctor(System.String,Nemerle.Core.list`1[[System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]])
ctor(System.String,System.String)
ctor(System.String,Nemerle.Core.list`1[[System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]],System.String)
_N_GetVariantCode
Fields:
aliases
help
name
Types:
sealed nested public class Boolean
Methods:
.ctor
ctor(System.String,Nemerle.Core.list`1[[System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]],System.String,Nemerle.Builtins.FunctionVoid`1[[System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]])
ctor(System.String,System.String,Nemerle.Builtins.FunctionVoid`1[[System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]])
ctor(System.String,Nemerle.Core.list`1[[System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]],Nemerle.Builtins.FunctionVoid`1[[System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]])
ctor(System.String,Nemerle.Builtins.FunctionVoid`1[[System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]])
_N_GetVariantCode
Fields:
handler
sealed nested public class Flag
Methods:
.ctor
ctor(System.String,Nemerle.Core.list`1[[System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]],System.String,Nemerle.Builtins.FunctionVoid)
ctor(System.String,System.String,Nemerle.Builtins.FunctionVoid)
ctor(System.String,Nemerle.Core.list`1[[System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]],Nemerle.Builtins.FunctionVoid)
ctor(System.String,Nemerle.Builtins.FunctionVoid)
_N_GetVariantCode
Fields:
handler
sealed nested public class Int
Methods:
.ctor
ctor(System.String,Nemerle.Core.list`1[[System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]],System.String,Nemerle.Builtins.FunctionVoid`1[[System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]])
ctor(System.String,System.String,Nemerle.Builtins.FunctionVoid`1[[System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]])
ctor(System.String,Nemerle.Core.list`1[[System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]],Nemerle.Builtins.FunctionVoid`1[[System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]])
ctor(System.String,Nemerle.Builtins.FunctionVoid`1[[System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]])
_N_GetVariantCode
Fields:
handler
sealed nested public class NonOption
Methods:
.ctor
ctor(System.String,Nemerle.Core.list`1[[System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]],System.String,Nemerle.Builtins.FunctionVoid`1[[System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]])
ctor(System.String,System.String,Nemerle.Builtins.FunctionVoid`1[[System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]])
ctor(System.String,Nemerle.Core.list`1[[System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]],Nemerle.Builtins.FunctionVoid`1[[System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]])
ctor(System.String,Nemerle.Builtins.FunctionVoid`1[[System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]])
_N_GetVariantCode
Fields:
handler
sealed nested public class PostHelp
Methods:
.ctor
ctor(System.String,Nemerle.Core.list`1[[System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]],System.String)
ctor(System.String,System.String)
ctor(System.String,Nemerle.Core.list`1[[System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]])
ctor(System.String)
_N_GetVariantCode
sealed nested public class PreHelp
Methods:
.ctor
ctor(System.String,Nemerle.Core.list`1[[System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]],System.String)
ctor(System.String,System.String)
ctor(System.String,Nemerle.Core.list`1[[System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]])
ctor(System.String)
_N_GetVariantCode
sealed nested public class String
Methods:
.ctor
ctor(System.String,Nemerle.Core.list`1[[System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]],System.String,Nemerle.Builtins.FunctionVoid`1[[System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]])
ctor(System.String,System.String,Nemerle.Builtins.FunctionVoid`1[[System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]])
ctor(System.String,Nemerle.Core.list`1[[System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]],Nemerle.Builtins.FunctionVoid`1[[System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]])
ctor(System.String,Nemerle.Builtins.FunctionVoid`1[[System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]])
_N_GetVariantCode
Fields:
handler
sealed nested public class SubstitutionString
Methods:
.ctor
ctor(System.String,Nemerle.Core.list`1[[System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]],System.String,Nemerle.Builtins.Function`2[[System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[Nemerle.Core.list`1[[System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], Nemerle.stage1, Version=0.9.3.24, Culture=neutral, PublicKeyToken=null]])
ctor(System.String,System.String,Nemerle.Builtins.Function`2[[System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[Nemerle.Core.list`1[[System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], Nemerle.stage1, Version=0.9.3.24, Culture=neutral, PublicKeyToken=null]])
ctor(System.String,Nemerle.Core.list`1[[System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]],Nemerle.Builtins.Function`2[[System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[Nemerle.Core.list`1[[System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], Nemerle.stage1, Version=0.9.3.24, Culture=neutral, PublicKeyToken=null]])
ctor(System.String,Nemerle.Builtins.Function`2[[System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[Nemerle.Core.list`1[[System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], Nemerle.stage1, Version=0.9.3.24, Culture=neutral, PublicKeyToken=null]])
_N_GetVariantCode
Fields:
substitute
sealed nested public class Unhandled
Methods:
.ctor
ctor(System.String,Nemerle.Core.list`1[[System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]],System.String,Nemerle.Builtins.FunctionVoid`1[[System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]])
ctor(System.String,System.String,Nemerle.Builtins.FunctionVoid`1[[System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]])
ctor(System.String,Nemerle.Core.list`1[[System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]],Nemerle.Builtins.FunctionVoid`1[[System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]])
ctor(System.String,Nemerle.Builtins.FunctionVoid`1[[System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]])
_N_GetVariantCode
Fields:
handler
class Identity
Methods:
ctor
cctor
apply()
Fields:
Instance
class public Identity`2['a,'b]
Methods:
.ctor
.cctor
apply
Fields:
Instance
sealed abstract class public NArray

Helper functions, absent from System.Array.

Methods:
_N_loop14180(Nemerle.Utility.NArray+_N_closure14170`3[['a],['b],['c]],Nemerle.Core.list`1[['a]],System.Int32)
_N_loop14211(Nemerle.Utility.NArray+_N_closure14201`3[['a],['b],['c]],Nemerle.Core.list`1[['b]],System.Int32)
_N_loop14310(Nemerle.Utility.NArray+_N_closure14300`3[['a],['b],['c]],Nemerle.Core.list`1[['a]],System.Int32,)
_N_loop14343(Nemerle.Utility.NArray+_N_closure14333`3[['a],['b],['c]],Nemerle.Core.list`1[['b]],System.Int32,)
ChopFirstN('a[],System.Int32)

Return a fresh copy of [arr] with first [n] elements removed.

ChopLastN('a[],System.Int32)

Return a fresh copy of [arr] with last [n] elements removed.

Clone()

** Attention! It's inplace sort. */

ConvertAll(From[],Nemerle.Builtins.Function`2[[From],[To]])

Convert array of one type to other. (This is a alias for Map().)

Exists('a[],Nemerle.Builtins.Function`2[['a],[System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]])

Returns 'true' if at least one of the 'l' arrays's elements satisfies the condition 'f'.

Remark:

Example of use:

NArray.Exists (array ["a", "b", "abc", "d", "e"], fun (x) { x.Length > 2 })

evaluates to 'true' as there is one string of length 3 on the list.

Exists2('a[],Nemerle.Core.list`1[['b]],Nemerle.Builtins.Function`3[['a],['b],[System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]])
Exists2(Nemerle.Core.list`1[['a]],'b[],Nemerle.Builtins.Function`3[['a],['b],[System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]])
Filter(T[],Nemerle.Builtins.Function`2[[T],[System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]])

Filter elements to list.

Fold('b[],,Nemerle.Builtins.Function`3[['b],['a],['a]])

Folds a function over an array.

FoldI('b[],,Nemerle.Builtins.Function`4[[System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],['b],['a],['a]])

Folds a function over an array, passing the array index as an additional parameter to the folded function parameters.

FoldLeft2('a[],Nemerle.Core.list`1[['b]],,Nemerle.Builtins.Function`4[['a],['b],['c],['c]])
FoldLeft2(Nemerle.Core.list`1[['a]],'b[],,Nemerle.Builtins.Function`4[['a],['b],['c],['c]])
FoldRight2('a[],Nemerle.Core.list`1[['b]],,Nemerle.Builtins.Function`4[['a],['b],['c],['c]])
FoldRight2(Nemerle.Core.list`1[['a]],'b[],,Nemerle.Builtins.Function`4[['a],['b],['c],['c]])
ForAll('a[],Nemerle.Builtins.Function`2[['a],[System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]])

Returns 'true' if exactly all of the 'l' arrays's elements satisfy the condition 'f'.

Remark:

Example of use:

NArray.ForAll (array [2, 4, 6, 8, 10], fun (x) { x % 2 == 0 })

evaluates to 'true' as all the array's elements are even integers.

ForAll2('a[],Nemerle.Core.list`1[['b]],Nemerle.Builtins.Function`3[['a],['b],[System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]])
ForAll2(Nemerle.Core.list`1[['a]],'b[],Nemerle.Builtins.Function`3[['a],['b],[System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]])
FromList(System.Type,Nemerle.Core.list`1[['a]])
Iter('a[],Nemerle.Builtins.FunctionVoid`1[['a]])

Iterates a function over an array.

Iter2('a[],Nemerle.Core.list`1[['b]],Nemerle.Builtins.FunctionVoid`2[['a],['b]])
Iter2(Nemerle.Core.list`1[['a]],'b[],Nemerle.Builtins.FunctionVoid`2[['a],['b]])
IterI('a[],Nemerle.Builtins.FunctionVoid`2[[System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],['a]])

Iterates a function over an array, passing both the array index and value as the iterated function parameters.

Map(From[],Nemerle.Builtins.Function`2[[From],[To]])
Map(System.Type,From[],Nemerle.Builtins.Function`2[[From],[To]])
Map2('a[],Nemerle.Core.list`1[['b]],Nemerle.Builtins.Function`3[['a],['b],['c]])
Map2(Nemerle.Core.list`1[['a]],'b[],Nemerle.Builtins.Function`3[['a],['b],['c]])
RevMap2('a[],Nemerle.Core.list`1[['b]],Nemerle.Builtins.Function`3[['a],['b],['c]])
RevMap2(Nemerle.Core.list`1[['a]],'b[],Nemerle.Builtins.Function`3[['a],['b],['c]])
SortInplace(T[],System.Comparison`1[[T]])

Attention! It's inplace sort.

ToBase(Derive[])

Cast array to covariant subtype.

ToList('a[])
ToString('a[],System.String)

Convert array to string.

Types:
sealed nested public class _N__N_l13534_13541`1['a]
Methods:
.ctor
apply
sealed nested public class _N_closure13217`3
sealed nested public class _N_closure13248`3
sealed nested public class _N_closure13347`3
sealed nested public class _N_closure13380`3
sealed abstract class public NCollectionsUtils
Methods:
BinarySearch(System.Collections.Generic.IList`1[[TElem]],Nemerle.Builtins.Function`2[[TElem],[System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]])
BinarySearch(System.Collections.Generic.IList`1[[TElem]],System.Int32,System.Int32,Nemerle.Builtins.Function`2[[TElem],[System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]])
ConvertToArray(System.Collections.Generic.ICollection`1[[From]],Nemerle.Builtins.Function`2[[From],[To]])

Convert collection of one type to array of another type. (Alias for MapToArray)

ConvertToArray(System.Collections.Generic.IEnumerable`1[[From]],Nemerle.Builtins.Function`2[[From],[To]])

Convert sequence of one type to array of another type. (Alias for MapToArray)

ConvertToArrayFiltered(System.Collections.Generic.IEnumerable`1[[From]],Nemerle.Builtins.Function`2[[From],[System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]],Nemerle.Builtins.Function`2[[From],[To]])
Filter(System.Collections.Generic.IEnumerable`1[[T]],Nemerle.Builtins.Function`2[[T],[System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]])
Fold(System.Collections.Generic.IEnumerable`1[[B]],,Nemerle.Builtins.Function`3[[B],[A],[A]])
FoldLeft(System.Collections.Generic.IEnumerable`1[[B]],,Nemerle.Builtins.Function`3[[B],[A],[A]])
FoldRight(System.Collections.Generic.IEnumerable`1[[B]],,Nemerle.Builtins.Function`3[[B],[A],[A]])
Map(System.Collections.Generic.IEnumerable`1[[From]],Nemerle.Builtins.Function`2[[From],[To]])
MapCollectionToArray(System.Collections.Generic.ICollection`1[[From]],Nemerle.Builtins.Function`2[[From],[To]])
MapToArray(System.Collections.Generic.ICollection`1[[From]],Nemerle.Builtins.Function`2[[From],[To]])

Convert a collection of one type to an array of another type.

MapToArray(System.Collections.Generic.IEnumerable`1[[From]],Nemerle.Builtins.Function`2[[From],[To]])

Convert a sequence of one type to an array of another type.

MapToArrayFiltered(System.Collections.Generic.IEnumerable`1[[From]],Nemerle.Builtins.Function`2[[From],[System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]],Nemerle.Builtins.Function`2[[From],[To]])

Convert sequence to array with filtration.

MapToList(From[],Nemerle.Builtins.Function`2[[From],[To]])
MapToList(System.Collections.Generic.IEnumerable`1[[From]],Nemerle.Builtins.Function`2[[From],[To]])
MapToList(System.Collections.Generic.IList`1[[From]],Nemerle.Builtins.Function`2[[From],[To]])
ToArray(System.Collections.Generic.ICollection`1[[T]])

Convert collection to array.

ToArray(System.Collections.Generic.IEnumerable`1[[T]])

Convert sequence to array.

ToArrayFiltered(System.Collections.Generic.IEnumerable`1[[T]],Nemerle.Builtins.Function`2[[T],[System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]])

Convert sequence to array with filtration.

sealed abstract class public NString
Methods:
Concat(System.String,Nemerle.Core.list`1[[System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]])

Concatenates strings from the list, inserting given separator between them.

Exists(System.String,Nemerle.Builtins.Function`2[[System.Char, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]])

Return [true] if [f] is returns [true] for any of the characters in the string [s].

Explode(System.String)

Changes string into a corresponding list of characters.

Remark:

Warning: this should not be used in performance critical parts of the program, because of list's memory overheads.

Fold(System.String,,Nemerle.Builtins.Function`3[[System.Char, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],['a],['a]])
Fold2(System.String,System.String,,Nemerle.Builtins.Function`4[[System.Char, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.Char, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],['a],['a]])
ForAll(System.String,Nemerle.Builtins.Function`2[[System.Char, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]])

Return [true] if [f] is returns [true] for all of the characters in the string [s].

Implode(Nemerle.Core.list`1[[System.Char, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]])

Constructs a string out of a list of characters.

Remark:

Warning: this should not be used in performance critical parts of the program, because of list's memory overheads.

Iter(System.String,Nemerle.Builtins.FunctionVoid`1[[System.Char, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]])

Call [f] for all characters in [s] in turn.

IterI(System.String,Nemerle.Builtins.FunctionVoid`2[[System.Char, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]])

Call [f] for all characters in [s] in turn, passing the current index as the additional paramter.

Map(System.String,Nemerle.Builtins.Function`2[[System.Char, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.Char, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]])

Same as [Implode (List.Map (Explode (s), f))] but a lot faster.

MapCS(System.String,Nemerle.Builtins.Function`2[[System.Char, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]])

Same as [Concat ("", List.Map (Explode (s), f))] but a lot faster.

SeparatedCalls(System.String,Nemerle.Core.list`1[['a]],Nemerle.Builtins.FunctionVoid`1[['a]],System.Text.StringBuilder)

Calls the given function on elements of given list, appending given separator to string builder between those calls.

Remark:

NOTE: the `f' function should be taking `acc' as a parameter, so that this function looks more Fold-like.

Split(System.String,Nemerle.Core.list`1[[System.Char, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]])

Splits the string at positions of occurrence of one of the characters from the given list.

Split(System.String,System.Char[])

Splits the string at positions of occurrence of one of the characters from the given array.

sealed abstract class public Pair

Special methods for handling pairs (two-element tuples)

Methods:
First(,)

Returns the first element of a pair

Second(,)

Returns the second element of a pair

Swap(,)

Swaps the elements of a pair, creating a new pair.