home.social

#prettyprinting — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #prettyprinting, aggregated by home.social.

  1. #CommonLisp #Mastoquestions #prettyPrinting
    So I do want to pretty print some forms, but I don't want the "oh this is a when form" pretty printing. What to do?
    (princ '((when the first atom is when this happens)))
    (princ '((but otherwise this happens))
    *but imagine these forms are really long

  2. @phoe

    Note that the #PrettyPrinting dispatch tables of #CommonLisp conceptionally are a #GenericFunction with #ParametricDispatch.

    The function SET-PPRINT-DISPATCH is essentially an ADD-METHOD to the pretty printing parametric dispatch.

    (Unfortunatly, the canonical, #ProofOfConcept implementation of PP by #RichardWaters is one single convoluted mess; basically a negative example of software design, even by standards of its time.)

    🌺

    🏷️ #Lisp #Scheme #CLOS #AMOP #MetaObject #MetaObjectSystem

  3. @phoe

    Note that the #PrettyPrinting dispatch tables of #CommonLisp conceptionally are a #GenericFunction with #ParametricDispatch.

    The function SET-PPRINT-DISPATCH is essentially an ADD-METHOD to the pretty printing parametric dispatch.

    (Unfortunatly, the canonical, #ProofOfConcept implementation of PP by #RichardWaters is one single convoluted mess; basically a negative example of software design, even by standards of its time.)

    🌺

    🏷️ #Lisp #Scheme #CLOS #AMOP #MetaObject #MetaObjectSystem

  4. @phoe

    Note that the #PrettyPrinting dispatch tables of #CommonLisp conceptionally are a #GenericFunction with #ParametricDispatch.

    The function SET-PPRINT-DISPATCH is essentially an ADD-METHOD to the pretty printing parametric dispatch.

    (Unfortunatly, the canonical, #ProofOfConcept implementation of PP by #RichardWaters is one single convoluted mess; basically a negative example of software design, even by standards of its time.)

    🌺

    🏷️ #Lisp #Scheme #CLOS #AMOP #MetaObject #MetaObjectSystem

  5. @phoe

    Note that the #PrettyPrinting dispatch tables of #CommonLisp conceptionally are a #GenericFunction with #ParametricDispatch.

    The function SET-PPRINT-DISPATCH is essentially an ADD-METHOD to the pretty printing parametric dispatch.

    (Unfortunatly, the canonical, #ProofOfConcept implementation of PP by #RichardWaters is one single convoluted mess; basically a negative example of software design, even by standards of its time.)

    🌺

    🏷️ #Lisp #Scheme #CLOS #AMOP #MetaObject #MetaObjectSystem

  6. @phoe

    Note that the #PrettyPrinting dispatch tables of #CommonLisp conceptionally are a #GenericFunction with #ParametricDispatch.

    The function SET-PPRINT-DISPATCH is essentially an ADD-METHOD to the pretty printing parametric dispatch.

    (Unfortunatly, the canonical, #ProofOfConcept implementation of PP by #RichardWaters is one single convoluted mess; basically a negative example of software design, even by standards of its time.)

    🌺

    🏷️ #Lisp #Scheme #CLOS #AMOP #MetaObject #MetaObjectSystem