a_dims
List of array dimensions.
[ Array ]
Returns list of dimensions of array Arr (same order, as in a_create). |
| a_elem >
a_elem
Array element accessor.
a_elem (Arr: Array, Index: List) → Mut
Returns mutable reference to element of array Arr with list of indexes Index. (Inner indexes are first; outer indexes are last.) |
a_fill
Fill array with value.
a_fill (Arr: Array, Elem: Any) → Array
Fills entire array Arr with value of Elem. Returns array Arr. |
< a_elem | a_init_all >
a_init_all
Array functional initializer.
a_init_all (Arr: Array, FnVal: Func) → ()
Initializes all elements of array Arr by using functor reference FnVal. (Each element is initialised by FnVal ! Dims, where Dims is list of elements dimensions.) |
a_load
Load array elements from list of values.
[ Array ]
a_load (Arr: Array, Elems: List) → Array
Loads array Arr with list of Elems (according to internal elements ordering). (Extra elements are ignored). Returns array Arr. |
< a_init_all | a_rank >
a_rank
Rank of array.
[ Array ]
Returns rank (number of dimensions) of array Arr. |
a_save
Save array elements to list of values.
[ Array ]
Returns contents of array Arr (according to internal elements ordering) as list. (Final undefined elements are NOT included.) |
a_total
Total elements in array.
[ Array ]
Returns total number of elements in array Arr. |
abs
Numeric absolute value.
Arithmetic absolute value of numeric argument. (Equals to (A >= 0 ? A : -A), but with A evaluated once). |
acos
Numeric arccosine.
ArcCosine of X (with result in radians). |
add
Numeric addition.
Arithmetic addition of arguments: A + B. |
and
Bitwise conjunction.
Bitwise AND of arguments: I & J. |
ang
Numeric polar angle.
Polar angle of point (X, Y), with result in radians. |
apply
[ Func ]
apply (F: Func, Arg: Any) → Any
Invokes functor reference F with argument(s) Arg (returning result of invocation). |
array
Array constructor.
[ Array | Constructor ]
Creates new array, with dimensions specified by list Dims. (Inner dimensions are first; outer dimensions are last). (Elements of created array are undefined.) |
asin
Numeric arcsine.
ArcSine of X (with result in radians). |
atan
Numeric arctangent.
ArcTangent of X (with result in radians). |
c_and
Conditional "and" operation.
[ Conditional | Binary ]
c_and (Cond: Bool, @Body: Any) → 0 | Any
Conditional "short-circuit" AND operation: if boolean condition Cond is true, evaluates and returns Body; otherwise returns false (0). Equivalent to: if (Cond, Body, 0). |
c_not
Conditional "not" operation.
[ Conditional | Unary ]
Conditional NOT operation: if boolean condition Cond is false, returns true; otherwise false. |
c_or
Conditional "or" operation.
[ Conditional | Binary ]
c_or (Cond: Bool, @Body: Any) → 1 | Any
Conditional "short-circuit" OR operation: if boolean condition Cond is false, evaluates and returns Body; otherwise returns true (1). Equivalent to: unless (Cond, Body, 1). |
ceil
Numeric rounding up.
Arithmetic "ceiling" value (round X up to nearest integer). |
class_of
Class of object.
[ Object ]
class_of (Obj: Object) → Class
Evaluates Obj, and returns class to which it belongs (or undef, if Obj is not an object). |
cmp
Numeric signed comparison.
[ Scalar | Compare | Numeric ]
Arithmetic signed compare: A < B ? -1 : A > B ? 1 : 0 (A and B evaluated once). |
comb
Implements combined assignment.
Evaluation of assignment combined with unary/binary term Operation. |
cos
Numeric cosine.
Cosine of X (with argument in radians). |
cosh
Numeric hyperbolic cosine.
Hyperbolic Cosine of X. (Equals to: (exp(X) + exp(-X)) / 2). |
dc_b
Unsigned byte decode.
dc_b (S: String, [Offset: Int]) → Int
Decode (from string to 8 bit unsigned integer): convert 1 byte of string S at offset Offset to unsigned integer. |
dc_l
Long decode.
dc_l (S: String, [Offset: Int]) → Int
Decode (from string to 32 bit signed/unsigned integer): convert 4 bytes of string S at offset Offset to integer. |
dc_sb
Signed byte decode.
dc_sb (S: String, [Offset: Int]) → Int
Decode (from string to 8 bit signed integer): convert 1 byte of string S at offset Offset to signed integer. |
dc_sw
Signed word decode.
dc_sw (S: String, [Offset: Int]) → Int
Decode (from string to 16 bit signed integer): convert 2 bytes of string S at offset Offset to signed integer. |
dc_w
Unsigned word decode.
dc_w (S: String, [Offset: Int]) → Int
Decode (from string to 16 bit unsigned integer): convert 2 bytes of string S at offset Offset to unsigned integer. |
dec
Pre-decrement.
Decrements value of mutable V (which must belong to numeric type) by 1. Returns: value of V after decrement. |
dec_p
Post-decrement.
Decrements value of mutable V (which must belong to numeric type) by 1. Returns value of V before decrement. |
determ
Deconstruct term to functor and argument(s).
[ Term ]
determ (T: Term) → (Func, Any)
Deconstructs term T to list of reference to functor and term argument(s). (Reverse to enterm). |
deval
Expression devaluation.
Inhibit evaluation of expression X (returns X itself). |
devirt
Devirtualize virtual functor.
[ Object ]
devirt (Virt: Virtual, Class: Class) → Func
Explicit devirtualization: returns version of virtual Virt defined for class Class. |
differ
Difference check.
[ Compare ]
differ (V: Any, W: Any) → Bool
Check expressions V and W for difference: false, if both operands evaluate to same result; true otherwise. |
div
Numeric division.
div (X: Float, Y: Float) → Float
Arithmetic division of arguments: X / Y. |
do_until
Loop with negative postcondition.
[ Iterator | Conditional | Binary ]
do_until (@Cond: Bool, @Body: Any) → Any
Negative postconditional iterator: repeatedly pre-evaluates Body, while Cond remains false. Returns final value of Body (which is always evaluated at least once). |
do_while
Loop with positive postcondition.
[ Iterator | Conditional | Binary ]
do_while (@Cond: Bool, @Body: Any) → Any
Positive postconditional iterator: repeatedly pre-evaluates Body, while Cond remains true. Returns final value of Body (which is always evaluated at least once). |
ec_b
Byte encode.
Encode (from 8 bit signed/unsigned to length 1 string): convert integer Code to string. |
ec_l
Long encode.
Encode (from 32 bit signed/unsigned to length 4 string): convert integer Code to string. |
ec_w
Word encode.
Encode (from 16 bit signed/unsigned to length 2 string): convert integer Code to string. |
enterm
Construct term from functor and argument(s).
[ Term ]
enterm (F: Func, V: Any) → Term
Constructs new term from reference to functor F with argument(s) V. (Reverse to determ). |
eq
Numeric equality.
[ Scalar | Compare | Numeric ]
Arithmetic equality test: true, if A == B. |
eval_r
Internal: R-mode evaluation of mutable expression X. |
eval_v
Internal: V-mode evaluation of expression X. |
eval_x
Internal: X-mode evaluation of expression X. |
exp
Numeric exponentiation.
Exponent of X: e raised to power X. |
exp_by
Numeric rise to power.
exp_by (X: Float, Y: Float) → Float
X raised to the power Y. (Same as: exp (log(X) * Y) ). |
f_err
Standard error output.
f_err () → Stream
Returns default error output stream. |
f_get
Get line(s) from stream as strings.
[ Stream ]
f_get ([In: Stream], { Line: Mut, } ...) → Int
Reads lines from the input stream In (or default input, if In is undefined). Assigns read strings to mutables from list of Line. Returns: number of lines successfully read. |
f_in
Standard input.
f_in () → Stream
Returns default input stream. |
f_out
Standard output.
f_out () → Stream
Returns default output stream. |
f_put
Put value(s) to stream as strings.
[ Stream ]
f_put ([Out: Stream], { Value: Any, } ...) → Int
Evaluates and writes values from list of Value to the output stream Out (or default output, if Out is omitted). Returns number of values successfully written. |
false
Literal false value.
[ Scalar | Nullary | Conditional ]
false () → Int
Returns false value (0). |
float
Coerce scalar to float.
[ Scalar | Coercion | Numeric ]
Explicit float coercion: from scalar V to float value (according to default coercion rules). |
floor
Numeric rounding down.
Arithmetic "floor" value (round X down to nearest integer). |
for_dec
Loop decrementing index in range.
for_dec (Index: Mut, R: Range, @Body: Any) → Any
Decremental sequence iterator: decrements value of mutable Index, from (excluding) end of range R down to (including) start of range R. On each iteration, Body is evaluated. Returns final value of Body (or undef, if Body never was evaluated). |
for_inc
Loop incrementing index in range.
for_inc (Index: Mut, R: Range, @Body: Any) → Any
Incremental sequence iterator: increments value of mutable Index, from (including) start of range R up to (excluding) end of range R. On each iteration, Body is evaluated. Returns final value of Body (or undef, if Body never was evaluated). |
ge
Numeric "greater than or equal" compare.
[ Scalar | Compare | Numeric ]
Arithmetic "greater than/equal" test: true, if A >= B. |
gt
Numeric "greater than" compare.
[ Scalar | Compare | Numeric ]
Arithmetic "greater than" test: true, if A > B. |
h_clear
Clear hash.
[ Hash ]
Clears hash Hsh. Returns number of keys/values, which were present in hash. |
h_count
Hash counter.
[ Hash ]
Returns total number of key/value pairs in hash Hsh. |
h_elem
Hash value accessor.
h_elem (Hsh: Hash, Key: Any) → Mut
Returns mutable reference to value associated with Key in hash Hsh. (If Key was not in Hsh, it is created with undefined initial value). |
h_inspect
Inspect hash internals.
[ Hash ]
Returns list of internal bucket capacities in hash Hsh. |
h_keys
List of hash keys.
[ Hash ]
Return list of all hash keys (in unpredictable order). |
h_lookup
Hash value lookup.
[ Hash ]
h_lookup (Hsh: Hash, Key: Any) → Any
Returns value associated with Key in hash Hsh. (If Key is not in Hsh returns undef; new key is NOT created). |
h_loop
Hash iterator
h_loop (Hsh: Hash, Var: Mut, @Body: Any) → Any
Iterates through hash Hsh. On each iteration, list of (key, value) is assigned to mutable Var and Body is evaluated. Returns result of final evaluation of Body. Keys/values order is unpredictable. |
h_rehash
Change hash capacity.
[ Hash ]
h_rehash (Hsh: Hash, Capacity: Int) → Int
Change capacity of hash Hsh to Capacity (preserving hash contents). Returns current number of hash entries. |
h_remove
Hash value remove.
[ Hash ]
h_remove (Hsh: Hash, Key: Any) → Any
Removes value associated with Key from hash Hsh. (Returns removed value; or undef, if there was no value with Key). |
h_values
List of hash values.
[ Hash ]
Return list of all hash values (in unpredictable order). |
hash
Hash constructor.
[ Hash | Constructor ]
Creates new hash (with optional initial Capacity). (Created hash is empty.) |
hcode
Hash code.
[ ]
Calculate hash code of result of V. |
ident
Identity check.
[ Compare ]
Check expressions V and W for identity: true, if both operands evaluate to same result; false otherwise. |
idiv
Integer ratio.
Integer division of arguments: I % J. (Same as int(I / J), rounding result towards 0). |
if
Conditional choice (positive).
[ Conditional | Ternary ]
if (Cond: Bool, @Then: Any1, @Else: Any2) → Any1 | Any2
Positive conditional test: if boolean Cond is true, evaluates and returns Then; otherwise evaluates and returns Else. |
inc
Pre-increment.
Increments value of mutable V (which must belong to numeric type) by 1. Returns: value of V after increment. |
inc_p
Post-increment.
Increments value of mutable V (which must belong to numeric type) by 1. Returns: value of V before increment. |
include
Include module.
[ System ]
include (Filename: String) → Int
Include module Filename (evaluating all source-level constructs in module). |
inside
Check for value inside range.
inside (Value: Int, R: Range) → Bool
True, if integer Value is inside range R (R[0] <= Value && Value < R[1]). |
int
Coerce scalar to integer.
[ Scalar | Coercion | Numeric ]
Explicit integer coercion: from scalar V to integer value (according to default coercion rules). |
irem
Integer remainder.
Integer remainder of arguments: I %% J. (Same as I - J * (I % J)). |
is_array
Check for array value.
Predicate: true, if argument V evaluates to array. |
is_block
Check for block.
[ Predicate ]
Predicate: true, if argument V evaluates to block. |
is_float
Check for float value.
Predicate: true, if argument V evaluates to float scalar. |
is_hash
Check for hash value.
Predicate: true, if argument V evaluates to hash. |
is_int
Check for integer value.
Predicate: true, if argument V evaluates to integer scalar. |
is_list
Check for list.
Predicate: true, if argument V evaluates to list. |
is_mut
Check mutability.
[ Predicate ]
Return true, if V evaluates to mutable result. |
is_num
Check for numeric value.
Predicate: true, if argument V evaluates to numeric (int or float) scalar. |
is_stream
Check for stream.
True, if V evaluates to stream. |
is_string
Check for string value.
Predicate: true, if argument V evaluates to string scalar. |
is_term
Check for term.
Predicate: true, if argument V evaluates to term. |
is_undef
Check for undefined value.
[ Predicate ]
Predicate: true, if argument V evaluates to undef. |
is_var
Check for variable.
[ Predicate ]
Predicate: true, if argument V evaluates to variable. |
l_cat
List concatenation.
[ List ]
l_cat (L: List, M: List) → List
List concatenation: concatenates L and M, evaluated as lists: L [+] M. (Returns L, if M is undef and/or M, if L is undef.) |
l_copy
Copy list.
[ List ]
Returns exact copy of list L (including all list elements). |
l_head
List head accessor.
Returns mutable reference to head (first item) of list L. (Same as l_item (0, L)). |
l_head_by
Head of list, with offset.
l_head_by (N: Int, L: List) → Mut
Equivalent of l_head(L) applied N times. (Returns L, if N == 0.) |
l_item
List element accessor.
l_item (I: Int, L: List) → Mut
Returns mutable reference to item I (starting at 0) of L, evaluated as list. |
l_len
Length of list.
[ List ]
Returns length of list L (total # of list items). (Returns 1 for scalar values and 0 for undef.) |
l_loop
Direct list iterator.
l_loop (V: Mut, L: List, @Body: Any) → Any
List iterator (direct): evaluates Body for all items in list L (from first to last). On each iteration reference to current list item is assigned to mutable V. Returns result of last evaluation of Body. |
l_loop_r
Reverse list iterator.
l_loop_r (V: Mut, L: List, @Body: Any) → Any
List iterator (reverse): evaluates Body for all items in list L (from last to first). On each iteration reference to current list item is assigned to mutable V. Returns result of last evaluation of Body. |
l_map
Map list with functor.
l_map (F: Func, L: List) → List
Returns new list, constructed by applying functor F to all elements of list L. Note: l_map maps open lists to open lists. |
l_pop
Pop elements from list.
Removes (in direct order) elements from list L into mutable list V. Returns: new value of L. |
l_push
Push elements to list.
l_push (L: Mut, V: Any) → List
Evaluates and inserts (in reverse order) elements of list V into list L. Returns: new value of L. |
l_range
Range to list (direct).
[ List ]
l_range (R: Range, [F: Func]) → List
Constructs and returns new list from integer range R (in ascending order). If functor F is specified, it is applied to elements during construction. |
l_range_r
Range to list (reverse).
[ List ]
l_range_r (R: Range, [F: Func]) → List
Constructs and returns new list from integer range R (in descending order). If functor F is specified, it is applied to elements during construction. |
l_ref
Reference to list.
[ List ]
Return L, evaluated as list. |
l_rep
List replication.
[ List ]
l_rep (N: Int, L: List) → List
List replication: replicates L, evaluated as list, N times in succession: L [*] N. (Returns undef, if N <= 0 or L is undef.) |
l_rev
List reversion.
[ List ]
List reversion: returns reverse (from last element to first) of L, evaluated as list. |
< l_rep | l_sort_index >
l_sort_index
Build sorted index.
l_sort_index (Comp: Func, R: Range) → List
Sort range R, using Comp to compare indexes. Returns list of indexes as result. |
l_split
Split list at specified position.
l_split (N: Int, L: Mut) → List
Split list L into parts at position N (mutating L). For new value of L: l_head(L) [+] l_tail(L) [==] L; l_len(l_head(L)) == N+1. Returns: new value of L. |
< l_sort_index | l_tail >
l_tail
List tail accessor.
Returns mutable reference to tail (all items except first) of list L. |
l_tail_by
Tail of list, with offset.
l_tail_by (N: Int, L: List) → Mut
Equivalent of l_tail(L) applied N times. (Returns L, if N == 0.) |
l_until
Search list forward, negatively testing predicate.
l_until (Predicate: Func, L: List) → Int
Scans list (from first element to last), applying functor Predicate to each element, while result remains false. Returns: index of first element, where Predicate ! L[index] is true (returns 0, if condition is true on first element; returns length of L, if condition is false for all elements). |
l_until_r
Search list backward, negatively testing predicate.
l_until_r (Predicate: Func, L: List) → Int
Scans list (from last element to first), applying functor Predicate to each element, while result remains false. Returns: index of last element, where Predicate ! L[index] remains false (returns length of L, if condition is true on last element; returns 0, if condition is false for all elements). |
l_while
Search list forward, positively testing predicate.
l_while (Predicate: Func, L: List) → Int
Scans list (from first element to last), applying functor Predicate to each element, while result remains true. Returns: index of first element, where Predicate ! L[index] is false (returns 0, if condition is false on first element; returns length of L, if condition is true for all elements). |
l_while_r
Search list backward, positively testing predicate.
l_while_r (Predicate: Func, L: List) → Int
Scans list (from last element to first), applying functor Predicate to each element, while result remains true. Returns: index of last element, where Predicate ! L[index] remains true (returns length of L, if condition is false on last element; returns 0, if condition is true for all elements). |
le
Numeric "less than or equal" compare.
[ Scalar | Compare | Numeric ]
Arithmetic "less than/equal" test: true, if A <= B. |
let
Lazy assignment.
Assigns expression X (not evaluated!) to mutable V. Returns: V. |
log
Numeric logarithm.
Natural (base e) logarithm of X (NAN, if X <= 0). |
log_by
Numeric logarithm by base.
log_by (X: Float, Y: Float) → Float
Logarithm of Y base X. (Same as: log(Y) / log(X) ). |
lt
Numeric "less than" compare.
[ Scalar | Compare | Numeric ]
Arithmetic "less than" test: true, if A < B. |
max
Numeric maximum.
Arithmetic maximum (greater of arguments): A ?> B. (Equals to: A > B ? A : B, but evaluates arguments once). |
min
Numeric minimum.
Arithmetic minimum (lesser of arguments): A ?< B. (Equals to: A < B ? A : B, but evaluates arguments once). |
mul
Numeric multiplication.
Arithmetic multiplication of arguments: A * B. |
ne
Numeric inequality.
[ Scalar | Compare | Numeric ]
Arithmetic inequality test: true, if A <> B. |
neg
Numeric negation.
Arithmetic negation of numeric argument: -A. |
not
Bitwise complement.
Bitwise complement of integer argument: ~I. |
num
Coerce scalar to number.
[ Scalar | Coercion | Numeric ]
Explicit numeric coercion: from scalar V to integer or float value (according to default coercion rules). |
or
Bitwise disjunction.
Bitwise OR of arguments: I | J. |
outside
Check for value outside range.
outside (Value: Int, R: Range) → Bool
True, if integer Value is outside range R (Value < R[0] || R[1] <= Value). |
pi
Multiply by \Pi.
Value of X multiplied by Pi. |
rad
Numeric polar radius.
Polar radius of cartesian point (X, Y). (Same as sqr(X*X + Y*Y)). |
rand
Random numbers generator.
Returns next random number, belonging to the range 0..N. If N is omitted, may return any integer. |
randomize
Randomizer.
Sets random numbers generator Seed (affecting following values returned by rand). If Seed is omitted, chooses completely random seed for randomization. |
reduce
Implements list reduction.
[ List ]
reduce (Operation: Term) → Scal
Performs reduction on binary term Operation. |
reval
Expression revaluation.
Evaluate result of evaluation of expression X. |
rx_alt
Alternation of patterns.
[ Constructor | Pattern ]
rx_alt (First: Pattern, Second: Pattern) → Pattern
Construct pattern, matching either First or Second. |
rx_any
Any character pattern.
[ Constructor | Pattern ]
rx_any () → Pattern
Construct pattern, matching any character. |
rx_cat
Concatenation of patterns.
[ Constructor | Pattern ]
rx_cat (Start: Pattern, End: Pattern) → Pattern
Construct pattern, matching Start immediately followed by End. |
rx_char
Literal character pattern.
[ Constructor | Pattern ]
Construct pattern, matching single character with code Code. |
rx_match
Pattern check.
rx_match (Context: Pattern, Str: String) → Int
Match Str with pattern Context. Return length of pattern matched (or -1, if match failed). |
rx_rep
Repetition of pattern.
[ Constructor | Pattern ]
rx_rep (Range: Range, Max: Bool, Body: Pattern) → Pattern
Construct pattern, matching Body, repeated minimum Range[0] and maximum Range[1] times. |
rx_string
Literal string pattern.
[ Constructor | Pattern ]
rx_string (Text: Str) → Pattern
Construct pattern, matching literal string Text. |
s_cat
String concatenation.
String concatenation: returns strings S and T concatenated together. |
s_cmp
String signed comparison.
String signed compare: returns -1, if S is alphabetically before T; 1, if S is alphabetically after T; 0 if S is equal to T (S and T evaluated once). |
s_empty
Empty string literal.
s_empty () → Str
Always returns empty string. |
s_eq
String equality.
String equality test: true, if S is identical to T. |
< s_empty | s_findfirst >
s_findfirst
Search string forward for context.
s_findfirst (S: Str, Ctx: Str) → Int
Find first match: searches forward string S, looking for the first occurence of context Ctx. Returns offset of Ctx in S (starting from 0), or -1, if Ctx was not found. |
< s_eq | s_findlast >
s_findlast
Search string backward for context.
s_findlast (S: Str, Ctx: Str) → Int
Find last match: searches backward string S, looking for the last occurence of context Ctx. Returns offset of Ctx in S (starting from 0), or -1, if Ctx was not found. |
< s_findfirst | s_ge >
s_ge
String "greater than or equal" compare.
String greater than/equal test: true, if S is alphabetically after or equal to T. |
< s_findlast | s_gt >
s_gt
String "greater than" compare.
String greater than test: true, if S is alphabetically after T. |
s_le
String "less than or equal" compare.
String less than/equal test: true, if S is alphabetically before or equal to T. |
s_len
Query string length.
Returns length of string S (0, if S is empty). |
s_lt
String "less than" compare.
String less than test: true, if S is alphabetically before T. |
s_map
String mapper.
s_map (F: Func, S: String) → String
Returns new string, created by applying functor F to character codes in string S. (F is invoked as F ! (OldCode: Int) => NewCode; expected to return Int) |
s_max
String maximum.
String maximum: returns either S or T, whichever comes last alphabetically. |
s_min
String minimum.
String minimum: returns either S or T, whichever comes first alphabetically. |
s_ne
String inequality.
String inequality test: true, if S is different from T. |
s_rep
String replication.
String replication: returns S replicated N times. (Returns S, if N == 1 or empty string, if N == 0.) |
s_retype
Change string type.
Convert string S to characters Type (0: to ASCII, 1: to Unicode). Conversion method is environment-dependent. |
s_slice
String slice.
s_slice (R: Range, S: Str) → Str
String slicing: returns fragment of string S sliced by range R. Range R defaults to entire string (0 .. s_len(S)). If R exceeds limits (either R[0] < 0 or R[1] > s_len(S)), returned string is padded with spaces at begin and/or end. Length of result is always R[1] - R[0]. |
s_type
Query string type.
Returns type of string S (0 for ASCII string; 1 for Unicode string). |
self
Current instance of class.
[ Object ]
self ([Class: Class]) → Object
Evaluates Class, and returns its current instance (or undef, if Class is not class reference, or have no current instance). If Class is omitted, returns current instance of current class. |
set
Eager assignment.
Assigns result of evaluation of expression X to mutable V. Returns: assigned value. |
sgn
Numeric sign.
Arithmetic sign (-1, 0, 1) of numeric argument. (Equals to (A > 0 ? 1 : A < 0 ? -1 : 0), but with A evaluated once). |
shl
Bitwise shift left.
Arithmetic shift: returns I shifted left by J bits (I << J). Note: (I << -J == I >> J). |
shr
Bitwise shift right.
Arithmetic shift: returns I shifted right by J bits (I >> J). Note: (I >> -J == I << J). |
sin
Numeric sine.
Sine of X (with argument in radians). |
sinh
Numeric hyperbolic sine.
Hyperbolic Sine of X. (Equals to: (exp(X) - exp(-X)) / 2). |
sqr
Numeric square root.
Square root of X (NAN, if X < 0). |
string
Coerce scalar to string.
[ Scalar | Coercion | String ]
Explicit string coercion: from scalar V to string value (according to default coercion rules). |
sub
Numeric subtraction.
Arithmetic subtraction of arguments: A - B. |
swap
Exchange values.
[ Mutator ]
Excahnges values of mutables V and W (w/o evaluation). |
tan
Numeric tangent.
Tangent of X (with argument in radians). |
tanh
Numeric hyperbolic tangent.
Hyperbolic Tangent of X. (Equals to: sinh(X) / cosh(X), or (exp(X) - exp(-X)) / (exp(X) + exp(-X))). |
times
Loop for fixed number of iterations.
times (Count: Int, @Body: Any) → Any
Evaluates Body precisely Count times. Returns final value of Body (or undef, if Body never was evaluated). |
true
Literal true value.
[ Scalar | Nullary | Conditional ]
true () → Int
Returns true value (1). |
unless
Conditional choice (negative).
[ Conditional | Ternary ]
unless (Cond: Bool, @Else: Any1, @Then: Any2) → Any2 | Any1
Negative conditional test: if boolean Cond is false, evaluates and returns Else; otherwise evaluates and returns Then. |
until
Loop with negative precondition.
[ Iterator | Conditional | Binary ]
until (@Cond: Bool, @Body: Any) → Any
Negative preconditional iterator: while boolean Cond remains false, repeatedly evaluates Body. Returns final value of Body (or undef, if Body never was evaluated). |
void
void (X: Any) → ()
Void evaluation of expression X (ignore returned value). |
while
Loop with positive precondition.
[ Iterator | Conditional | Binary ]
while (@Cond: Bool, @Body: Any) → Any
Positive preconditional iterator: while boolean Cond remains true, repeatedly evaluates Body. Returns final value of Body (or undef, if Body never was evaluated). |
with
Wrapper: Set object current instance.
with (Obj: Object, @Body: Any) → Any
Evaluates Body (and returns result of evaluation), with Obj as temporary current instance of its class. |
without
Wrapper: Unset object current instance.
without (Class: Class, @Body: Any) → Any
Evaluates Body (and returns result of evaluation), with tempoparily absent current instance of class Class. |
x_funcs
Show scope functors/classes.
[ Debug ]
Lists (to default output) all functors/classes defined in Scope (which belongs to user functor or class). If Scope is omitted, global module/session scope is implied. Returns total # of functors/classes in scope. |
x_trace
Trace mode control.
[ Debug ]
x_trace (Mode: Int, Expr: Any) → Any
Debug: Evaluates Expr with trace mode Mode. |
x_vars
Show scope variables.
[ Debug ]
Lists (to default output) all variables defined in Scope (which belongs to user functor or class). If Scope is omitted, global module/session scope is implied. Returns total # of variables in scope. |
xor
Bitwise exclusion.
Bitwise exclusive OR of arguments: I ~ J. |
< x_vars |