blob: 9e84de1b32166acc152979bef36d92c3e953aa91 (
plain) (
tree)
|
|
pub mod errors;
mod parser;
mod pattern;
mod vm;
pub use pattern::Pattern;
// TODO
pub trait PatternTypes {
/// The value type.
type Value;
type Iter;
}
// TODO
pub type Predicate<T> = dyn (Fn(&<T as PatternTypes>::Value) -> bool) + Send + Sync;
|