Fix setof issue.
This commit is contained in:
@@ -157,15 +157,16 @@ commits([Commit|Rest], [CommitInfo|CommitInfos]) :-
|
|||||||
commits(Rest, CommitInfos).
|
commits(Rest, CommitInfos).
|
||||||
|
|
||||||
list_set(ListOfList, Functor, Result) :-
|
list_set(ListOfList, Functor, Result) :-
|
||||||
setof(
|
findall(
|
||||||
Item,
|
Item,
|
||||||
(
|
(
|
||||||
member(L, ListOfList),
|
member(L, ListOfList),
|
||||||
Pred =.. [Functor, Item],
|
Pred =.. [Functor, Item],
|
||||||
member(Pred, L)
|
member(Pred, L)
|
||||||
),
|
),
|
||||||
Result
|
ResultList
|
||||||
).
|
),
|
||||||
|
list_to_set(ResultList, Result).
|
||||||
filetype_suffix(File, SuffixLower) :-
|
filetype_suffix(File, SuffixLower) :-
|
||||||
split_string(File, ".", "", Parts),
|
split_string(File, ".", "", Parts),
|
||||||
length(Parts, Length),
|
length(Parts, Length),
|
||||||
|
|||||||
Reference in New Issue
Block a user