pkgsrc/devel/hs-some/DESCR
pho 0e1fc56e27 devel/hs-some: import hs-some-1.0.3
This library defines an existential type Some.

data Some f where
    Some :: f a -> Some f

in few variants, and utilities to work with it.

If you are unsure which variant to use, use the one in Data.Some module.
2022-02-16 05:04:23 +00:00

8 lines
215 B
Text

This library defines an existential type Some.
data Some f where
Some :: f a -> Some f
in few variants, and utilities to work with it.
If you are unsure which variant to use, use the one in Data.Some module.