Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marc Coiffier
BHR
Commits
4e981c78
Commit
4e981c78
authored
Apr 30, 2019
by
Marc Coiffier
Browse files
Successful build (on Tue Apr 30 01:20:52 CEST 2019)
parent
abfbf838
Changes
1
Hide whitespace changes
Inline
Side-by-side
capricon/src/Data/CaPriCon.hs
View file @
4e981c78
...
@@ -170,9 +170,9 @@ instance (Show a,IsCapriconString str,MonadReader (Env str (Term str a)) m,Monad
...
@@ -170,9 +170,9 @@ instance (Show a,IsCapriconString str,MonadReader (Env str (Term str a)) m,Monad
return
(
ContextTerm
d'
$
inc_depth
(
d'
-
d
)
e
)
return
(
ContextTerm
d'
$
inc_depth
(
d'
-
d
)
e
)
substHyp
h
vh
=
do
substHyp
h
vh
=
do
ContextTerm
dm
vh'
<-
pullTerm
Nothing
vh
ContextTerm
dm
vh'
<-
pullTerm
(
Just
h
)
vh
first
(
\
f
cv
@
(
ContextTerm
d
v
)
->
first
(
\
f
cv
@
(
ContextTerm
d
v
)
->
if
d
<=
dm
then
trace
"no"
cv
if
d
<=
debug
dm
then
trace
"no"
cv
else
trace
"yes"
$
ContextTerm
(
d
-
1
)
(
inc_depth
(
d
-
dm
)
$
f
$
inc_depth
(
dm
-
d
)
v
))
<$>
else
trace
"yes"
$
ContextTerm
(
d
-
1
)
(
inc_depth
(
d
-
dm
)
$
f
$
inc_depth
(
dm
-
d
)
v
))
<$>
substHyp
h
vh'
substHyp
h
vh'
insertHypBefore
h
h'
cth'
=
do
insertHypBefore
h
h'
cth'
=
do
...
...
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