on master help sign in
Add elaborator reflection to default namespace
commitf88a37794e4181dc624c01576269c9e5824812fe authorDavid Raymond Christiansen <david@davidchristiansen.dk> dateWed 9 Sep 2015, 22:55 (11 years ago) parente947d69
2 files changed+6−3
CHANGELOG+5−3 libs/prelude/Prelude.idr+1
CHANGELOG+5−3
@@ -12,12 +12,14 @@ Library updates
1212---------------
1313
1414* 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'.
1616* 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,
18−returning Z if there is an underflow.
17+ smaller than or equal to the first. 'minus' retains the old behaviour,
18+ returning Z if there is an underflow.
1919* New Logging Effects have been added to facilitate logging of effectful
2020 programmes.
21+* Elaborator reflection is now a part of the prelude. It is no longer
22+ necessary to import Language.Reflection.Elab.
2123
2224Tool updates
2325------------
libs/prelude/Prelude.idr+1
@@ -30,6 +30,7 @@ import public Prelude.File
3030import public Prelude.Doubles
3131import public Decidable.Equality
3232import public Language.Reflection
33+import public Language.Reflection.Elab
3334import public Language.Reflection.Errors
3435
3536%access public