I'm writting this topic to ask you guys if there is an alternative to findall in Prolog that allows me to search not for all solutions but for a X number of solutions instead.
I'm kind of new to this language so I'd like to ask for your help.

Argh! I haven't written any prolog in probably 25 years. I'll have to do some review of my copy of Clocksin and Mellish (the bible of prolog) and get back to you on this. Are you in a hurry? :-)

This article has been dead for over six months. Start a new discussion instead.