Module ryan::environment::native

source ·
Expand description

Ryan native extensions.

Structs

  • A wrapper around a string that implements Error. Use this type to conveniently throw log-and-forget errors from your extensions.
  • A native pattern match. It matches a Ryan value to a given pattern and, if there is a match, applies a supplied closure to the value. Use this type to create your own extensions and built-in functions to Ryan.

Constants

  • The Ryan default built_ins that are supplied as “batteries included”. All default built_ins are guaranteed to finish executing and to not access the outside environment, in compliance to Ryan’s key principles.