Copyright | (c) Paul Schnapp 2023 |
---|---|
License | BSD3 |
Maintainer | Paul Schnapp <paul.schnapp@gmail.com> |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Datatype and functions for specifying the size of content.
Synopsis
- type SizedContentSize a = Maybe a
- sizedTo :: a -> SizedContentSize a
- sizedToContents :: SizedContentSize a
Documentation
type SizedContentSize a = Maybe a Source #
The size that the sized portion of a container should have;
see the Divided
container for an example use.
sizedTo :: a -> SizedContentSize a Source #
Use a set size for the sized portion of a container.
sizedToContents :: SizedContentSize a Source #
Use the inherent size of the content for the sized portion of a container.