Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

..
Failed to load latest commit information.
Main.hs
Protected.hs
readme

readme

The idea is to use typeable to perform unsafe
casts between types.

results
-------

 - Since Typeable only operates on types (and ignores values/constructors)
   we can define a standalone deriving instances for Typeable even when we
   don't have access to all the constructors for the type.
 - We can still restrict access to the class method, 'typeOf'.

Something went wrong with that request. Please try again.