Which languages are recursive-only languages?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It depends on what you mean by looping construct – there are several types. Infinite loops, iterators – loops that count each item in an array or hash – and general loops like C style
Wikipedia has a table of support for such constructs by language: Loop system cross reference table
To answer your question fully, Haskell and Scheme are two examples of languages that do not have standard
forloops built in; they are generally done using recursion.