Open Jean-Luc-Picard-2021 opened 2 years ago
More information here: https://www.complang.tuwien.ac.at/ulrich/iso-prolog/call_nth
Regarding .
, yes, we can define as an infix operator. We needed it for some language extensions (I'm aware that some of them were introduced first in Ciao and then appeared in other systems, but it could be just convergent evolution).
I've edited the name of this issue since this is not related to the playground.
SWI-Prolog has call_nth/2, originally in library solution_sequences, but meanwhile also adopted by a few other Prolog systems in various locations, for the SWI-Prolog definition see here:
I didn't find a predicate by the same name. I need it to run this code: