gluon_base::types
pub fn instantiate<F>(typ: TcType, f: F) -> TcType where F: FnMut(&Generic<Symbol>) -> Option<TcType>