Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marc Coiffier
BHR
Commits
0b3723bd
Commit
0b3723bd
authored
May 17, 2019
by
Marc Coiffier
Browse files
Successful build (on Fri 17 May 2019 09:54:43 PM CEST)
parent
bd8c39ad
Changes
1
Hide whitespace changes
Inline
Side-by-side
capricon/src/Data/CaPriCon.hs
View file @
0b3723bd
...
...
@@ -173,7 +173,7 @@ instance (Show a,IsCapriconString str,MonadReader (Env str (NormalTerm str a)) m
let
newEnv
=
let
(
ch
,
ct
)
=
splitAt
i
ctx
in
zipWith
(
\
j
->
second
$
second
$
substn
(
raiseRefs
(
negate
(
1
+
j
))
x
)
(
i
-
j
-
1
))
[
0
..
]
ch
+
drop
1
ct
dx
=
normalDep
th
n
x
;
dm
=
length
ctx
dx
=
leng
th
c
x
;
dm
=
length
ctx
return
(
liftUpdate
dm
dx
ux
cx
(
substn
x
i
),
newEnv
)
insertHypBefore
bef
h
nth
=
do
NormalTerm
(
NormalType
uth
cth
_
)
th
<-
pullTerm
bef
nth
...
...
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