Re: Boxed foreign prim

2012-03-13 Thread Simon Marlow
On 12/03/2012 14:22, Edward Kmett wrote: On Mon, Mar 12, 2012 at 6:45 AM, Simon Marlow marlo...@gmail.com mailto:marlo...@gmail.com wrote: But I can only pass unboxed types to foreign prim. Is this an intrinsic limitation or just an artifact of the use cases that have

Re: Boxed foreign prim

2012-03-13 Thread Edward Kmett
On Tue, Mar 13, 2012 at 4:57 AM, Simon Marlow marlo...@gmail.com wrote: On 12/03/2012 14:22, Edward Kmett wrote: On Mon, Mar 12, 2012 at 6:45 AM, Simon Marlow marlo...@gmail.com mailto:marlo...@gmail.com wrote: But I can only pass unboxed types to foreign prim. Is this an

Bug with unicode characters in file names

2012-03-13 Thread Volker Wysk
Hi This is some file äöü.hs with three German umlauts in the file name: main = putStrLn äöü Now I want to get the dependendency information. Therefore I call: ghc -M äöü.hs The following gets added to the Makefile: # DO NOT DELETE: Beginning of Haskell dependencies äöü.o :

packaged up polykinded types can't index type families?

2012-03-13 Thread Nicolas Frisby
I suspect I'm tripping on a gap in the PolyKinds support. I'm trying to package up a type-level generic view. It uses PolyKinds — and DataKinds, but I think it's the PolyKinds that matter. If I compile everything locally in the same build, it works fine. If I isolate the spine view declarations in

RE: packaged up polykinded types can't index type families?

2012-03-13 Thread Simon Peyton-Jones
I'm afraid that PolyKinds is not an advertised feature of 7.4.1, and we won't fix bugs in it. The flag exists because we were working on it before releasing 7.4, but it was too far from completion to support. We knew there were many bugs, but did not want to hold up 7.4 for them. (Otherwise

profiling and backtracing blues

2012-03-13 Thread Ranjit Jhala
Hi all, I'm trying to use the nifty backtracing mechanism in GHC 74. AFAICT, this requires everything be built with profiling on), but as a consequence, I hit this: You can't call hscCompileCoreExpr in a profiled compiler Any hints on whether there are work-arounds? Thanks! Ranjit.

Re: Bug with unicode characters in file names

2012-03-13 Thread Brent Yorgey
On Tue, Mar 13, 2012 at 06:06:49PM +0100, Volker Wysk wrote: I'm sending this to glasgow-haskell-users instead of glasgow-haskell-bugs, because the latter does not seem to accept my messages. I receive nothing, neither the message in the mailing list, nor any error message. As I understand