Changeset 38818 in project


Ignore:
Timestamp:
08/06/20 18:17:08 (4 months ago)
Author:
juergen
Message:

generics 2.0.1 with docu fixed

Location:
release/5/generics
Files:
1 deleted
2 edited
5 copied

Legend:

Unmodified
Added
Removed
  • release/5/generics/tags/2.0.1/generic-functions.scm

    r38613 r38818  
    121121
    122122(module generic-functions
    123   (generics define-generic generic-method-tree
     123  (generic-functions define-generic generic-method-tree
    124124   generic? generic-variadic? generic-arity
    125125   make-method method? method method-name proc-name
     
    449449             item))))
    450450
    451 ;;;;;;;;;;;;;;;; generics ;;;;;;;;;;;;;;;;;
    452 
    453451;;; (define-generic (Name x ....) body ....)
    454452;;; (define-generic (Name x ... . xs) body ....)
    455 ;;; -------------------------------------------------
     453;;; --------------------------------------------
    456454;;; Creates a generic function Name with one method from arguments x
    457455;;; .... or x ... . xs and body ....
     
    578576    (generic-method-tree Gen)))
    579577
    580 ;;; (generics sym ..)
    581 ;;; -----------------
     578;;; (generic-functions sym ..)
     579;;; --------------------------
    582580;;; documentation procedure
    583 (define generics
     581(define generic-functions
    584582  (symbol-dispatcher '(
    585583    (define-generic
    586584      macro:
    587       (define-generic (Name (x x??) ....) body ....)
    588       (define-generic (Name (x x??) ... xs xs??) body ....)
     585      (define-generic (Name x ....) body ....)
     586      (define-generic (Name x ... . xs) body ....)
    589587      "defines a new generic function Name with one anonymous"
    590       "method from arguments x .... or x ... . xs, selectors"
    591       "x?? .... or x?? ... xs?? and body ...."
     588      "method from arguments x .... or x ... . xs, respectively"
    592589      "The state of this generic consists of a cell containing"
    593590      "a one-item method tree."
     
    745742    )))
    746743
    747 ) ; module generics
     744) ; module generic-functions
  • release/5/generics/tags/2.0.1/generics.egg

    r38613 r38818  
    55 (dependencies simple-cells)
    66 (author "Juergen Lorenz")
    7  (version "2.0")
     7 (version "2.0.1")
    88 (component-options
    99   (csc-options "-d0" "-O3"))
  • release/5/generics/trunk/generic-functions.scm

    r38613 r38818  
    121121
    122122(module generic-functions
    123   (generics define-generic generic-method-tree
     123  (generic-functions define-generic generic-method-tree
    124124   generic? generic-variadic? generic-arity
    125125   make-method method? method method-name proc-name
     
    449449             item))))
    450450
    451 ;;;;;;;;;;;;;;;; generics ;;;;;;;;;;;;;;;;;
    452 
    453451;;; (define-generic (Name x ....) body ....)
    454452;;; (define-generic (Name x ... . xs) body ....)
    455 ;;; -------------------------------------------------
     453;;; --------------------------------------------
    456454;;; Creates a generic function Name with one method from arguments x
    457455;;; .... or x ... . xs and body ....
     
    578576    (generic-method-tree Gen)))
    579577
    580 ;;; (generics sym ..)
    581 ;;; -----------------
     578;;; (generic-functions sym ..)
     579;;; --------------------------
    582580;;; documentation procedure
    583 (define generics
     581(define generic-functions
    584582  (symbol-dispatcher '(
    585583    (define-generic
    586584      macro:
    587       (define-generic (Name (x x??) ....) body ....)
    588       (define-generic (Name (x x??) ... xs xs??) body ....)
     585      (define-generic (Name x ....) body ....)
     586      (define-generic (Name x ... . xs) body ....)
    589587      "defines a new generic function Name with one anonymous"
    590       "method from arguments x .... or x ... . xs, selectors"
    591       "x?? .... or x?? ... xs?? and body ...."
     588      "method from arguments x .... or x ... . xs, respectively"
    592589      "The state of this generic consists of a cell containing"
    593590      "a one-item method tree."
     
    745742    )))
    746743
    747 ) ; module generics
     744) ; module generic-functions
  • release/5/generics/trunk/generics.egg

    r38613 r38818  
    55 (dependencies simple-cells)
    66 (author "Juergen Lorenz")
    7  (version "2.0")
     7 (version "2.0.1")
    88 (component-options
    99   (csc-options "-d0" "-O3"))
Note: See TracChangeset for help on using the changeset viewer.