clash-lib-0.7: 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.Literal

Description

Term Literal

Synopsis

Documentation

data Literal Source #

Term Literal

Instances

Eq Literal Source # 

Methods

(==) :: Literal -> Literal -> Bool #

(/=) :: Literal -> Literal -> Bool #

Ord Literal Source # 
Show Literal Source # 
Generic Literal Source # 

Associated Types

type Rep Literal :: * -> * #

Methods

from :: Literal -> Rep Literal x #

to :: Rep Literal x -> Literal #

NFData Literal Source # 

Methods

rnf :: Literal -> () #

Alpha Literal Source # 
Pretty Literal Source # 

Methods

ppr :: LFresh m => Literal -> m Doc Source #

pprPrec :: LFresh m => Rational -> Literal -> m Doc Source #

Subst a Literal Source # 
type Rep Literal Source # 

literalType :: Literal -> Type Source #

Determines the Type of a Literal