Long literals, with continuations: Difference between revisions
Content added Content deleted
(→{{header|Factor}}: create crystal solution) |
m (→{{header|Crystal}}: $w -> %w) |
||
Line 254: | Line 254: | ||
</pre> |
</pre> |
||
=={{header|Crystal}}== |
=={{header|Crystal}}== |
||
Crystal's <code> |
Crystal's <code>%w</code> literals create a whitespace-delimited array of strings at compile time |
||
<lang ruby>require "time" |
<lang ruby>require "time" |
||