@@ -70,10 +70,10 @@ data NativeTy = IT8 | IT16 | IT32 | IT64
71data IntTy = ITFixed NativeTy | ITNative | ITBig | ITChar
71data IntTy = ITFixed NativeTy | ITNative | ITBig | ITChar
73−data ArithTy = ATInt Language.Reflection.IntTy | ATFloat
73+data ArithTy = ATInt Language.Reflection.IntTy | ATDouble
75||| Primitive constants
75||| Primitive constants
76−data Const = I Int | BI Integer | Fl Float | Ch Char | Str String
76+data Const = I Int | BI Integer | Fl Double | Ch Char | Str String
77 | B8 Bits8 | B16 Bits16 | B32 Bits32 | B64 Bits64
77 | B8 Bits8 | B16 Bits16 | B32 Bits32 | B64 Bits64
78 | AType ArithTy | StrType
78 | AType ArithTy | StrType
79 | VoidType | Forgot
79 | VoidType | Forgot
@@ -89,7 +89,7 @@ instance ReflConst Int where
89instance ReflConst Integer where
89instance ReflConst Integer where
90 toConst = BI
90 toConst = BI
92−instance ReflConst Float where
92+instance ReflConst Double where
93 toConst = Fl
93 toConst = Fl
95instance ReflConst Char where
95instance ReflConst Char where
@@ -366,12 +366,12 @@ instance Quotable Int Raw where
366 quotedTy = `(Int)
366 quotedTy = `(Int)
367 quote x = RConstant (I x)
367 quote x = RConstant (I x)
369−instance Quotable Float TT where
369+instance Quotable Double TT where
370− quotedTy = `(Float)
370+ quotedTy = `(Double)
371 quote x = TConst (Fl x)
371 quote x = TConst (Fl x)
373−instance Quotable Float Raw where
373+instance Quotable Double Raw where
374− quotedTy = `(Float)
374+ quotedTy = `(Double)
375 quote x = RConstant (Fl x)
375 quote x = RConstant (Fl x)
377instance Quotable Char TT where
377instance Quotable Char TT where
@@ -541,12 +541,12 @@ instance Quotable Reflection.IntTy Raw where
541instance Quotable ArithTy TT where
541instance Quotable ArithTy TT where
542 quotedTy = `(ArithTy)
542 quotedTy = `(ArithTy)
543 quote (ATInt x) = `(ATInt ~(quote x))
543 quote (ATInt x) = `(ATInt ~(quote x))
544− quote ATFloat = `(ATFloat)
544+ quote ATDouble = `(ATDouble)
546instance Quotable ArithTy Raw where
546instance Quotable ArithTy Raw where
547 quotedTy = `(ArithTy)
547 quotedTy = `(ArithTy)
548 quote (ATInt x) = `(ATInt ~(quote {t=Raw} x))
548 quote (ATInt x) = `(ATInt ~(quote {t=Raw} x))
549− quote ATFloat = `(ATFloat)
549+ quote ATDouble = `(ATDouble)
551instance Quotable Const TT where
551instance Quotable Const TT where
552 quotedTy = `(Const)
552 quotedTy = `(Const)