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 |
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 # | |
type Rep InlineSpec :: Type -> Type # from :: InlineSpec -> Rep InlineSpec x # to :: Rep InlineSpec x -> InlineSpec # | |
Binary InlineSpec Source # | |
NFData InlineSpec Source # | |
rnf :: InlineSpec -> () # |