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.

  1. boolFromBit :: (HasCallStack, Backend backend) => Text -> TExpr -> State (BlockState backend) TExpr

    clash-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).

  2. boolFromBitVector :: Size -> Text -> TExpr -> State (BlockState VHDLState) TExpr

    clash-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

  3. 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

  4. boolToBit :: (HasCallStack, Backend backend) => Text -> TExpr -> State (BlockState backend) TExpr

    clash-lib Clash.Primitives.DSL

    Convert a bool to a bit.

  5. boolOption :: Mod OptionFields Bool -> Parser Bool

    configuration-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.

  6. boolOption_ :: Mod FlagFields Bool -> Parser Bool

    configuration-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.

  7. boolReader :: (Eq a, Show a, FoldCase a, IsString a, IsString e, Monoid e) => a -> Either e Bool

    configuration-tools Configuration.Utils.CommandLine

    No documentation available.

  8. boolToGauge :: Bool -> Metric

    data-prometheus Data.Prometheus.Monad

    Convert Bool to Gauge, 0 meaning False

  9. boolFlag :: Name -> Description -> FlagsParser Bool

    flags-applicative Flags.Applicative

    Returns a parser with the given name and description for a flag with no value, returning whether the flag was present.

  10. boolL :: Bool -> r -> r -> r

    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
    

Page 61 of many | Previous | Next