Hoogle Search
Within LTS Haskell 24.41 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
module Optics.TH.Internal.
Product No documentation available.
-
optparse-generic Options.Generic A class for all record fields that can be parsed from exactly one option or argument on the command line parseField has a default implementation for any type that implements Read and Typeable. You can derive Read for many types and you can derive Typeable for any type if you enable the DeriveDataTypeable language extension
class ParseRecord a =>
ParseFields aoptparse-generic Options.Generic A class for all types that can be parsed from zero or more arguments/options on the command line parseFields has a default implementation for any type that implements ParseField
-
optparse-generic Options.Generic A class for types that can be parsed from the command line This class has a default implementation for any type that implements Generic and you can derive Generic for many types by enabling the DeriveGeneric language extension You can also use getOnly to create a ParseRecord instance from a ParseFields instance:
instance ParseRecord MyType where parseRecord = fmap getOnly parseRecord
-
optparse-generic Options.Generic Monoid under multiplication.
Product x <> Product y == Product (x * y)
Examples
>>> Product 3 <> Product 4 <> mempty Product {getProduct = 12}>>> mconcat [ Product n | n <- [2 .. 10]] Product {getProduct = 3628800} -
optparse-generic Options.Generic No documentation available.
-
No documentation available.
newtype
PatchDMap (k1 :: k -> Type) (v :: k -> Type)patch Data.Patch A set of changes to a DMap. Any element may be inserted/updated or deleted. Insertions are represented as ComposeMaybe (Just value), while deletions are represented as ComposeMaybe Nothing.
PatchDMap :: DMap k1 (ComposeMaybe v) -> PatchDMap (k1 :: k -> Type) (v :: k -> Type)patch Data.Patch No documentation available.
data
PatchDMapWithMove (k1 :: k -> Type) (v :: k -> Type)patch Data.Patch Like PatchMapWithMove, but for DMap. Each key carries a NodeInfo which describes how it will be changed by the patch and connects move sources and destinations. Invariants:
- A key should not move to itself.
- A move should always be represented with both the destination key (as a From_Move) and the source key (as a ComposeMaybe (Just destination))