use <foo> style in naming record type

This commit is contained in:
Yuichi Nishiwaki 2014-08-06 11:33:07 +09:00
parent 7b251a7129
commit 0610c0e95b
3 changed files with 6 additions and 4 deletions

View File

@ -1,7 +1,7 @@
(define-library (picrin array)
(import (scheme base))
(define-record-type array-type
(define-record-type <array>
(create-array data size head tail)
array?
(data array-data set-array-data!)

View File

@ -4,7 +4,7 @@
(import (scheme base)
(picrin macro))
(define-record-type promise
(define-record-type <promise>
(make-promise% done obj)
promise?
(done promise-done? promise-done!)

View File

@ -1,8 +1,10 @@
(define-library (srfi 111)
(import (scheme base))
(define-record-type box-type (box value) box?
(value unbox set-box!))
(define-record-type <box>
(box value)
box?
(value unbox set-box!))
(export box box?
unbox set-box!))