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

pub mod calc;

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);
}