| Copyright | (c) Galois Inc 2014 |
|---|---|
| Maintainer | Joe Hendrix <jhendrix@galois.com> |
| Safe Haskell | Safe |
| Language | Haskell98 |
Data.Parameterized.Some
Description
This module provides Some, a GADT that hides a type parameter.
Synopsis
Documentation
data Some (f :: k -> *) Source #
Constructors
| Some (f x) |
traverseSome :: Functor m => (forall tp. f tp -> m (g tp)) -> Some f -> m (Some g) Source #
Modify the inner value.
traverseSome_ :: Functor m => (forall tp. f tp -> m ()) -> Some f -> m () Source #
Modify the inner value.