Fic generics docs.

Closes PR 12988.
This commit is contained in:
Vincent St-Amour 2012-08-08 17:24:18 -04:00
parent 452d83069b
commit a190ecfb7b

View File

@ -583,10 +583,9 @@ type. The following methods can be implemented:
(remove* (assoc key al) al))
(define (dict-count dict #:default [x #f])
(or x
(length (remove-duplicates (alist-v dict) #:key car))))
(code:comment "etc. other methods")])
(length (remove-duplicates (alist-v dict) #:key car))))]) (code:comment "etc. other methods")
(define d1 '((1 . a) (2 . b)))
(define d1 (alist '((1 . a) (2 . b))))
(dict? d1)
(dict-ref d1 1)
]