diff options
author | Kartik Agaram <vc@akkartik.com> | 2020-01-12 12:11:15 -0800 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2020-01-12 14:49:35 -0800 |
commit | f1eade728695ed3f52ae4e13f0a91dfe769e8567 (patch) | |
tree | d43079a8127487ecf9837600961f333e41ab7320 /064write-byte.subx | |
parent | e064f1bbfdbd4386d752fbb750bf36d91dce413b (diff) | |
download | mu-f1eade728695ed3f52ae4e13f0a91dfe769e8567.tar.gz |
5883 - drop the `ref` keyword
When I created it I was conflating two things: a) needing to refer to just the start, rather than the whole, and b) counting indirections. Both are kinda ill-posed. Now Mu will have just `addr` and `handle` types. Normal types will translate implicitly to `addr` types, while `handle` will always require explicit handling.
Diffstat (limited to '064write-byte.subx')
-rw-r--r-- | 064write-byte.subx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/064write-byte.subx b/064write-byte.subx index cd68eea7..a5f886b2 100644 --- a/064write-byte.subx +++ b/064write-byte.subx @@ -7,7 +7,7 @@ == data # The buffered file for standard output. -Stdout: # (ref buffered-file) +Stdout: # buffered-file # file descriptor or (addr stream byte) 1/imm32 # standard output $Stdout->buffer: @@ -283,7 +283,7 @@ test-append-byte-single: == data -_test-output-stream: # (ref stream byte) +_test-output-stream: # (stream byte) # current write index 0/imm32 # current read index @@ -325,7 +325,7 @@ _test-output-stream: # (ref stream byte) 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 # a test buffered file for _test-output-stream -_test-output-buffered-file: # (ref buffered-file) +_test-output-buffered-file: # buffered-file # file descriptor or (addr stream byte) _test-output-stream/imm32 $_test-output-buffered-file->buffer: @@ -338,7 +338,7 @@ $_test-output-buffered-file->buffer: # data 00 00 00 00 00 00 # 6 bytes -_test-error-stream: # (ref stream byte) +_test-error-stream: # (stream byte) # current write index 0/imm32 # current read index @@ -356,7 +356,7 @@ _test-error-stream: # (ref stream byte) 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 # a test buffered file for _test-error-stream -_test-error-buffered-file: # (ref buffered-file) +_test-error-buffered-file: # buffered-file # file descriptor or (addr stream byte) _test-error-stream/imm32 $_test-error-buffered-file->buffer: |