clash-lib-0.3.0.4: CAES Language for Synchronous Hardware - As a Library

Safe HaskellNone
LanguageHaskell2010

CLaSH.Core.Pretty

Description

Pretty printing class and instances for CoreHW

Synopsis

Documentation

class Pretty p where Source

Pretty printing Show-like typeclass

Minimal complete definition

pprPrec

Methods

ppr :: (Applicative m, LFresh m) => p -> m Doc Source

pprPrec :: (Applicative m, LFresh m) => Rational -> p -> m Doc Source

showDoc :: Pretty p => p -> String Source

Print a Pretty thing to a String