Hey,
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.
Thanks

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? :-)

Also, what exactly are you trying to accomplish - describe the problem domain a bit more fully please.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.