Skip to content

Commit

Permalink
adding list:intersection back
Browse files Browse the repository at this point in the history
  • Loading branch information
josd committed Dec 15, 2024
1 parent 2bf6de7 commit 99add18
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 2 deletions.
1 change: 1 addition & 0 deletions RELEASE
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
EYE release

v11.0.1 (2024-12-15) adding list:intersection back
v11.0.0 (2024-12-14) rdfsurfaces are now implemented as N3 rules https://github.com/eyereasoner/rdfsurfaces-tests/blob/main/lib/rdfsurfaces.n3
v10.30.17 (2024-12-11) fixing log:satisfiable
v10.30.16 (2024-12-09) fixing string:substring
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
11.0.0
11.0.1
13 changes: 12 additions & 1 deletion eye.pl
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
:- catch(use_module(library(process)), _, true).
:- catch(use_module(library(http/http_open)), _, true).

version_info('EYE v11.0.0 (2024-12-14)').
version_info('EYE v11.0.1 (2024-12-15)').

license_info('MIT License

Expand Down Expand Up @@ -6626,6 +6626,17 @@
)
).

'<http://www.w3.org/2000/10/swap/list#intersection>'([A, B], C) :-
when(
( nonvar(A),
nonvar(B)
),
( getlist(A, D),
getlist(B, E),
intersection(D, E, C)
)
).

'<http://www.w3.org/2000/10/swap/list#isList>'(A, B) :-
( getlist(A, _)
-> B = true
Expand Down
Binary file modified eye.zip
Binary file not shown.

0 comments on commit 99add18

Please sign in to comment.