sim-shape 0.1.0-rc.1

Shape algebra, comparison, and match-hook helpers.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
//! Primitive shapes: the atomic shapes, the combinators that build larger
//! shapes from them, and the object-grammar shapes for structured expressions.

mod atomic;
mod combinators;
mod object;

pub use atomic::{AnyShape, ClassShape, ExactExprShape, ExprKindShape, NumberValueShape};
pub use combinators::{
    CaptureShape, EffectfulShape, ListShape, OneOfShape, PrattShape, ShapeExprParser,
};
pub use object::{FieldShape, FieldSpec, ObjectExpr};