Module teko::utilities [] [src]

Utilities used by the implementation.

Functions

collect_pair_into_vec

Maps a linked list of data into a vector of data.

collect_pair_of_symbols_into_vec_string

Maps a linked list of symbols into a vector of strings.

compute_intersection

Takes the intersection of two sets.

compute_union

Takes the union of two sets.

data_name

Get the name associated with the data type.

err

Unwind and trace with an error message if it is Some.

internal_trace

Create a string of the entire program stack.

optimize_tail_call

Optimizes tail calls by seeing if the current params can be merged with the top of the stack.

optional_source
pop_parameters

Pops the specified parameters from the stack.

rc

Alias for Rc::new(_).

rcs

Alias for Rc::new(Sourcedata(None, _)).

unwind

Unwinds the stack until first wind is encountered.