Skip to content
  • Simon Marlow's avatar
    HsBool should be HsInt, not StgBool · b3edde6c
    Simon Marlow authored
    StgBool is mapped to C's int type.  GHC doesn't currently know the
    size of a C int on the target arch, it's easier to use StgInt instead.
    I guess nobody ever uses Bool arguments to foreign imports/exports.
    b3edde6c