summaryrefslogtreecommitdiff
path: root/crates/typst-library/src/compute/mod.rs
blob: f1af24c55f0da4270664dc0607f1b70c3a08dcea (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
//! Computational functions.

pub mod calc;
pub mod sys;

mod data;
mod foundations;

pub use self::data::*;
pub use self::foundations::*;

use crate::prelude::*;

/// Hook up all compute definitions.
pub(super) fn define(global: &mut Scope) {
    self::foundations::define(global);
    self::data::define(global);
    self::calc::define(global);
    self::sys::define(global);
}