pub use leanfran_macros::{exported, lean, model, opaque, Model};
pub use leanfran_runtime as runtime;
pub use leanfran_runtime::{FromLean, Int, Model, Nat, ToLean};
pub mod spec;
#[cfg(feature = "check")]
pub mod check {
pub use proptest;
pub struct Shown<'a, T>(pub &'a T);
pub trait ShowDebug {
fn show(&self) -> String;
}
impl<T: std::fmt::Debug> ShowDebug for Shown<'_, T> {
fn show(&self) -> String {
format!("{:?}", self.0)
}
}
pub trait ShowOther {
fn show(&self) -> String;
}
impl<T> ShowOther for &Shown<'_, T> {
fn show(&self) -> String {
"_".to_string()
}
}
}