Anonymous user
Brace expansion: Difference between revisions
→{{header|Prolog}}
Line 3,256:
Out = ["Itemized, please.", "Itemize, please.", "Iterated, please.", "Iterate, please.", "Italicized, please.", "Italicize, please."].
?- brace_expansion("{,{,gotta have{ ,\\, again\\, }}more }cowbell!",
Out = ["cowbell!", "more cowbell!", "gotta have more cowbell!", "gotta have, again, more cowbell!"].
|