Commit e62439c4 authored by dterei's avatar dterei
Browse files

Update safe haskell doc about Data.Typeable

parent 9500b166
...@@ -293,6 +293,12 @@ ...@@ -293,6 +293,12 @@
compilation error will occur. A simple way to think of this is a compilation error will occur. A simple way to think of this is a
<emphasis>same origin policy</emphasis> for overlapping instances <emphasis>same origin policy</emphasis> for overlapping instances
defined in Safe compiled modules.</listitem> 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>
</itemizedlist> </itemizedlist>
</sect2> </sect2>
......
Markdown is supported
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