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

Copyright(C) 2012-2016, University of Twente
LicenseBSD2 (see the file LICENSE)
MaintainerChristiaan Baaij <christiaan.baaij@gmail.com>
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