mirror of
https://github.com/fluencelabs/aqua-lib
synced 2024-12-04 15:20:23 +00:00
⊤ & ⊥ in Op
This commit is contained in:
parent
47875e6465
commit
fd6cf01414
@ -68,13 +68,13 @@ service Op("op"):
|
|||||||
-- does nothing
|
-- does nothing
|
||||||
noop()
|
noop()
|
||||||
-- returns length of the passed array
|
-- returns length of the passed array
|
||||||
array_length(array: []string) -> u32
|
array_length(array: []⊤) -> u32
|
||||||
-- takes any number of arguments and wraps them into a single array
|
-- takes any number of arguments and wraps them into a single array
|
||||||
array(a: string, b: ?string, c: ?string, d: ?string) -> []string
|
array(a: ⊤, b: ?⊤, c: ?⊤, d: ?⊤) -> []⊥
|
||||||
-- takes any number of arrays and flattens them by concatenating
|
-- takes any number of arrays and flattens them by concatenating
|
||||||
concat(a: []string, b: ?[]string, c: ?[]string, d: ?[]string) -> []string
|
concat(a: []⊤, b: ?[]⊤, c: ?[]⊤, d: ?[]⊤) -> []⊥
|
||||||
-- takes a single argument and returns it back
|
-- takes a single argument and returns it back
|
||||||
identity(s: ?string) -> ?string
|
identity(s: ⊤) -> ⊥
|
||||||
string_to_b58(s: string) -> Base58String
|
string_to_b58(s: string) -> Base58String
|
||||||
string_from_b58(b: Base58String) -> string
|
string_from_b58(b: Base58String) -> string
|
||||||
bytes_to_b58(bs: []u8) -> Base58String
|
bytes_to_b58(bs: []u8) -> Base58String
|
||||||
|
Loading…
Reference in New Issue
Block a user