- Feb 21, 2012
-
-
Ian Lynagh authored
-
- Feb 17, 2012
-
-
Ian Lynagh authored
Only amd64 has an efficient implementation currently.
-
Ian Lynagh authored
Moved the default case of genCCall64 out into a separate function
-
Ian Lynagh authored
-
Ian Lynagh authored
-
Ian Lynagh authored
You can now say data {-# CTYPE "some_header.h" "the C type" #-} Foo = ... I think it's rare that this will actually be needed. If the header for a CAPI FFI import includes a void f(ctype x); prototype then ctype must already be defined. However, if the header only has #define f(p) p->j then the type need not be defined. But either way, it seems good practice for us to specify the header that we need.
-
Simon Peyton Jones authored
-
-
Simon Peyton Jones authored
-
Simon Peyton Jones authored
-
Simon Peyton Jones authored
to emit kind constraints when decomposing an application. Resulting code is actually shorter!
-
Simon Peyton Jones authored
-
Simon Peyton Jones authored
Also add notes about unsafeCoerce The general thread here is to reduce use of ArgKind after the type checker; it is so fragile!
-
Simon Peyton Jones authored
-
Simon Peyton Jones authored
-
Simon Peyton Jones authored
This is the start of more global renaming
-
Simon Peyton Jones authored
-
Simon Peyton Jones authored
-
- Feb 16, 2012
-
-
Ian Lynagh authored
-
Ian Lynagh authored
-
Ian Lynagh authored
-
-
Ian Lynagh authored
-
Ian Lynagh authored
-
-
Simon Peyton Jones authored
-
Simon Peyton Jones authored
-
Simon Peyton Jones authored
-
Simon Peyton Jones authored
I have forgotten what the original driver for this change was. There is quite a bit of refactoring in TcCanonical; the rest is minor.
-
Simon Peyton Jones authored
This isn't really a forced change, but is a useful tidy-up
-
Simon Peyton Jones authored
-
Simon Peyton Jones authored
-
Simon Peyton Jones authored
-
Simon Peyton Jones authored
including (a) centralising Outputable.paBrackets (b) printing the quote on promoted TyCon/DataCon
-
Simon Peyton Jones authored
And in particular we now have BOX :: BOX See Note [SuperKind (BOX)] in TysPrim
-
Ian Lynagh authored
For now, the syntax is type {-# CTYPE "some C type" #-} Foo = ... newtype {-# CTYPE "some C type" #-} Foo = ... data {-# CTYPE "some C type" #-} Foo = ...
-
Ian Lynagh authored
-
Simon Marlow authored
-
Simon Marlow authored
-
Simon Marlow authored
-