HMap-1.2.1: Fast heterogeneous maps and unconstrained typeable like functionality.

Copyright(c) Atze van der Ploeg 2013
LicenseBSD-style
Maintaineratzeus@gmail.org
Stabilityprovisional
Portabilityportable
Safe HaskellNone
LanguageHaskell98

Data.Untypeable

Description

Provides a Typeable-like interface for things that cannot derive typeable.

Synopsis

Documentation

inject :: HKey s a -> a -> Untypeable Source

Make an Untypeable value

project :: HKey s a -> Untypeable -> Maybe a Source

Project (i.e. cast) an untypeable value with a given key.