Toggle navigation
New
Learn
Snippets
Meta
News
About
API Docs
Source Code
Account
Register
Login
Code Golf: Multiply a string by a number
main.raku
dio.raku
✖
tria.raku
✖
tessera.raku
✖
pente.raku
✖
eksi.raku
✖
Run Settings
Language
Raku
Language Version
latest
Run Command
Snippet Metadata
Owner
markjreed
Created
Modified
Visibility
Public
sub infix:<⍟>{($^a.comb »x»$^b).join} for [('Hello World!', 3), ('foo', 12), ('String', -3), ('This is a fun challenge', 0), ('World!', 2)] -> ($s, $n) { say "'$s' ⍟ $n == '{$s ⍟ $n}'" }
Editor Settings
Theme
Chrome
Clouds
Crimson Editor
Dawn
Dreamweaver
Eclipse
GitHub
Solarized Light
TextMate
Tomorrow
XCode
Kuroir
KatzenMilch
Ambiance
Chaos
Clouds Midnight
Cobalt
idle Fingers
krTheme
Merbivore
Merbivore Soft
Mono Industrial
Monokai
Pastel on dark
Solarized Dark
Terminal
Tomorrow Night
Tomorrow Night Blue
Tomorrow Night Bright
Tomorrow Night 80s
Twilight
Vibrant Ink
Key bindings
Default
Vim
Emacs
Full width
True
False
Lines
-
Auto
+
Direct link
Raw
Embed