fuzion-lang.dev — The Fuzion Language Portal
Sign up
Fuzion
•
Library Modules
•
base
•
infix ||||>
»
Modules
base
clang
lock_free
nom
terminal
uuid
wolfssl
universe (module base)
├─
abort
(1 arg)
├─
Any
├─
array
├─
array2
├─
array3
├─
auto_unwrap
├─
Binary
├─
bitset
├─
bool
├─
choice
├─
codepoint
(1 arg)
├─
composition
├─
concur
│
├─
atomic
(1 arg)
│
├─
Channel
│
├─
Future
│
├─
Receiving_Channel
│
├─
Sending_Channel
│
├─
sync
│
│
├─
condition
│
│
└─
mutex
│
├─
thread
│
├─
Thread_Handler
│
├─
thread_pool
│
└─
threads
(2 args)
├─
Cons
├─
cons
(2 args)
├─
container
│
├─
abstract_array
│
├─
Buffer
│
├─
Circular_Buffer
│
├─
expanding
│
├─
expanding_array
│
├─
hash_map
(2 args)
│
├─
Linked_List
│
├─
Map
│
├─
Mutable_Array
│
├─
Mutable_Array2
│
├─
Mutable_Hash_Map
│
├─
Mutable_Linked_List
│
├─
Mutable_Map
│
├─
mutable_tree_map
│
├─
ordered_map
(2 args)
│
│
└─
entry
(1 arg)
│
├─
Persistent_Map
│
├─
ps_map
│
├─
ps_set
│
├─
Set
│
├─
sorted_array
(2 args)
│
├─
Stack
│
└─
stack
├─
eff
│
├─
fallible
(1 arg)
│
└─
try
(1 arg)
├─
effect
├─
effect_to_be_instated
├─
encodings
│
├─
ascii
│
├─
base16
│
├─
base32
│
├─
base32hex
│
├─
base64
│
└─
unicode
├─
envir
│
├─
args
(1 arg)
│
├─
vars
(1 arg)
│
└─
Vars_Handler
├─
equal
├─
equatable_sequence
(1 arg)
├─
equatable_switch
├─
error
(1 arg)
├─
exception
(1 arg)
├─
exit
├─
Exit_Handler
├─
f32
(1 arg)
├─
f64
(1 arg)
├─
false_
├─
ffi
├─
float
├─
Function
├─
fuzion
│
├─
java
│
│
├─
Array
(1 arg)
│
│
├─
Java_Object
(1 arg)
│
│
└─
Java_String
(1 arg)
│
├─
jvm
│
├─
runtime
│
│
├─
check_fault
(1 arg)
│
│
├─
contract_fault
(1 arg)
│
│
├─
fault
(1 arg)
│
│
├─
post_fault
(1 arg)
│
│
└─
pre_fault
(1 arg)
│
└─
sys
├─
greater
├─
handle2_id
├─
handle_id
│
└─
put
(1 arg)
├─
handles
├─
handles2
├─
has_interval
├─
i128
(2 args)
├─
i16
(1 arg)
├─
i32
(1 arg)
├─
i64
(1 arg)
├─
i8
(1 arg)
├─
int
├─
integer
├─
internationalization
│
├─
american
│
├─
german
│
├─
ISO
│
├─
japanese
│
├─
korean
│
└─
provide
├─
interval
(3 args)
├─
io
│
├─
buffered
│
│
├─
reader
(2 args)
│
│
└─
writer
(2 args)
│
│
└─
write_result
│
├─
dir
│
│
├─
Dir_Read_Handler
│
│
├─
make
(2 args)
│
│
├─
Make_Dir_Handler
│
│
├─
open
│
│
└─
read
(1 arg)
│
├─
end_of_file
│
├─
Err
│
├─
file
│
│
├─
delete
(2 args)
│
│
├─
Delete_Handler
│
│
├─
file_mutate
│
│
├─
mapped_buffer
│
│
├─
meta_data
│
│
├─
mode
│
│
│
├─
append
│
│
│
├─
read
│
│
│
├─
val
│
│
│
└─
write
│
│
├─
move
(1 arg)
│
│
├─
Move_Handler
│
│
├─
open
│
│
├─
seek
(1 arg)
│
│
├─
Seek_Handler
│
│
├─
stat
(1 arg)
│
│
└─
Stat_Handler
│
├─
Out
│
├─
print_effect
│
├─
Read_Handler
│
├─
stdin
│
└─
Write_Handler
├─
Java_Ref
├─
Lazy
├─
less
├─
linear_effect
├─
list
├─
memoize
│
└─
memoized
├─
monad
├─
Monoid
├─
mutate
│
├─
array
│
├─
array2
│
├─
circular_buffer
│
├─
mutable_element
│
└─
new
(1 arg)
├─
Native_Ref
├─
net
│
├─
channel
│
├─
connection
│
├─
connections
│
├─
family
│
│
├─
ipv4
│
│
├─
ipv6
│
│
└─
val
│
├─
ip_address
(1 arg)
│
├─
ip_version
│
├─
protocol
│
│
├─
tcp
│
│
├─
udp
│
│
└─
val
│
├─
server
│
└─
socket_type
│
├─
datagram
│
└─
stream
├─
nil
├─
Nullary
├─
num
│
├─
complex
(2 args)
│
├─
fraction
(2 args)
│
├─
matrix
(1 arg)
│
├─
ryū
│
│
└─
rounding_mode
(2 args)
│
└─
wrap_around
├─
numeric
│
└─
prefix |
├─
once
(1 arg)
├─
oneway_monad
(1 arg)
├─
oneway_monad_mode
│
├─
inst
│
├─
plain
│
├─
repl
│
└─
val
├─
option
├─
order
├─
orderable_sequence
(1 arg)
├─
os
│
├─
process
│
├─
Process_Handler
│
├─
processes
(2 args)
│
├─
signal
│
└─
signals
│
├─
abort
│
├─
alarm
│
├─
arithmetic_error
│
├─
broken_pipe
│
├─
hangup
│
├─
illegal_instruction
│
├─
interrupt
│
├─
invalid_memory_reference
│
├─
kill
│
├─
quit
│
├─
terminate
│
└─
trap
├─
outcome
├─
panic
(2 args)
├─
property
│
├─
countable
│
├─
equatable
│
├─
hashable
│
├─
orderable
│
└─
partially_orderable
├─
quantor
├─
random
(1 arg)
├─
Random_Handler
├─
realtime
├─
Sequence
├─
state
(3 args)
├─
String
│
├─
cut_result
│
└─
infix *
(1 arg)
├─
switch
├─
time
│
├─
calendar_duration
│
├─
date_time
(7 args)
│
├─
duration
│
├─
instant
│
├─
nano
(1 arg)
│
├─
Nano_Time_Handler
│
├─
now
(1 arg)
│
└─
units
├─
transducer
(1 arg)
├─
trit
├─
true_
├─
tuple
(1 arg)
├─
Type
├─
u128
(2 args)
├─
u16
(1 arg)
├─
u32
(1 arg)
├─
u64
(1 arg)
├─
u8
(1 arg)
├─
uint
├─
Unary
├─
unique_id
(1 arg)
├─
Unique_Id_Handler
├─
unit
└─
void
infix ||||>
infix ||||>
infix ||||>
(A
type
, B
type
, C
type
, D
type
, R
type
, a
tuple A B C D
, f
Function R A B C D
)
=>
R
[Contains abstract features]
¶
[src]
infix ||||> -- pipe with a four-tuple argument, destructuring the tuple into arguments
This allows changing the order of function application: instead of
f(a,b,c,d i32) => a+b+c+d
t := (1,2,3,4)
r := f t.0 t.1 t.2 t.3
you can write
f(a,b,c,d i32) => a+b+c+d
t := (1,2,3,4)
r := t ||||> f
which often correponds more naturally to the data flow through the code.
Type Parameters
A
:
Any
¶
[src]
B
:
Any
¶
[src]
C
:
Any
¶
[src]
D
:
Any
¶
[src]
R
:
Any
¶
[src]
0.094dev (2025-06-18 15:08:51 GIT hash 89cffc23ae669b0898a5564fefbf793fcb8e5ca7 built by fridi@fzen)
This allows changing the order of function application: instead of
f(a,b,c,d i32) => a+b+c+d
t := (1,2,3,4)
r := f t.0 t.1 t.2 t.3
you can write
f(a,b,c,d i32) => a+b+c+d
t := (1,2,3,4)
r := t ||||> f
which often correponds more naturally to the data flow through the code.