| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Data.Serialize.Describe.Combinators.FList
Documentation
flist :: (Describe a, Nullable a) => Int -> (s -> [a]) -> Descriptor s [a] Source #
A fixed-length list combinator, with similar semantics to FText. The list element must be Nullable, meaning that it must have default value that can be used for padding the list if need be.
newtype FList (n :: Nat) a Source #
A type level wrapper around flist.
Constructors
| FList | |
Fields
| |
class Nullable a where Source #
Instances
| Num n => Nullable n Source # | |
Defined in Data.Serialize.Describe.Combinators.FList | |
| Num n => Nullable (LE n) Source # | |
Defined in Data.Serialize.Describe.Combinators.FList | |
| Num n => Nullable (BE n) Source # | |
Defined in Data.Serialize.Describe.Combinators.FList | |
| Nullable (Const n a) Source # | |
Defined in Data.Serialize.Describe.Combinators.FList | |