The system library

Functions used by Pacioli's runtime system. Not intended for user code.

Synopsis

_runtime_environment :: String

_acos :: for_index P, Q: (P! per Q!) -> P! per Q!
_add_mut :: for_type a: (List(a), a) -> List(a)
_asin :: for_index P, Q: (P! per Q!) -> P! per Q!
_atan :: for_index P, Q: (P! per Q!) -> P! per Q!
_atan2 :: for_unit a, P!u, Q!v: for_index P, Q: (a*P!u per Q!v, a*P!u per Q!v) -> P! per Q!
_nr_decimals :: () -> 1
_num2string :: for_unit a, I!u, J!v: for_index I, J: (a*I!u per J!v, 1, a*I!u per J!v) -> String
_precision :: () -> 1
_set_nr_decimals :: (1) -> Void
_set_precision :: (1) -> Void
_set_show_zeros :: (Boole) -> Void
_show_zeros :: () -> Boole
_skip :: () -> Void
_system_time :: () -> 1
_three_question_marks :: for_type t: () -> t

Values

_runtime_environment

:: String

Primitive value

The runtime environment the code is executing in, e.g., 'mvm' or 'javascript'.

Functions

_acos

:: for_index P, Q: (P! per Q!) -> P! per Q!

Primitive function

_add_mut

:: for_type a: (List(a), a) -> List(a)

Primitive function

_asin

:: for_index P, Q: (P! per Q!) -> P! per Q!

Primitive function

_atan

:: for_index P, Q: (P! per Q!) -> P! per Q!

Primitive function

_atan2

:: for_unit a, P!u, Q!v: for_index P, Q: (a*P!u per Q!v, a*P!u per Q!v) -> P! per Q!

Primitive function

_nr_decimals

:: () -> 1

Primitive function

_num2string

:: for_unit a, I!u, J!v: for_index I, J: (a*I!u per J!v, 1, a*I!u per J!v) -> String

Primitive function

_precision

:: () -> 1

Primitive function

_set_nr_decimals

:: (1) -> Void

Primitive function

_set_precision

:: (1) -> Void

Primitive function

_set_show_zeros

:: (Boole) -> Void

Primitive function

_show_zeros

:: () -> Boole

Primitive function

_skip

:: () -> Void

Primitive function

_system_time

:: () -> 1

Primitive function

_three_question_marks

:: for_type t: () -> t

Primitive function

Version v0.6.0, 2026-03-05T15:49:19.228456407+01:00[Europe/Amsterdam]