Docs.rs
malk-core-0.1.1
malk-core 0.1.1
Permalink
Docs.rs crate page
GPL-3.0
Links
Homepage
Repository
crates.io
Source
Owners
canndrew
Dependencies
Versions
45.26%
of the crate is documented
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
malk_
core
0.1.1
All Items
Crate Items
Structs
Enums
Functions
Crate
malk_core
Copy item path
Source
Structs
§
Intrinsic
Term
A pointer to a term.
World
Enums
§
Term
Kind
The different kinds of term that can appear in the AST.
Functions
§
bump_
index
Bump all the index of the variables in a term by
amount
, ignoring variables whose index is less than
cutoff
. This is hygenic when it recurses into subcontexts (ie. cutoff is adjusted appropriately).
normalise
Normalise a term.
reduce_
head
Normalise a term assuming all it’s subterms are already normalised. Does beta/eta reduction on the head of the term.
substitute
substitute
sub
for the variable at
index
.