pub fn readback(value: &Value) -> Term {
    match value {
        Value::Neutral(head, elims) => readback_neutral(head, elims),
        Value::Universe(universe) => Term::Universe(Span::initial(), *universe),
        Value::U8Type => Term::U8Type(Span::initial()),
        Value::U16LeType => Term::U16LeType(Span::initial()),
        Value::U16BeType => Term::U16BeType(Span::initial()),
        Value::U32LeType => Term::U32LeType(Span::initial()),
        Value::U32BeType => Term::U32BeType(Span::initial()),
        Value::U64LeType => Term::U64LeType(Span::initial()),
        Value::U64BeType => Term::U64BeType(Span::initial()),
        Value::S8Type => Term::S8Type(Span::initial()),
        Value::S16LeType => Term::S16LeType(Span::initial()),
        Value::S16BeType => Term::S16BeType(Span::initial()),
        Value::S32LeType => Term::S32LeType(Span::initial()),
        Value::S32BeType => Term::S32BeType(Span::initial()),
        Value::S64LeType => Term::S64LeType(Span::initial()),
        Value::S64BeType => Term::S64BeType(Span::initial()),
        Value::F32LeType => Term::F32LeType(Span::initial()),
        Value::F32BeType => Term::F32BeType(Span::initial()),
        Value::F64LeType => Term::F64LeType(Span::initial()),
        Value::F64BeType => Term::F64BeType(Span::initial()),
        Value::BoolType => Term::BoolType(Span::initial()),
        Value::IntType => Term::IntType(Span::initial()),
        Value::F32Type => Term::F32Type(Span::initial()),
        Value::F64Type => Term::F64Type(Span::initial()),
        Value::BoolConst(value) => Term::BoolConst(Span::initial(), *value),
        Value::IntConst(value) => Term::IntConst(Span::initial(), value.clone()),
        Value::F32Const(value) => Term::F32Const(Span::initial(), *value),
        Value::F64Const(value) => Term::F64Const(Span::initial(), *value),
        Value::Error => Term::Error(Span::initial()),
    }
}
/// Read a value back into the term syntax.
Read a value back into the term syntax.
Read a value back into the term syntax .
pub fn readback(value: &Value) -> Term {
    match value {
        Value::Neutral(head, elims) => readback_neutral(head, elims),
        Value::Universe(universe) => Term::Universe(Span::initial(), *universe),
        Value::U8Type => Term::U8Type(Span::initial()),
        Value::U16LeType => Term::U16LeType(Span::initial()),
        Value::U16BeType => Term::U16BeType(Span::initial()),
        Value::U32LeType => Term::U32LeType(Span::initial()),
        Value::U32BeType => Term::U32BeType(Span::initial()),
        Value::U64LeType => Term::U64LeType(Span::initial()),
        Value::U64BeType => Term::U64BeType(Span::initial()),
        Value::S8Type => Term::S8Type(Span::initial()),
        Value::S16LeType => Term::S16LeType(Span::initial()),
        Value::S16BeType => Term::S16BeType(Span::initial()),
        Value::S32LeType => Term::S32LeType(Span::initial()),
        Value::S32BeType => Term::S32BeType(Span::initial()),
        Value::S64LeType => Term::S64LeType(Span::initial()),
        Value::S64BeType => Term::S64BeType(Span::initial()),
        Value::F32LeType => Term::F32LeType(Span::initial()),
        Value::F32BeType => Term::F32BeType(Span::initial()),
        Value::F64LeType => Term::F64LeType(Span::initial()),
        Value::F64BeType => Term::F64BeType(Span::initial()),
        Value::BoolType => Term::BoolType(Span::initial()),
        Value::IntType => Term::IntType(Span::initial()),
        Value::F32Type => Term::F32Type(Span::initial()),
        Value::F64Type => Term::F64Type(Span::initial()),
        Value::BoolConst(value) => Term::BoolConst(Span::initial(), *value),
        Value::IntConst(value) => Term::IntConst(Span::initial(), value.clone()),
        Value::F32Const(value) => Term::F32Const(Span::initial(), *value),
        Value::F64Const(value) => Term::F64Const(Span::initial(), *value),
        Value::Error => Term::Error(Span::initial()),
    }
}
pub fn readback ( value : & Value ) -> Term { match value { Value :: Neutral ( head , elims ) => readback_neutral ( head , elims ) , Value :: Universe ( universe ) => Term :: Universe ( Span :: initial ( ) , * universe ) , Value :: U8Type => Term :: U8Type ( Span :: initial ( ) ) , Value :: U16LeType => Term :: U16LeType ( Span :: initial ( ) ) , Value :: U16BeType => Term :: U16BeType ( Span :: initial ( ) ) , Value :: U32LeType => Term :: U32LeType ( Span :: initial ( ) ) , Value :: U32BeType => Term :: U32BeType ( Span :: initial ( ) ) , Value :: U64LeType => Term :: U64LeType ( Span :: initial ( ) ) , Value :: U64BeType => Term :: U64BeType ( Span :: initial ( ) ) , Value :: S8Type => Term :: S8Type ( Span :: initial ( ) ) , Value :: S16LeType => Term :: S16LeType ( Span :: initial ( ) ) , Value :: S16BeType => Term :: S16BeType ( Span :: initial ( ) ) , Value :: S32LeType => Term :: S32LeType ( Span :: initial ( ) ) , Value :: S32BeType => Term :: S32BeType ( Span :: initial ( ) ) , Value :: S64LeType => Term :: S64LeType ( Span :: initial ( ) ) , Value :: S64BeType => Term :: S64BeType ( Span :: initial ( ) ) , Value :: F32LeType => Term :: F32LeType ( Span :: initial ( ) ) , Value :: F32BeType => Term :: F32BeType ( Span :: initial ( ) ) , Value :: F64LeType => Term :: F64LeType ( Span :: initial ( ) ) , Value :: F64BeType => Term :: F64BeType ( Span :: initial ( ) ) , Value :: BoolType => Term :: BoolType ( Span :: initial ( ) ) , Value :: IntType => Term :: IntType ( Span :: initial ( ) ) , Value :: F32Type => Term :: F32Type ( Span :: initial ( ) ) , Value :: F64Type => Term :: F64Type ( Span :: initial ( ) ) , Value :: BoolConst ( value ) => Term :: BoolConst ( Span :: initial ( ) , * value ) , Value :: IntConst ( value ) => Term :: IntConst ( Span :: initial ( ) , value . clone ( ) ) , Value :: F32Const ( value ) => Term :: F32Const ( Span :: initial ( ) , * value ) , Value :: F64Const ( value ) => Term :: F64Const ( Span :: initial ( ) , * value ) , Value :: Error => Term :: Error ( Span :: initial ( ) ) , } }
Read a value back into the term syntax.
Read a value back into the term syntax .
value
&Value
value
&Value