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

Safe HaskellNone

CLaSH.Core.Pretty

Description

Pretty printing class and instances for CoreHW

Synopsis

Documentation

class Pretty p whereSource

Pretty printing Show-like typeclass

Methods

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

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

showDoc :: Pretty p => p -> StringSource

Print a Pretty thing to a String