40ants / 40ants/lisp-project-of-the-day
INFO: str:replace-using
Abierto
- Lenguaje dominante
- Common Lisp
- Estrellas
- 55
- Forks
- 6
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
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.
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Evaluación
Este issue todavía no se ha evaluado.