Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Download

📚 The CoCalc Library - books, templates and other resources

132948 views
License: OTHER
1
lengthof(L, 0) :- L == [].
2
lengthof([_|R], NewLength) :- lengthof(R,Length),
3
NewLength is Length+1.
4