Hoogle Search
Within LTS Haskell 24.28 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
boolFromBit :: (HasCallStack, Backend backend) => Text -> TExpr -> State (BlockState backend) TExprclash-lib Clash.Primitives.DSL Use to create an output Bool from a Bit. The expression given must be the identifier of the bool you wish to get assigned. Returns a reference to a declared Bit that should get assigned by something (usually the output port of an entity).
boolFromBitVector :: Size -> Text -> TExpr -> State (BlockState VHDLState) TExprclash-lib Clash.Primitives.DSL Used to create an output Bool from a BitVector of given size. Works in a similar way to boolFromBit above. TODO: Implement for (System)Verilog
boolFromBits :: [Text] -> TExpr -> State (BlockState VHDLState) [TExpr]clash-lib Clash.Primitives.DSL Used to create an output Bool from a number of Bits, using conjunction. Similarly to untuple, it returns a list of references to declared values (the inputs to the function) which should get assigned by something---usually output ports of an entity. TODO: Implement for (System)Verilog
boolToBit :: (HasCallStack, Backend backend) => Text -> TExpr -> State (BlockState backend) TExprclash-lib Clash.Primitives.DSL Convert a bool to a bit.
boolOption :: Mod OptionFields Bool -> Parser Boolconfiguration-tools Configuration.Utils.CommandLine The boolOption is an alternative to switch. Using switch with command line parsers that overwrite settings from a configuration file is problematic: the absence of the switch is interpreted as setting the respective configuration value to False. So there is no way to specify on the command line that the value from the configuration file shall be used. Some command line UIs use two different options for those values, for instance --enable-feature and --disable-feature. This option instead expects a Boolean value. Beside that it behaves like any other option.
boolOption_ :: Mod FlagFields Bool -> Parser Boolconfiguration-tools Configuration.Utils.CommandLine An alternative syntax for boolOption for options with long names. Instead of taking a boolean argument the presence of the option acts as a switch to set the respective configuration setting to True. If the option is not present the setting is left unchanged. In addition for long option names a respective unset flag is provided. For instance for a flag --verbose there will also be a flag --no-verbose. This can still be used with short option names only, but no unset flag would be provided.
boolReader :: (Eq a, Show a, FoldCase a, IsString a, IsString e, Monoid e) => a -> Either e Boolconfiguration-tools Configuration.Utils.CommandLine No documentation available.
-
data-prometheus Data.Prometheus.Monad Convert Bool to Gauge, 0 meaning False
boolFlag :: Name -> Description -> FlagsParser Boolflags-applicative Flags.Applicative Returns a parser with the given name and description for a flag with no value, returning whether the flag was present.
-
generic-case Generics.Case Same as bool, except the Bool comes before the case functions. Equivalent type signature:
boolL :: forall r. Analysis Bool r
The implementation is just:boolL = gcase