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
Commits
e999df8d
Verified
Commit
e999df8d
authored
Oct 07, 2017
by
Camil Staps
🚀
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Find modules by icl instead of dcl, since the icl always exists
parent
d7190db2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
CloogleDBFactory.icl
CloogleDBFactory.icl
+3
-3
No files found.
CloogleDBFactory.icl
View file @
e999df8d
...
...
@@ -117,7 +117,7 @@ findModules ex root lib aux base w
|
isError
fps
=
([],
w
)
#!
(
Ok
fps
)
=
fps
#!
mods
=
map
(\
s
->
let
mod
=
basedot
+++
s
%
(
0
,
size
s
-
5
)
in
(
lib
,
mod
,
aux
))
$
filter
included
$
filter
is
D
clModule
fps
(
lib
,
mod
,
aux
))
$
filter
included
$
filter
is
I
clModule
fps
#!
(
moremodss
,
w
)
=
mapSt
(
findModules
ex
root
lib
aux
o
((+++)
basedot
))
(
filter
isDirectory
fps
)
w
=
(
removeDupBy
(\(
l
,
m
,_)->(
l
,
m
))
(
mods
++
flatten
moremodss
),
w
)
where
...
...
@@ -132,8 +132,8 @@ where
included
::
String
->
Bool
included
s
=
not
(
any
((<>)
-1
o
flip
indexOf
(
path
</>
s
))
ex
)
is
D
clModule
::
String
->
Bool
is
DclModule
s
=
s
%
(
size
s
-
4
,
size
s
-
1
)
==
".d
cl"
is
I
clModule
::
String
->
Bool
is
IclModule
s
=
s
%
(
size
s
-
4
,
size
s
-
1
)
==
".i
cl"
isDirectory
::
(
String
->
Bool
)
isDirectory
=
not
o
isMember
'.'
o
fromString
...
...
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