summaryrefslogtreecommitdiff
path: root/dhall/src/lib.rs
blob: 0270103ca7748fe25ef9e0ddd02692494f1a26bb (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
#![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::Type;

pub use crate::imports::*;

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

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