str.scm 528 B

12345678910111213141516171819202122
  1. (module (arguile base type str))
  2. (use (arguile base fn))
  3. ;;; Standardize a macro for ref, set, copy, etc
  4. (defp str? string?)
  5. (defp str: string-ref)
  6. (defp str! string-set!)
  7. (defp str-len string-length)
  8. (defp str-join string-append)
  9. (defp str->lst string->list)
  10. (defp str->num string->number)
  11. (defp str->sym string->symbol)
  12. (defp str->chr-set string->char-set)
  13. (defp str-cpy string-copy)
  14. (defp str-cpy! string-copy!)
  15. (defp str-map string-map)
  16. (defp str-fold string-fold)
  17. (defp str-take string-take)
  18. (defp str-drop string-drop)