mirror of
https://github.com/seigler/rockstar-playground
synced 2025-07-27 01:36:10 +00:00
progress on Day 4 idiomatic
This commit is contained in:
parent
aa907dba2f
commit
3b93158ada
2 changed files with 99 additions and 42 deletions
10
contracts/Functions.rock
Normal file
10
contracts/Functions.rock
Normal file
|
@ -0,0 +1,10 @@
|
|||
Initialism takes String ( "Thinking hurts my brain" => "Thmb" )
|
||||
Cut String into Words with " "
|
||||
Until Words is empty
|
||||
Roll Words into Word
|
||||
Rock Word at 0 into Letters
|
||||
(end until)
|
||||
Unite Letters
|
||||
Give back Letters
|
||||
(end func)
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue