helpful.sld 1.2 KB

12345678910111213141516171819202122232425262728293031
  1. (define-library (macduffie helpful)
  2. ;; This is a general library of procedures I find useful that don't
  3. ;; fit in any particular library.
  4. (import
  5. (scheme base)
  6. (scheme case-lambda)
  7. (scheme char)
  8. (scheme complex)
  9. (scheme inexact)
  10. (scheme write)
  11. (scheme read)
  12. (scheme file)
  13. (srfi 1))
  14. (export value->procedure assq-ref assv-ref assoc-ref
  15. print memoize memoize-testing atom? flatten
  16. pair-conjugate complex-conjugate integer->hex integer->bin
  17. bin->integer hex->integer hex->bin bin->hex
  18. color-string->triplet triplet->color-string
  19. list->procedure vector->procedure string->procedure
  20. assq->procedure assv->procedure assoc->procedure
  21. test-for-each? properize improperize assert logging
  22. read-entire-file join op-table snoc combine symbol-list->string
  23. curry uncurry papply left-papply right-papply pmap
  24. list-set concordance concord= concordq concordv
  25. vector-apply string-apply to-fixed to-exponential
  26. pipe pad-left pad-right list-split string-split iden
  27. inc dec alist-mapper repeated)
  28. (include "helpful.body.scm"))