on master help sign in
Make partial evaluator off by default
ebf9367Edwin Brady
libs/base/base.ipkg+1−1
@@ -1,6 +1,6 @@
1package base
1package base
2
2
3−opts = "--nobasepkgs --total --no-elim-deprecation-warnings -i ../prelude"
3+opts = "--nobasepkgs --total --no-elim-deprecation-warnings --partial-eval -i ../prelude"
4modules = System,
4modules = System,
5
5
6 Debug.Error, Debug.Trace,
6 Debug.Error, Debug.Trace,
libs/contrib/contrib.ipkg+1−1
@@ -1,6 +1,6 @@
1package contrib
1package contrib
2
2
3−opts = "--nobasepkgs --total -i ../prelude -i ../base"
3+opts = "--nobasepkgs --partial-eval --total -i ../prelude -i ../base"
4modules = CFFI, CFFI.Types, CFFI.Memory,
4modules = CFFI, CFFI.Types, CFFI.Memory,
5
5
6 Control.Algebra,
6 Control.Algebra,
libs/effects/effects.ipkg+1−1
@@ -1,6 +1,6 @@
1package effects
1package effects
2
2
3−opts = "--nobasepkgs --typeintype -i ../prelude -i ../base"
3+opts = "--nobasepkgs --partial-eval --typeintype -i ../prelude -i ../base"
4
4
5modules = Effects
5modules = Effects
6 , Effect.Default
6 , Effect.Default
libs/prelude/prelude.ipkg+1−1
@@ -1,6 +1,6 @@
1package prelude
1package prelude
2
2
3−opts = "--nobuiltins --total --no-elim-deprecation-warnings"
3+opts = "--nobuiltins --total --no-elim-deprecation-warnings --partial-eval"
4modules = Builtins, Prelude, IO,
4modules = Builtins, Prelude, IO,
5
5
6 Prelude.Algebra, Prelude.Basics, Prelude.Bool, Prelude.Cast,
6 Prelude.Algebra, Prelude.Basics, Prelude.Bool, Prelude.Cast,
libs/pruviloj/pruviloj.ipkg+1−1
@@ -1,6 +1,6 @@
1package pruviloj
1package pruviloj
2
2
3−opts = "--nobasepkgs -i ../prelude -i ../base"
3+opts = "--nobasepkgs --partial-eval -i ../prelude -i ../base"
4modules = Pruviloj
4modules = Pruviloj
5 , Pruviloj.Core
5 , Pruviloj.Core
6 , Pruviloj.Derive.DecEq
6 , Pruviloj.Derive.DecEq
src/Idris/AbsSyntaxTree.hs+1−1
@@ -150,7 +150,7 @@ data Optimisation = PETransform -- ^ partial eval and associated transforms
150 deriving (Show, Eq, Generic)
150 deriving (Show, Eq, Generic)
151
151
152defaultOptimise :: [Optimisation]
152defaultOptimise :: [Optimisation]
153−defaultOptimise = [PETransform]
153+defaultOptimise = []
154
154
155-- | Pretty printing options with default verbosity.
155-- | Pretty printing options with default verbosity.
156defaultPPOption :: PPOption
156defaultPPOption :: PPOption