mirror of
https://github.com/tweag/distributed-closure.git
synced 2024-11-25 08:19:05 +03:00
6059d410c4
`Typeable` instances are not user defined. But the user nevertheless sometimes needs static evidence of typeability. The solution is to allow users to write ```haskell withStatic [d| instance Typeable T |] ``` for any datatype `T`. `withStatic` will generate static evidence, but won't pass through the instance declaration itself, since it is illegal. |
||
---|---|---|
.. | ||
ClientServer.hs |