| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Agda.Utils.Pointer
Contents
Documentation
Instances
| Functor Ptr Source # | |
| Foldable Ptr Source # | |
| Traversable Ptr Source # | |
| Eq (Ptr a) Source # | |
| Data a => Data (Ptr a) Source # | |
| Ord (Ptr a) Source # | |
| Show a => Show (Ptr a) Source # | |
| NFData (Ptr a) Source # | |
| Hashable (Ptr a) Source # | |
| TermLike a => TermLike (Ptr a) Source # | |
| AbsTerm a => AbsTerm (Ptr a) Source # | |
updatePtrM :: Functor f => (a -> f a) -> Ptr a -> f (Ptr a) Source #
If f a contains many copies of a they will all be the same pointer in
the result. If the function is well-behaved (i.e. preserves the implicit
equivalence, this shouldn't matter).