Copyright | (C) 2017 Google Inc. 2023 QBayLogic B.V. |
---|---|
License | BSD2 (see the file LICENSE) |
Maintainer | QBayLogic B.V. <devops@qbaylogic.com> |
Safe Haskell | None |
Language | Haskell2010 |
GHC.BasicTypes.Extra
Contents
Description
Synopsis
- isNoInline :: InlineSpec -> Bool
- isOpaque :: InlineSpec -> Bool
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 # | |
Binary InlineSpec Source # | |
Methods put :: InlineSpec -> Put Source # get :: Get InlineSpec Source # putList :: [InlineSpec] -> Put Source # | |
NFData InlineSpec Source # | |
Methods rnf :: InlineSpec -> () Source # |