
23 Jul
2011
23 Jul
'11
12:36 p.m.
On Sat, Jul 23, 2011 at 9:50 PM, David Place
On Jul 23, 2011, at 11:56 AM, Rohit Garg wrote:
Also, I'd like to make the RegisterVal type Word32, but when I do that, then ================ initial_rf = [0,0,0,0] ================ this line fails to typecheck.
I changed the RegisterVal type to Word32. It works for me using GHCi version 7.0.2. Your code looks great!
Ah!, I was changing the type of RegisterID as well and then it was complaining. For RegisterVal only, it works fine, thanks. -- Rohit Garg http://rpg-314.blogspot.com/