on master help sign in
Add elaborator reflection to default namespace
f88a377David Raymond Christiansen
CHANGELOG+5−3
@@ -12,12 +12,14 @@ Library updates
12---------------
12---------------
13
13
14* The 'Neg' class now represents numeric types which can be negative. As
14* The 'Neg' class now represents numeric types which can be negative. As
15−such, the (-) operator and 'abs' have been moved there from 'Num'.
15+ such, the (-) operator and 'abs' have been moved there from 'Num'.
16* A special version of (-) on 'Nat' requires that the second argument is
16* A special version of (-) on 'Nat' requires that the second argument is
17−smaller than or equal to the first. 'minus' retains the old behaviour,
17+ smaller than or equal to the first. 'minus' retains the old behaviour,
18−returning Z if there is an underflow.
18+ returning Z if there is an underflow.
19* New Logging Effects have been added to facilitate logging of effectful
19* New Logging Effects have been added to facilitate logging of effectful
20 programmes.
20 programmes.
21+* Elaborator reflection is now a part of the prelude. It is no longer
22+ necessary to import Language.Reflection.Elab.
21
23
22Tool updates
24Tool updates
23------------
25------------
libs/prelude/Prelude.idr+1
@@ -30,6 +30,7 @@ import public Prelude.File
30import public Prelude.Doubles
30import public Prelude.Doubles
31import public Decidable.Equality
31import public Decidable.Equality
32import public Language.Reflection
32import public Language.Reflection
33+import public Language.Reflection.Elab
33import public Language.Reflection.Errors
34import public Language.Reflection.Errors
34
35
35%access public
36%access public