Skip to content

Following functions and modules are provided as part of the standard library.

Functions

  • sleep - Suspends computation by specified duration
  • timeout - Either the provided value is computed by the specified timeout, or a :timeout exception is raised
  • async - Executes the lambda asynchronously
  • identity - Returns the value provided to it as an argument, without any modification
  • str - Converts any value to its string representation
  • int - Converts any number to to int
  • float - Converts any value to float
  • eval - Dynamically evaluates the string as a Yona expression
  • never - Function that is never completed

Modules

  • Types - contains functions for checking a type of a value
  • IO - standard input/output actions
  • Seq - contains functions for manipulating sequences
  • Set - contains functions for manipulating sets
  • Dict - contains functions for manipulating dictionaries
  • File - contains functions for manipulating files
  • Transducers - contains reducer transformers, used for example by generators
  • JSON - JSON parser and generator functions
  • Tuple - helper functions for analyzing/manipulating tuples
  • http\Client - simple HTTP client
  • http\Server Java - Java interop functions
  • java\Types - Java types conversions
  • Java - Java interoperability interface
  • System - execute external system programs
  • context\Local - utilities for implementing custom context managers, see resource management for details
  • STM - Software Transactional Memory
  • Regexp - Regular Expressions

Last update: August 28, 2020