Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
curry
curry-frontend
Commits
93fb5f0f
Commit
93fb5f0f
authored
Feb 17, 2015
by
Björn Peemöller
Browse files
Always generate a Curry interface, not only for FlatCurry targets
parent
861e864a
Changes
1
Show whitespace changes
Inline
Side-by-side
src/Modules.hs
View file @
93fb5f0f
...
...
@@ -237,11 +237,11 @@ writeOutput opts fn mdl@(_, modul) = do
writeParsed
opts
fn
modul
qmdl
@
(
env1
,
qlfd
)
<-
dumpWith
opts
CS
.
ppModule
DumpQualified
$
qual
opts
mdl
writeAbstractCurry
opts
fn
qmdl
when
withFlat
$
do
(
env2
,
il
)
<-
transModule
opts
(
env1
,
qlfd
)
-- generate interface file
let
intf
=
exportInterface
env2
qlfd
let
intf
=
uncurry
exportInterface
qmdl
writeInterface
opts
fn
intf
when
withFlat
$
do
(
env2
,
il
)
<-
transModule
opts
(
env1
,
qlfd
)
-- generate target code
let
modSum
=
summarizeModule
(
tyConsEnv
env2
)
intf
qlfd
writeFlat
opts
fn
env2
modSum
il
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment