mirror of
https://github.com/justinethier/cyclone.git
synced 2025-05-23 20:15:05 +02:00
Tests pass now
This commit is contained in:
parent
e9ed4abcc5
commit
0b38fa2b32
1 changed files with 8 additions and 8 deletions
|
@ -2,8 +2,8 @@
|
|||
|
||||
(write #u8(1 2 3 4 5))
|
||||
(write (make-bytevector 2 12)) ; =⇒ #u8(12 12)
|
||||
;(write (bytevector 1 3 5 1 3 5)) ; =⇒ #u8(1 3 5 1 3 5)
|
||||
;(write (bytevector)) ;=⇒ #u8()
|
||||
(write (bytevector 1 3 5 1 3 5)) ; =⇒ #u8(1 3 5 1 3 5)
|
||||
(write (bytevector)) ;=⇒ #u8()
|
||||
|
||||
(write (bytevector-append
|
||||
(make-bytevector 1 1)
|
||||
|
@ -11,10 +11,10 @@
|
|||
(make-bytevector 3 3)
|
||||
))
|
||||
|
||||
;(write (bytevector-u8-ref '#u8(1 1 2 3 5 8 13 21) 5)) ;=⇒ 8
|
||||
;(write
|
||||
; (let ((bv (bytevector 1 2 3 4)))
|
||||
; (bytevector-u8-set! bv 1 3)
|
||||
; bv)
|
||||
;) ;=⇒ #u8(1 3 3 4)
|
||||
(write (bytevector-u8-ref '#u8(1 1 2 3 5 8 13 21) 5)) ;=⇒ 8
|
||||
(write
|
||||
(let ((bv (bytevector 1 2 3 4)))
|
||||
(bytevector-u8-set! bv 1 3)
|
||||
bv)
|
||||
) ;=⇒ #u8(1 3 3 4)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue