Standard LibraryΒΆ
Welcome to the Guppy standard library. The Standard library provides a toolbox of functions and data structures to be used in Guppy programs.
Standard library builtins are to be used within Guppy functions or structs annotated with the @guppy decorator.
This distinguishes the guppylang.std
module from other Guppy modules like guppy.emulator and guppy.definition which define classes and functions to be used in the outer Python scope.
Guppy standard module for dyadic rational angles. |
|
Utilities for fixed-size arrays, denoted array[T, n], for element type T and compile-time constant size n. |
|
Operations on booleans. |
|
Reexports core types and functions that are available without an explicit import. |
|
Provides Python objects for builtin language keywords. |
|
Guppy standard module for debug functionality. |
|
Union of two types. |
|
Utilities for iteration over collections of values. |
|
EXPERIMENTAL: The list type |
|
Utilities for advanced usage of ownership and borrowing. |
|
Numeric types and methods. |
|
Platform functions. |
|
Guppy standard module for quantum operations. |
|
Deprecated: Use guppylang.std.quantum.functional instead. |
|
Utilities for compile-time reflection. |
|
The string type. |