clash-lib-1.8.1: Clash: a functional hardware description language - As a library
Copyright(C) 2017 Google Inc.
2023 QBayLogic B.V.
LicenseBSD2 (see the file LICENSE)
MaintainerQBayLogic B.V. <devops@qbaylogic.com>
Safe HaskellNone
LanguageHaskell2010

GHC.BasicTypes.Extra

Description

 
Synopsis

Documentation

isNoInline :: InlineSpec -> Bool Source #

Determine whether given InlineSpec is NOINLINE or more strict (OPAQUE)

isOpaque :: InlineSpec -> Bool Source #

Determine whether given InlineSpec is OPAQUE. If this function is used on a GHC that does not support OPAQUE yet (<9.4), it will return True if given InlineSpec is NOINLINE instead.

Orphan instances

Generic InlineSpec Source # 
Instance details

Associated Types

type Rep InlineSpec :: Type -> Type Source #

Binary InlineSpec Source # 
Instance details

NFData InlineSpec Source # 
Instance details

Methods

rnf :: InlineSpec -> () Source #