Use interpose instead of interleave to add spaces between words.

master
Alex Robbins 13 years ago
parent 8450a39d3d
commit a395f47b86

@ -107,14 +107,12 @@
"then comes %s, "
"then comes %s with the baby carriage")
a b c)
'(trim
(apply str
(interleave
'(apply str
(interpose " "
(apply list
first-name
last-name
(interleave (repeat "aka") aliases))
(repeat " "))))
(interleave (repeat "aka") aliases))))
'{:original-parts full-name
:named-parts {:first first-name :last last-name}}
'(str street-address ", " city ", " state)

Loading…
Cancel
Save