Loops and Strings
Yesterday I left you with a program that really needed to "YS up"!
$ ys -e '
url =:
"https://github.com/dominictarr/random-name/raw/master/first-names.json"
people =: url.curl().json/load().shuffle().take(3)
shoes =: read("shoes.yaml").yaml/load()
say: str(people.0, " wears size ", shoes.0.size, " ", join([shoes.0.name, "s"]))
say: str(people.1, " wears size ", shoes.1.size, " ", join([shoes.1.name, "s"]))
say: str(people.2, " wears size ", shoes.2.size, " ", join([shoes.2.name, "s"]))
'
Let's make this awesome!