Use interpose instead of interleave to add spaces between words.
This commit is contained in:
parent
8450a39d3d
commit
a395f47b86
@ -107,14 +107,12 @@
|
|||||||
"then comes %s, "
|
"then comes %s, "
|
||||||
"then comes %s with the baby carriage")
|
"then comes %s with the baby carriage")
|
||||||
a b c)
|
a b c)
|
||||||
'(trim
|
'(apply str
|
||||||
(apply str
|
(interpose " "
|
||||||
(interleave
|
|
||||||
(apply list
|
(apply list
|
||||||
first-name
|
first-name
|
||||||
last-name
|
last-name
|
||||||
(interleave (repeat "aka") aliases))
|
(interleave (repeat "aka") aliases))))
|
||||||
(repeat " "))))
|
|
||||||
'{:original-parts full-name
|
'{:original-parts full-name
|
||||||
:named-parts {:first first-name :last last-name}}
|
:named-parts {:first first-name :last last-name}}
|
||||||
'(str street-address ", " city ", " state)
|
'(str street-address ", " city ", " state)
|
||||||
|
Loading…
Reference in New Issue
Block a user