Skip to main content

free_builtin

Function free_builtin 

Source
pub fn free_builtin(name: &str) -> Option<&'static FreeBuiltinSchema>
Expand description

The builtins that are called on nothing: the constructors Ok, Err, Some, Error, and Shared, and the assertions assert and assertEqual.

This is cove_schema::builtins::free_builtin, re-exported so that the interpreter still asks one module about builtins. Which of the two kinds an entry is decides which path a call is dispatched through, and how many arguments it declares is what that call is held to. The free builtin name describes itself with, if there is one.