Re: Hiding import behaviour

2014-10-20 Thread Mario Blažević
On 14-10-19 08:10 AM, Erik Hesselink wrote: I feel that this extension, while looking tempting for writing code from scratch, might hurt maintainability of code. That depends on how you define maintainability. Adding an explicit import can suddenly cause type errors in completely unre

GADTs in implementation of Template Haskell

2014-10-20 Thread Richard Eisenberg
I'm doing a bunch of bug-fixes / improvements to Template Haskell. Two of these are to fix GHC bugs #8100 (add standalone-deriving support) and #9064 (add `default` method type signature support), both of which introduce new constructors for `Dec`. This got me thinking about `Dec` and the fact t

Re: Dynamic only GHC

2014-10-20 Thread Austin Seipp
(Sorry for resend; also hitting the list this time). GhcDynamic is really a variable set by the build system which is propagated and used to control various other 'things that happen' during the build, in the case GHC is dynamically linked. On the other hand, DYNAMIC_GHC_PROGRAMS and DYNAMIC_BY_D

Re: Dynamic only GHC

2014-10-20 Thread Jeremy
So out of GhcDynamic, DYNAMIC_GHC_PROGRAMS, and DYNAMIC_BY_DEFAULT, which is broken, and what's the difference between GhcDynamic and DYNAMIC_GHC_PROGRAMS? This is getting somewhat confusing. ___ Glasgow-haskell-users mailing list Glasgow-haskell-users@h

Re: Dynamic only GHC

2014-10-20 Thread Austin Seipp
Sorry, I confused 'DynamicGhcPrograms' merely with 'DynamicGhc'. In other words: DynamicGhc means exactly what I said before - dynamic GHC, static everything else. As for the reason why the switch wasn't made for x86, I was not privvy to the decision at the time, but I imagine it's one of consiste

Re: Dynamic only GHC

2014-10-20 Thread Jeremy
Austin Seipp well-typed.com> writes: > As far as I'm aware, Dynamic-by-default GHC is actually broken, and I > don't know for how long this has been the case. > > For some history: originally when all this was being decided to try > and fix the linker issues in GHC, dynamic by default was consid

Re: Dynamic only GHC

2014-10-20 Thread Austin Seipp
As far as I'm aware, Dynamic-by-default GHC is actually broken, and I don't know for how long this has been the case. For some history: originally when all this was being decided to try and fix the linker issues in GHC, dynamic by default was considered an option, but was rejected in favor of Dyna

Dynamic only GHC

2014-10-20 Thread Jeremy
I'm trying to build a minimal GHC 7.8.3 on Debian Wheezy with only dynamic libraries (this is for a system where disc space is scarce). I'm using this build.mk: GhcRTSWays = thr GhcLibWays = dyn HADDOCK_DOCS = NO DYNAMIC_BY_DEFAULT = YES GhcDynamic = YES Tried with and without GhcDynamic (asked o