40ants / 40ants/lisp-project-of-the-day
INFO: str:replace-using
Open
- Dominant language
- Common Lisp
- Stars
- 55
- Forks
- 6
- PR merge metrics
- No merged PRs in 30d
Description
Hello,
FYI this code:
```
(defun smile->unicode (text)
(arrows:->>
text
(str:replace-all ":)" "😀")
(str:replace-all ":|" "🤨")
(str:replace-all ":(" "🥺")))
```
can now use `str:replace-using` for multi-replacement:
```
(defun smile->unicode (text)
(str:replace-using '(":)" "😀"
":|" "🤨"
":(" "🥺")
text))
```
The function was added on June, 4th.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.