catlog/tt/prelude.rs
1//! Common imports for [`tt`](crate::tt).
2
3pub use crate::zero::{
4 LabelSegment,
5 qualified::{label_seg, name_seg},
6};
7pub use crate::zero::{dtry::*, idx::*, pretty::*, row::*};
8pub use crate::{one::Path, zero::NameSegment};
9pub use indexmap::IndexMap;
10pub use std::collections::HashMap;
11pub use std::rc::Rc;
12pub use tattle::{Loc, Reporter};
13pub use ustr::{Ustr, ustr};
14
15/// The type of local variable names.
16pub type VarName = NameSegment;
17/// The type of global variable names.
18pub type TopVarName = NameSegment;
19/// The type of field names in record types.
20pub type FieldName = NameSegment;