The Hare standard library +x86_64 +linux
This is the Hare standard library reference documentation. For a guided introduction to the standard library, see the tutorial:
https://harelang.org/tutorials/stdlib
The standard library mandate states that the following services are provided:
- An interface to the host operating system
- Implementations of broadly useful algorithms
- Implementations of broadly useful formats and protocols
- Useful features to complement Hare language features
- Introspective meta-features for Hare-aware programs
Modules
- ascii: ASCII character classification and utilities
- bufio: buffered I/O primitives
- bytes: utilities for working with slices of bytes
- crypto: cryptographic algorithms
- debug: runtime debugging support
- dirs: XDG base directories support
- encoding: text and binary encodings support
- endian: endian conversion utilities
- errors: general-purpose error types
- fmt: formatted string I/O
- fnmatch: wildcard pattern matching support
- format: file formats support
- fs: high-level filesystem abstraction
- getopt: command line option parsing
- glob: pattern matching on file paths
- hare: language introspection tools
- hash: cryptographic and non-cryptographic hashing algorithms
- io: high-level I/O abstraction and low-level file I/O
- log: general-purpose logging system
- math: common mathematical functions and floating point support
- memio: memory-backed I/O primitives
- mime: MIME type database
- net: networking support
- os: operating system features and the local filesystem
- path: filesystem path normalization and manipulation
- regex: regular expressions
- rt: low-level runtime support
- shlex: lexical support for POSIX shell grammar
- sort: sorting algorithms and support for sorted data structures
- strconv: conversion between strings and numeric types
- strings: basic analysis and manipulation of strings
- temp: temporary files and directories
- test: test runtime and testing tools
- time: time, time zones, calendars, system clock, etc
- types: constants and types related to the Hare type system
- unix: support for Unix-specific functionality
- uuid: RFC 9562-compatible Univerally Unique IDentifiers.
- wordexp: shell expansion support