[bitc-dev] Latest commit and bitfields

Swaroop Sridhar swaroop at cs.jhu.edu
Tue May 23 11:44:22 EDT 2006


As of the latest commit, we have moved over to typeclasses for typing 
integer and floating point literals. That is,

the literal 1 is typed as (Integral 'a) => 'a and
the literal 1.0 as (FP 'a) => 'a

I am noting this here because users should not be surprised by the 
change in behavior.

Also, bitfield instances for the integral typeclass have been removed 
for the moment. Therefore, assignments to a bitfield (or initialization) 
will not work. I have commented such a use in one of the unit tests. So, 
please sync the entire tree. Otherwise, if you sync only the source 
tree, this test will fail.

The reason I made this commit is that I fixed one issue identified my 
Tom Bachmann, and wanted it to propagate as soon as possible.

Thanks,
Swaroop.



More information about the bitc-dev mailing list