なんの役に立つのかわからんが書いてみるシリーズ。 alist-table SLIBに同名のものがあるけど方向性がちがう。 こっちは単なるhash-tableもどき。 (use srfi-1) (use gauche.collection) (define-class <alist-table> (<collection>) ((key= :getter key=-of :init-keyword :key= :init-value eq?) (alist :accessor alist-of :init-value '()))) (define (make-alist-table . maybe-key=) (make <alist-table> :key= (get-optional maybe-key= eq?))) (define-method alist-table-get ((s
![fuyuki](https://cdn-ak-scissors.b.st-hatena.com/image/square/53a987f8da95ff3323da15345495ff0ac5db3cf3/height=288;version=1;width=512/https%3A%2F%2Fpractical-scheme.net%2Fwiliki%2Fthumbnail-placeholder.png)