Standard-library modules
Modules are proposed groups of canonical symbols. Selecting a module selects all its symbols and their dependencies. The minimum MuLang version and runtime capability are derived from those symbols.
Capability metadata is descriptive. Hosts must explicitly select a module and provide any required runtime service when binding it.
Array
Stable identifier: mulang.std.array
Since: 0.2.0
Minimum MuLang: 1.1
Capability: Deterministic
Symbols:
arrayContains
Clock
Stable identifier: mulang.std.clock
Since: 0.2.0
Minimum MuLang: 1
Capability: Clock
Symbols:
unixTimeMillisecondsunixTimeSeconds
Guid
Stable identifier: mulang.std.guid
Since: 0.2.0
Minimum MuLang: 1
Capability: Randomness and clock
Symbols:
isGuidnewGuidnewGuidV7
Math.Basic
Stable identifier: mulang.std.math.basic
Since: 0.2.0
Minimum MuLang: 1
Capability: Deterministic
Symbols:
absclampmaxminsign
Math.Classification
Stable identifier: mulang.std.math.classification
Since: 0.2.0
Minimum MuLang: 1
Capability: Deterministic
Symbols:
isFiniteisInfinityisNaN
Math.Constants
Stable identifier: mulang.std.math.constants
Since: 0.2.0
Minimum MuLang: 1
Capability: Deterministic
Symbols:
emaxIntminIntpitau
Math.Powers
Stable identifier: mulang.std.math.powers
Since: 0.2.0
Minimum MuLang: 1
Capability: Deterministic
Symbols:
exploglog10powsqrt
Math.Rounding
Stable identifier: mulang.std.math.rounding
Since: 0.2.0
Minimum MuLang: 1
Capability: Deterministic
Symbols:
ceilfloorroundtrunctruncToInt
Math.Trigonometry
Stable identifier: mulang.std.math.trigonometry
Since: 0.2.0
Minimum MuLang: 1
Capability: Deterministic
Symbols:
acosasinatanatan2cosdegToRadradToDegsintan
Object
Stable identifier: mulang.std.object
Since: 0.2.0
Minimum MuLang: 1.1
Capability: Deterministic
Symbols:
objectKeysobjectValues
Parsing
Stable identifier: mulang.std.parsing
Since: 0.2.0
Minimum MuLang: 1
Capability: Deterministic
Symbols:
parseBoolparseFloatparseInt
Random
Stable identifier: mulang.std.random
Since: 0.2.0
Minimum MuLang: 1
Capability: Randomness
Symbols:
randomFloatrandomInt
String.Comparison
Stable identifier: mulang.std.string.comparison
Since: 0.2.0
Minimum MuLang: 1
Capability: Deterministic
Symbols:
compareIgnoreCasecompareOrdinalequalsIgnoreCase
String.Inspection
Stable identifier: mulang.std.string.inspection
Since: 0.2.0
Minimum MuLang: 1
Capability: Deterministic
Symbols:
charAtendsWithisEmptyisWhiteSpacestartsWithstringContainsstringLength
String.Replacement
Stable identifier: mulang.std.string.replacement
Since: 0.2.0
Minimum MuLang: 1
Capability: Deterministic
Symbols:
replaceAllreplaceFirst
String.Search
Stable identifier: mulang.std.string.search
Since: 0.2.0
Minimum MuLang: 1
Capability: Deterministic
Symbols:
indexOflastIndexOf
String.Slicing
Stable identifier: mulang.std.string.slicing
Since: 0.2.0
Minimum MuLang: 1
Capability: Deterministic
Symbols:
insertremovesubstring
String.Transform
Stable identifier: mulang.std.string.transform
Since: 0.2.0
Minimum MuLang: 1
Capability: Deterministic
Symbols:
repeatreversetoLowertoUppertrimtrimEndtrimStart
Text.Encoding
Stable identifier: mulang.std.text.encoding
Since: 0.2.0
Minimum MuLang: 1
Capability: Deterministic
Symbols:
base64Decodebase64Encode