summaryrefslogtreecommitdiff
path: root/dhall/src/lib.rs
blob: 103fd29dd8a6e2d90551a6bafd9ca86b240d145e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#![feature(trace_macros)]
#![feature(proc_macro_hygiene)]
#![feature(slice_patterns)]
#![allow(
    clippy::type_complexity,
    clippy::infallible_destructuring_match,
    clippy::many_single_char_names
)]

mod normalize;
pub use crate::normalize::*;
pub mod binary;
mod dhall_type;
pub mod imports;
pub mod typecheck;
pub use crate::dhall_type::*;
pub use dhall_generator::expr;
pub use dhall_generator::subexpr;
pub use dhall_generator::Type;

pub use crate::imports::*;

// pub struct DhallExpr(dhall_core::DhallExpr);

// impl DhallExpr {
//     pub fn normalize(self) -> Self {
//         DhallExpr(crate::normalize::normalize(self.0))
//     }
// }