I'm running this code:
findall(A, syllable(A), X), nth1(1001,X,B).
syllable returns a valid syllable as a list of sounds. i.e. [e,g,g,s]. I just want to know the 1001st possible syllable, B = [θ,i,p]. And I get that printed to the screen. But after B is shown, prolog shows all of X. Which is approximately 40000 different syllables. This is too much information for me.
How can I hide X from being shown or just have B shown?
Appreciate your help!