Skip to content

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

Functions & Modules

Data Structures

Modules

  • Seq - contains functions for manipulating sequences
  • Set - contains functions for manipulating sets
  • Dict - contains functions for manipulating dictionaries
  • Tuple - helper functions for analyzing/manipulating tuples
  • STM - Software Transactional Memory

Asynchronous Operation

Functions

  • async - Executes the lambda asynchronously
  • drop - Execute the callback without waiting on its result
  • never - Function that is never completed
  • sleep - Suspends computation by specified duration
  • timeout - Either the provided value is computed by the specified timeout, or a :timeout exception is raised

Type Manipulations

Modules

  • Types - contains functions for checking a type of a value

Functions

  • str - Converts any value to its string representation
  • int - Converts any number to to int
  • float - Converts any value to float
  • ord - Return byte representation of an ASCII character

Control Flow

Functions

  • infi - Invoke functions infinite number of times
  • times - Repeat function n times

Input/Output

Modules

Interoperability

Modules

  • java\Types - Java types conversions
  • Java - Java interoperability interface
  • System - execute external system programs

Functions

  • eval - Dynamically evaluates the string as a Yona express

Miscellaneous

Modules

Functions

  • identity - Returns the value provided to it as an argument, without any modification

Time & Date

Modules

  • Time - Time related functions

Last update: August 25, 2021

Comments