low
Date: Mon Jul 11 13:00:20 2011 +0100
Had to move some Typeable things around to avoid orphan instances.
>---
compiler/prelude/PrelNames.lhs| 20 ++--
compiler/typecheck/TcGenDeriv.lhs |2 +-
2
low
Date: Mon Jul 11 13:00:20 2011 +0100
Had to move some Typeable things around to avoid orphan instances.
>---
compiler/prelude/PrelNames.lhs| 20 ++--
compiler/typecheck/TcGenDeriv.lhs |2 +-
2
| what GHC calls ``orphan instances''. ... that there is no
*implementation-independent*
| reason to avoid ``orphan instances''.
|
| From a code structuring point of view,
| I frequently ``consider orphan'' instances
| useful for separation of concerns.
I agree. T
On Tue, 12 Aug 2008 [EMAIL PROTECTED] wrote:
> I just would like to point out that there is nothing inherently bad about
> what GHC calls ``orphan instances''.
>
> From a code structuring point of view,
> I frequently ``consider orphan'' instances
> u
Simon Peyton-Jones wrote:
> Who is responsible for the time/ library?
I am.
Now that orphan warnings are "proper warnings" as Duncan requested,
What is an orphan instance, and why do we care about them?
Since they weren't proper warnings before, I always assumed they were
some weird GHC th
Mon Aug 4 09:21:29 PDT 2008 [EMAIL PROTECTED]
* Fix Trac #2467: decent warnings for orphan instances
This patch makes
* Orphan instances and rules obey -Werror
* They look nicer when printed
M ./compiler/iface/MkIface.lhs -21 +37
M ./compiler/main/ErrUtils.lhs -1 +1
Mon Oct 29 09:25:05 PDT 2007 [EMAIL PROTECTED]
* Improve documentation of orphan instances (thanks to Adrian Hey)
Please push to stable branch
Simon
M ./docs/users_guide/flags.xml -7 +3
M ./docs/users_guide/separate_compilation.xml -18 +45
M ./docs/users_guide
Mon Oct 29 09:25:05 PDT 2007 [EMAIL PROTECTED]
* Improve documentation of orphan instances (thanks to Adrian Hey)
Please push to stable branch
Simon
M ./docs/users_guide/flags.xml -7 +3
M ./docs/users_guide/separate_compilation.xml -18 +45
M ./docs/users_guide
Wed Feb 21 08:30:47 PST 2007 [EMAIL PROTECTED]
* Deal more correctly with orphan instances
Conal Eliott (Trac #1145) exposed a nasty flaw in the way in which
orphan instances are computed, when there are functional dependencies
in the class. It took me some time to figure out what was