1.sld 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. (define-library (srfi 1)
  2. (export
  3. xcons list-tabulate cons*
  4. proper-list? circular-list? dotted-list? not-pair? null-list? list=
  5. circular-list length+
  6. iota
  7. first second third fourth fifth sixth seventh eighth ninth tenth
  8. car+cdr
  9. take drop
  10. take-right drop-right
  11. take! drop-right!
  12. split-at split-at!
  13. last last-pair
  14. zip unzip1 unzip2 unzip3 unzip4 unzip5
  15. count
  16. append! append-reverse append-reverse! concatenate concatenate!
  17. unfold fold pair-fold reduce
  18. unfold-right fold-right pair-fold-right reduce-right
  19. append-map append-map! map! pair-for-each filter-map map-in-order
  20. filter partition remove
  21. filter! partition! remove!
  22. find find-tail any every list-index
  23. take-while drop-while take-while!
  24. span break span! break!
  25. delete delete!
  26. alist-cons alist-copy
  27. delete-duplicates delete-duplicates!
  28. alist-delete alist-delete!
  29. reverse!
  30. lset<= lset= lset-adjoin
  31. lset-union lset-intersection lset-difference lset-xor lset-diff+intersection
  32. lset-union! lset-intersection! lset-difference! lset-xor! lset-diff+intersection!
  33. )
  34. (import
  35. (scheme base)
  36. (scheme case-lambda)
  37. (scheme cxr)
  38. (srfi 8)
  39. (srfi aux))
  40. (begin
  41. (define-aux-forms check-arg let-optionals* :optional))
  42. (include "1.body.scm"))