RosettaCodeData/Task/Quine/Ceylon/quine.ceylon

2 lines
174 B
Ceylon
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
shared void run() {print(let (x = """shared void run() {print(let (x = $) x.replaceFirst("$", "\"\"\"" + x + "\"\"\""));}""") x.replaceFirst("$", "\"\"\"" + x + "\"\"\""));}