On Mon, Mar 28, 2011 at 11:41 AM, Frederick Ross <madhad...@gmail.com> wrote:
> For that matter, why not use Integral a => a and trust in GHC to specialize
> the type in practice?

I think that every library would need to have many SPECIALIZE pragmas
for this to happen.  Also, I don't really see what we gain from
allowing different Integral types.  Int64 is more than enough and
probably will be for some time ;), and actually I don't know if there
are file systems or operating systems that can handle files larger
than 2^64 bytes.  We could use Integer should we reach this limit, but
this seems premature.  Given that Offset in seqloc package is a
newtype, changing it in the (far) future from Int64 to Integer should
be mostly painless.

Cheers =),

-- 
Felipe.
_______________________________________________
Biohaskell mailing list
Biohaskell@biohaskell.org
http://malde.org/cgi-bin/mailman/listinfo/biohaskell

Reply via email to