pub fn to_doc(&self) -> Doc<'_, BoxDoc<'_, ()>> {
        match self {
            Pattern::Var(name) => name.to_doc(),
        }
    }
/// Convert the pattern into a pretty-printable document
Convert the pattern into a pretty-printable document
Convert the pattern into a pretty - printable document
pub fn to_doc(&self) -> Doc<'_, BoxDoc<'_, ()>> {
        match self {
            Pattern::Var(name) => name.to_doc(),
        }
    }
pub fn to_doc ( & self ) -> Doc < ' _ , BoxDoc < ' _ , ( ) > > { match self { Pattern :: Var ( name ) => name . to_doc ( ) , } }
Convert the pattern into a pretty-printable document
Convert the pattern into a pretty - printable document
&self