Skip to content

Boarders/debugged

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

debugged

An implementation of debug pretty printing library inspired by purescript-debugged.

Features

  • ASCII coloured output:

    ascii-pretty

  • Generic deriving:

    We can declare a data type each of the fields having instances of debugged:

    generic-newtype-data

    And then using Deriving Via we get pretty printed output for free:

    generic-pretty

  • Newtypes for use with Deriving Via (using type level symbols):

    We can declare a data type of reverse lists (implemented here as a newtype for lists) along with giving a Foldable instance (not shown here):

    revlist-newtype-data

    Then given some reverse list:

    revlist-example

    We get pretty printing including the type name:

    revlist-pretty

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published