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
Cloogle
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Cloogle
Cloogle
Compare Revisions
31a99b7cf0f2e2120a50c8b5d46a1f672e000f85...b20e618d743dd44cb9059057a196fae873c6ea66
Source
b20e618d743dd44cb9059057a196fae873c6ea66
Select Git revision
...
Target
31a99b7cf0f2e2120a50c8b5d46a1f672e000f85
Select Git revision
Compare
Commits (1)
Minor cleanup
· b20e618d
Camil Staps
authored
Sep 29, 2019
b20e618d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
Cloogle/Search.icl
Cloogle/Search.icl
+3
-3
No files found.
Cloogle/Search.icl
View file @
b20e618d
...
...
@@ -237,15 +237,15 @@ makeResult orgsearchtype allsyns usedsyns (entry, annots) db = case entry of
toStrUnifier
::
Unifier
->
StrUnifier
toStrUnifier
unif
=
{
StrUnifier
|
left_to_right
=
map
toStr
[
a
\\
LeftToRight
a
<-
unif
.
assignments
]
,
right_to_left
=
map
toStr
[
a
\\
RightToLeft
a
<-
unif
.
assignments
]
|
left_to_right
=
[
toStr
v
t
\\
LeftToRight
(
v
,
t
)
<-
unif
.
assignments
]
,
right_to_left
=
[
toStr
v
t
\\
RightToLeft
(
v
,
t
)
<-
unif
.
assignments
]
,
used_synonyms
=
[
(
concat
$
[
td
.
td_name
,
" "
:
intersperse
" "
$
print
False
td
.
td_args
]
,
concat
$
print
False
s
)
\\
td
=:{
td_rhs
=
TDRSynonym
s
}
<-
unif
.
Unifier
.
used_synonyms
]
}
where
toStr
(
var
,
type
)
=
(
var
,
concat
$
print
False
type
)
toStr
var
type
=
(
var
,
concat
$
print
False
type
)
TypeDefEntry
tde
#
(
insts
,
db
)
=
getValuesByIndices`
tde
.
tde_instances
db
...
...