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
7fcd0b86
Commit
7fcd0b86
authored
Jul 02, 2018
by
Steffen Michels
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix simpleDiff
parent
082fc87e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
cleantest.icl
cleantest.icl
+5
-4
No files found.
cleantest.icl
View file @
7fcd0b86
...
...
@@ -73,10 +73,11 @@ gDiff{|Expr|} x y = case (x,y) of
_
->
simpleDiff
(
toString
x
)
(
toString
y
)
simpleDiff
::
!
String
!
String
->
[
Diff
]
simpleDiff
left
right
=
[
{
status
=
OnlyLeft
,
value
=
left
,
children
=[]}
,
{
status
=
OnlyRight
,
value
=
right
,
children
=[]}
]
simpleDiff
left
right
|
left
==
right
=
[
{
status
=
Common
,
value
=
left
,
children
=[]}
]
|
otherwise
=
[
{
status
=
OnlyLeft
,
value
=
left
,
children
=[]}
,
{
status
=
OnlyRight
,
value
=
right
,
children
=[]}
]
::
*
ProcessOutput
=
{
lines
::
![
String
]
...
...
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