Copyright | (c) Andrey Mulik 2020 |
---|---|
License | BSD-style |
Maintainer | work.a.mulik@gmail.com |
Portability | non-portable (GHC extensions) |
Safe Haskell | Trustworthy |
Language | Haskell2010 |
SDP.Nullable provides Nullable
- class of types with empty values.
Nullable
class Nullable e where Source #
Nullable
is class of types which value may be empty.
Instances
Nullable [e] Source # | |
Nullable (Maybe e) Source # | |
Nullable (StablePtr e) Source # | |
Nullable (Ptr e) Source # | |
Nullable (ForeignPtr e) Source # | |
Defined in SDP.Nullable lzero :: ForeignPtr e Source # isNull :: ForeignPtr e -> Bool Source # | |
Nullable (SBytes# e) Source # | |
Nullable (SArray# e) Source # | |
Nullable (TArray# e) Source # | |
Index i => Nullable (i, i) Source # | |
Nullable (AnyChunks rep e) Source # | |
(Index i, Bordered (rep e) Int, Nullable (rep e)) => Nullable (AnyBorder rep i e) Source # | |