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
Fredrik Wieczerkowski
curry-tools
Commits
69b8ca91
Commit
69b8ca91
authored
Sep 27, 2013
by
Michael Hanus
Browse files
Bug for nd analysis fixed
parent
3d40320e
Changes
1
Hide whitespace changes
Inline
Side-by-side
analysis/Deterministic.curry
View file @
69b8ca91
...
...
@@ -5,7 +5,7 @@
--- different computation paths.
---
--- @author Michael Hanus
--- @version
May
2013
--- @version
September
2013
------------------------------------------------------------------------------
module Deterministic(overlapAnalysis,showOverlap,showDet,
...
...
@@ -78,9 +78,9 @@ isNondetDefined (Func f _ _ _ rule) =
f `notElem` (map pre ["failed","$!!","$##","normalForm","groundNormalForm"])
-- these operations are internally defined in PAKCS with extra variables
&& isNondetRule rule
isNondetRule (Rule _ e) = orInExpr e || extraVarInExpr e
isNondetRule (External _) =
False
where
isNondetRule (Rule _ e) = orInExpr e || extraVarInExpr e
isNondetRule (External _) =
f==("Prelude","?")
-- check an expression for occurrences of extra variables:
...
...
Write
Preview
Supports
Markdown
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