Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
clean-test
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
2
Issues
2
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
clean-and-itasks
clean-test
Commits
81befe06
Commit
81befe06
authored
Jul 03, 2018
by
Steffen Michels
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix value for tuples & arrays
parent
57bca4cc
Pipeline
#12618
failed with stage
in 35 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
cleantest.icl
cleantest.icl
+6
-2
No files found.
cleantest.icl
View file @
81befe06
...
...
@@ -51,9 +51,13 @@ gDiff{|Expr|} x y = case (x,y) of
}]
where
argDiffs
=
flatten
[
gDiff
{|*|}
x
y
\\
x
<-:
a
&
y
<-:
b
&
n
<-
[
0
..]
|
n
>
0
]
(
ExprTuple
a
,
ExprTuple
b
)
->
gDiff
{|*|}
a
b
(
ExprTuple
a
,
ExprTuple
b
)
->
[
{
diff
&
value
=
"_Tuple"
}
\\
diff
<-
gDiff
{|*->*|}
gDiff
{|*|}
[
x
\\
x
<-:
a
]
[
y
\\
y
<-:
b
]
]
(
ExprList
a
,
ExprList
b
)
->
gDiff
{|*|}
a
b
(
ExprArray
a
,
ExprArray
b
)
->
gDiff
{|*|}
a
b
(
ExprArray
a
,
ExprArray
b
)
->
[
{
diff
&
value
=
"_Array"
}
\\
diff
<-
gDiff
{|*->*|}
gDiff
{|*|}
[
x
\\
x
<-
a
]
[
y
\\
y
<-
b
]
]
(
ExprRecord
r1
xs
,
ExprRecord
r2
ys
)
|
r1
==
r2
->
[
{
status
=
parentStatus
field_diffs
,
value
=
fromMaybe
"<unnamed record>"
r1
...
...
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