Commit d7403114 authored by Bernd Brassel's avatar Bernd Brassel
Browse files

- no optimization flag in compiled code

- module ObsoleteHigherOrder added to cabal file debugger
parent 039091b0
......@@ -42,7 +42,7 @@ callProg :: Verbosity -> LocalBuildInfo -> IO Program -> Args -> IO ()
callProg verb lbi prog args = do
p <- prog
rawSystemProgramConf verb p (withPrograms lbi) args
myPostConf :: Args -> ConfigFlags -> PackageDescription -> LocalBuildInfo -> IO ()
myPostConf args confFlags descrs lbi = do
let require = requireProg (configVerbosity confFlags) lbi
......
......@@ -75,7 +75,7 @@ data World = World
data (DM.DM dm) => IO dm a = IOFail
| IOOr DM.OrRef [IO dm a]
| IOUnderscore
| IO (World -> dm (a,World)) | -- (dm :: * -> *)
| IO (World -> dm (a,World)) -- (dm :: * -> *)
instance Data.Generics.Typeable (IO dm a)
instance Data.Generics.Data (IO dm a)
......
......@@ -34,7 +34,6 @@ Library
mtl,
readline,
KiCS >= 0.9.1
Exposed-Modules:
Curry.Files.KiCSDebugPath
......@@ -150,6 +149,7 @@ Executable mkstrict
KiCS >= 0.9.1,
KiCS-prophecy >= 0.1.1
Other-Modules:
Curry.Module.ObsoleteHigherOrder
Curry.Module.SrcRef
Curry.Module.AbstractHaskell
Curry.Module.FlatToAbstractCurry
......
......@@ -52,7 +52,7 @@ showProg = showProgOpt defaultPrintOptions
showProgOpt :: PrintOptions -> Prog -> String
showProgOpt opts p@(Prog m imports exports typedecls insdecls funcdecls opdecls)
= showPragma (["OPTIONS -cpp"
= showPragma (["OPTIONS -cpp -O0 "
,"LANGUAGE RankNTypes,\
\ ScopedTypeVariables,\
\ MultiParamTypeClasses,\
......
{-# OPTIONS -O0 #-}
module Curry.RunTimeSystem (
module Curry.RunTimeSystem.BaseCurry,
module Curry.RunTimeSystem
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment