Commit e62439c4 authored by dterei's avatar dterei
Browse files

Update safe haskell doc about Data.Typeable

parent 9500b166
......@@ -293,6 +293,12 @@
compilation error will occur. A simple way to think of this is a
<emphasis>same origin policy</emphasis> for overlapping instances
defined in Safe compiled modules.</listitem>
<listitem><emphasis>Data.Typeable</emphasis> &mdash; We restrict Typeable
instances to only derived ones (offered by GHC through the
<link linkend="deriving-typeable"><option>-XDeriveDataTypeable</option>
</link> extension). Hand crafted instances of the Typeable type class
are not allowed in Safe Haskell as this can easily be abused to
unsafely coerce between types.</listitem>
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment