clash-lib-1.8.4: Clash: a functional hardware description language - As a library
Copyright(C) 2017 Google Inc.
LicenseBSD2 (see the file LICENSE)
MaintainerChristiaan Baaij <christiaan.baaij@gmail.com>
Safe HaskellNone
LanguageHaskell2010

Clash.Core.Name

Description

Names

Documentation

data NameSort Source #

Constructors

User 
System 
Internal 

Instances

Instances details
Binary NameSort Source # 
Instance details

Defined in Clash.Core.Name

Methods

put :: NameSort -> Put

get :: Get NameSort

putList :: [NameSort] -> Put

NFData NameSort Source # 
Instance details

Defined in Clash.Core.Name

Methods

rnf :: NameSort -> ()

Generic NameSort Source # 
Instance details

Defined in Clash.Core.Name

Associated Types

type Rep NameSort 
Instance details

Defined in Clash.Core.Name

type Rep NameSort = D1 ('MetaData "NameSort" "Clash.Core.Name" "clash-lib-1.8.4-LRerWkkgeHOGhsvLM5mWaX" 'False) (C1 ('MetaCons "User" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "System" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Internal" 'PrefixI 'False) (U1 :: Type -> Type)))

Methods

from :: NameSort -> Rep NameSort x

to :: Rep NameSort x -> NameSort

Show NameSort Source # 
Instance details

Defined in Clash.Core.Name

Eq NameSort Source # 
Instance details

Defined in Clash.Core.Name

Ord NameSort Source # 
Instance details

Defined in Clash.Core.Name

Hashable NameSort Source # 
Instance details

Defined in Clash.Core.Name

type Rep NameSort Source # 
Instance details

Defined in Clash.Core.Name

type Rep NameSort = D1 ('MetaData "NameSort" "Clash.Core.Name" "clash-lib-1.8.4-LRerWkkgeHOGhsvLM5mWaX" 'False) (C1 ('MetaCons "User" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "System" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Internal" 'PrefixI 'False) (U1 :: Type -> Type)))

data Name a Source #

Constructors

Name 

Instances

Instances details
Binary (Name a) Source # 
Instance details

Defined in Clash.Core.Name

Methods

put :: Name a -> Put

get :: Get (Name a)

putList :: [Name a] -> Put

PrettyPrec (Name a) Source # 
Instance details

Defined in Clash.Core.Pretty

ClashPretty (Name a) Source # 
Instance details

Defined in Clash.Core.Pretty

Methods

clashPretty :: Name a -> Doc () Source #

Uniquable (Name a) Source # 
Instance details

Defined in Clash.Core.Name

NFData (Name a) Source # 
Instance details

Defined in Clash.Core.Name

Methods

rnf :: Name a -> ()

Generic (Name a) Source # 
Instance details

Defined in Clash.Core.Name

Associated Types

type Rep (Name a) 
Instance details

Defined in Clash.Core.Name

type Rep (Name a) = D1 ('MetaData "Name" "Clash.Core.Name" "clash-lib-1.8.4-LRerWkkgeHOGhsvLM5mWaX" 'False) (C1 ('MetaCons "Name" 'PrefixI 'True) ((S1 ('MetaSel ('Just "nameSort") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 NameSort) :*: S1 ('MetaSel ('Just "nameOcc") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 OccName)) :*: (S1 ('MetaSel ('Just "nameUniq") 'SourceUnpack 'SourceStrict 'DecidedStrict) (Rec0 Unique) :*: S1 ('MetaSel ('Just "nameLoc") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 SrcSpan))))

Methods

from :: Name a -> Rep (Name a) x

to :: Rep (Name a) x -> Name a

Show (Name a) Source # 
Instance details

Defined in Clash.Core.Name

Methods

showsPrec :: Int -> Name a -> ShowS #

show :: Name a -> String #

showList :: [Name a] -> ShowS #

Eq (Name a) Source # 
Instance details

Defined in Clash.Core.Name

Methods

(==) :: Name a -> Name a -> Bool #

(/=) :: Name a -> Name a -> Bool #

Ord (Name a) Source # 
Instance details

Defined in Clash.Core.Name

Methods

compare :: Name a -> Name a -> Ordering #

(<) :: Name a -> Name a -> Bool #

(<=) :: Name a -> Name a -> Bool #

(>) :: Name a -> Name a -> Bool #

(>=) :: Name a -> Name a -> Bool #

max :: Name a -> Name a -> Name a #

min :: Name a -> Name a -> Name a #

Hashable (Name a) Source # 
Instance details

Defined in Clash.Core.Name

Methods

hashWithSalt :: Int -> Name a -> Int Source #

hash :: Name a -> Int Source #

type Rep (Name a) Source # 
Instance details

Defined in Clash.Core.Name

type Rep (Name a) = D1 ('MetaData "Name" "Clash.Core.Name" "clash-lib-1.8.4-LRerWkkgeHOGhsvLM5mWaX" 'False) (C1 ('MetaCons "Name" 'PrefixI 'True) ((S1 ('MetaSel ('Just "nameSort") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 NameSort) :*: S1 ('MetaSel ('Just "nameOcc") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 OccName)) :*: (S1 ('MetaSel ('Just "nameUniq") 'SourceUnpack 'SourceStrict 'DecidedStrict) (Rec0 Unique) :*: S1 ('MetaSel ('Just "nameLoc") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 SrcSpan))))

type OccName = Text Source #

appendToName :: Name a -> Text -> Name a Source #