-
exception QueueError;
val empty : 'a
queue val isEmpty : 'a
queue ->
bool val singleton : 'a -> 'a
queue val fromList : 'a list -> 'a
queue val insert : 'a *...
- or a
special value, a
variant must be used.
Function GetText(Optional By
Val Index) As
String If IsMissing(Index) Then
GetText = Item(CurrentItem) Else...
- type
specifiers char, int,
float and
double (as well as the
boolean type
bool), and the
modifiers signed, unsigned, short, and long. The
following table...
- option_t0ype_
bool_type (a: t@ype+,
bool) = | Some(a, true) of a | None(a, false)
stadef option = option_t0ype_
bool_type
typedef Option(a: t@ype) = [b:
bool] option(a...
-
rewritten as: PROC (INT)
BOOL odd; PROC even = (INT number)
BOOL : (
number = 0 | TRUE | odd (ABS (number - 1))); odd := (INT number)
BOOL : (
number = 0 | FALSE...
-
Return 0 if ack by the target.
bool i2c_write_byte(
bool send_start,
bool send_stop,
unsigned char byte) {
unsigned bit;
bool nack; if (send_start) { i2c_start_cond();...
-
memory fetches:
bool is_first_char_valid_alpha_unsafe(const char *p) {
return isalpha(p[0]); //
SEGFAULT highly possible with p == NULL }
bool...
-
Alternatively one can use the
datavtype keyword *)
dataviewtype int_or_string_vt (
bool) = |
String_vt (true) of
string |
Int_vt (false) of int (* Alternatively...
-
operator is
typed to only take two
values of the same type: # x = y;; - :
bool =
false So they must be the same type, or else this wouldn't even type-check...
- string'; var obj = { an: 'object' }; doSomething(str); // strings,
numbers and
bool types are immutable,
function gets a copy doSomething(obj); //
objects are...