Module function_traits

Source

Structs§

FunctionCall
Represents a function call with its arguments, name and source span.

Traits§

RoocFunction
Trait defining the interface for Rooc functions.

Functions§

default_rooc_function_to_latex
Converts a function call to LaTeX format.
default_rooc_function_to_string
Converts a function call to a string representation.
default_type_check
The default type check implementation, it performs type checking of function arguments against expected types.
default_wrong_number_of_arguments
Creates an error for wrong number of arguments.
default_wrong_type
Creates a type error for wrong argument types.