]> Repositorios git - scryer-prolog.git/commitdiff
remove nth1/3, which is now provided by library(lists)
authorMarkus Triska <[email protected]>
Wed, 24 Aug 2022 22:03:47 +0000 (00:03 +0200)
committerMark Thom <[email protected]>
Thu, 27 Oct 2022 05:36:07 +0000 (23:36 -0600)
src/lib/clpz.pl

index 6575a32dc85e2137cb056031bdb2fe6cb740980e..466180323b1991f0cd6ba7b493688d32be33cfa8 100644 (file)
@@ -7173,10 +7173,6 @@ contribution_at(T, Task, Offset-Bs, Contribution) :-
             ?(Contribution) #= B*C
         ).
 
-nth1(I, Es, E) :-
-        I0 is I-1,
-        nth0(I0, Es, E).
-
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
 %% disjoint2(+Rectangles)