Donate
Sandbox
Collaborate
Documentation
Downloads
Documentation
Prolog Predicate Reference
builtin
succ/2
succ/2
Return the successor of a positive number.
Description
succ
(
+integer
,
?integer
)
succ
(
-integer
,
+integer
)
succ(Int, Succ)
is true if and only of
Int
is greater than or equal to 0 and
Succ
is
Int + 1
.
Implementation
Community
Site
Twitter
Github
npm
Documentation
Manual
Examples
Implementation details
Prolog Predicate Reference
Code
Custom bundle
Installation from npm
Source Code
Contact
Form contact
Collaborators
Contributors
tau.prolog @ gmail.com
© 2017 - 2024
José Antonio Riaza Valverde
Released under the
BSD-3 Clause license