Re: GHC's performance

2014-04-17 Thread Michał J Gajda
Dear Friends, I have a few weeks free just now, and a keen interest in GHC performance, so please count me in as a person interested in developing the solution :-). On Thu, Apr 10, 2014 at 5:57 PM, Johan Tibell wrote: > There are a few "projects" in this area I think we should undertake: > > ##

Re: Proposal - Foreign enum support

2014-04-17 Thread John Lato
I wouldn't be keen on adding such a specific feature to the language either. Another concern is that this proposal doesn't seem to address a very common use case for C enums, bit vectors. IMHO any FFI proposal for working with C enums should take that idiom into account. On Apr 17, 2014 7:19 AM,

Re: Proposal - Foreign enum support

2014-04-17 Thread Carter Schonwald
Agreed. A quasiquoter is the right approach here. On Thursday, April 17, 2014, Roman Cheplyaka wrote: > I am reluctant about adding a new syntactic feature for such a niche > problem. > > Can't this be achieved with a quaiquoter? > > Roman > ___ ghc-d

Re: Proposal - Foreign enum support

2014-04-17 Thread Roman Cheplyaka
I am reluctant about adding a new syntactic feature for such a niche problem. Can't this be achieved with a quaiquoter? Roman signature.asc Description: Digital signature ___ ghc-devs mailing list ghc-devs@haskell.org http://www.haskell.org/mailman/li

Proposal - Foreign enum support

2014-04-17 Thread Merijn Verstraaten
Cross-post to haskell-prime in case there's any interest for including this into the report's FFI specification. Proposal - Foreign enum support === At the moment the FFI does not have a convenient way with interacting enums (whether proper enums or CPP defines) in C

RE: Git problem

2014-04-17 Thread Simon Peyton Jones
Thank you – that’s helpful. It’s the mental model that I miss! Simon From: Iavor Diatchki [mailto:iavor.diatc...@gmail.com] Sent: 16 April 2014 16:44 To: Herbert Valerio Riedel Cc: Simon Peyton Jones; ghc-devs Subject: Re: Git problem Hello, I think the commands Herbert suggested should help.

RE: Link failure

2014-04-17 Thread Simon Peyton Jones
sorry, ignore me - I assume it's #8696 and my tree is fairly old. I'll update. Simon From: ghc-devs [mailto:ghc-devs-boun...@haskell.org] On Behalf Of Simon Peyton Jones Sent: 17 April 2014 08:07 To: ghc-devs@haskell.org Subject: Link failure On 64-bit Linux I'm getting this in the link step f

Link failure

2014-04-17 Thread Simon Peyton Jones
On 64-bit Linux I'm getting this in the link step for the template-haskell library: /usr/bin/ld: libraries/template-haskell/dist-install/build/Language/Haskell/TH/Syntax.dyn_o: relocation R_X86_64_PC32 against undefined symbol `templatezmhaskell_LanguageziHaskellziTHziSyntax_OccName_closure' c