You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there any reason the Integer type is used? I'd like type signatures downstream to use Ints instead of Integers. Or really anything efficient (I assume ALSA doesn't bind GMP?)
The text was updated successfully, but these errors were encountered:
The ALSA API uses the C int type (Haskell CInt type), which has a wider range than Int. GHC represents small Integer values as Int without using GMP, so I would be surprised if this was a bottleneck. Still, I agree it would be ideal if the Haskell interface used a type with the same representation as the C API; would it be awkward if the Haskell interface used CInt?
Is there any reason the
Integer
type is used? I'd like type signatures downstream to useInt
s instead ofInteger
s. Or really anything efficient (I assume ALSA doesn't bind GMP?)The text was updated successfully, but these errors were encountered: