Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- productInfoMap :: Map Word32 (Features, Map Word32 ProductInfo)
- data Product = Product {}
- data ProductLookupError
- productLookup :: Word32 -> Word32 -> Word16 -> Word16 -> Either ProductLookupError Product
Documentation
Information about a particular LIFX product.
Instances
Eq Product Source # | |
Ord Product Source # | |
Defined in Lifx.Internal.ProductInfoMap | |
Show Product Source # | |
Generic Product Source # | |
type Rep Product Source # | |
Defined in Lifx.Internal.ProductInfoMap type Rep Product = D1 ('MetaData "Product" "Lifx.Internal.ProductInfoMap" "lifx-lan-0.6.2-AyNTE8xJSpoGkzxeeRNqOy" 'False) (C1 ('MetaCons "Product" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: (S1 ('MetaSel ('Just "productId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word32) :*: S1 ('MetaSel ('Just "features") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Features)))) |
data ProductLookupError Source #
Instances
productLookup :: Word32 -> Word32 -> Word16 -> Word16 -> Either ProductLookupError Product Source #