1 2 3 4 5 6 7
use crate::r#type::{*, Type::*}; pub fn arr(a: impl Into<Box<Type>>, b: impl Into<Box<Type>>) -> Type { Arrow(a.into(), b.into()) }