Skip to main content

Module utils

Module utils 

Source
Expand description

Small shared utilities for the REPL.

Functionsยง

char_to_byte
Converts a char-indexed position in s to its byte offset.
push_error
Appends an OutputLine::Error derived from e to output.