| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Data.Simplifiable
Description
and WeakMaps where duplicate elements remain in the container until the end of the lifetime of the container. Calling simplify on them will remove duplicate elements.
Copyright : Guillaume Sabbagh 2022
License : LGPL-3.0-or-later
Maintainer : guillaumesabbagh@protonmail.com
Stability : experimental
Portability : portable
A container may be simplified internally by the call of a function simplify. This is the case for WeakSets
and WeakMaps where duplicate elements remain in the container until the end of the lifetime of the container. Calling simplify on them will remove duplicate elements.
Synopsis
- class Simplifiable a where
- simplify :: a -> a
Documentation
class Simplifiable a where Source #
A container may be simplified internally by the call of a function simplify. This is the case for WeakSets
and WeakMaps where duplicate elements remain in the container until the end of the lifetime of the container. Calling --simplify on them will remove duplicate elements.