Anonymous user
Retrieve and search chat history: Difference between revisions
m
Remove newlines before </lang>
m (Make empty list check pythonic) |
m (Remove newlines before </lang>) |
||
Line 70:
end
|> IO.puts()
end</lang>
</lang>▼
Line 104 ⟶ 103:
| x ->
printfn "Usage: %s literal" (Array.get x 0)
System.Environment.Exit(1)</lang>
=={{header|Python|Python 3}}==
Line 132 ⟶ 130:
print('{}\n------\n{}\n------\n'.format(url, '\n'.join(mentions)))
main()</lang>
=={{header|Ruby}}==
Line 156 ⟶ 153:
end
main</lang>
=={{header|Scala}}==
Line 193 ⟶ 189:
case x => s"$url\n------\n${x.mkString("\n")}\n------\n\n"
})
▲}</lang>
=={{header|Tcl}}==
Line 230 ⟶ 225:
}
main $argv</lang>
|