Jump to content

Brace expansion: Difference between revisions

Line 3,256:
Out = ["Itemized, please.", "Itemize, please.", "Iterated, please.", "Iterate, please.", "Italicized, please.", "Italicize, please."].
 
?- brace_expansion("{,{,gotta have{ ,\\, again\\, }}more }cowbell!", Out), writeln(Out).
[cowbell!,more cowbell!,gotta have more cowbell!,gotta have, again, more cowbell!]
Out = ["cowbell!", "more cowbell!", "gotta have more cowbell!", "gotta have, again, more cowbell!"].
 
Cookies help us deliver our services. By using our services, you agree to our use of cookies.