about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2019-01-16 11:16:34 -0800
committerKartik Agaram <vc@akkartik.com>2019-01-16 11:16:34 -0800
commit0c11cafe790332eb65e1076dac4cfa97f44a137e (patch)
tree2c6dd919c18cea505cb15aac6f79248aa8502e59
parent71ee78f279ce7a3a3696be00e49bdefce75071f2 (diff)
downloadmu-0c11cafe790332eb65e1076dac4cfa97f44a137e.tar.gz
4934
-rw-r--r--subx/063hex.subx4
-rw-r--r--subx/070slice.subx4
-rw-r--r--subx/apps/crenshaw2-1.subx2
-rw-r--r--subx/apps/crenshaw2-1b.subx2
4 files changed, 6 insertions, 6 deletions
diff --git a/subx/063hex.subx b/subx/063hex.subx
index 6c36c74b..7d753f92 100644
--- a/subx/063hex.subx
+++ b/subx/063hex.subx
@@ -13,7 +13,7 @@
     b8/copy-to-EAX  1/imm32/exit
     cd/syscall  0x80/imm8
 
-is-hex-int?:  # in : (address slice) -> bool/EAX
+is-hex-int?:  # in : (address slice) -> EAX : boolean
     # . prolog
     55/push-EBP
     89/copy                         3/mod/direct    5/rm32/EBP    .           .             .           4/r32/ESP   .               .                 # copy ESP to EBP
@@ -511,7 +511,7 @@ test-parse-hex-int-negative:
     5d/pop-to-EBP
     c3/return
 
-is-hex-digit?:  # c : byte -> bool/EAX
+is-hex-digit?:  # c : byte -> EAX : boolean
     # . prolog
     55/push-EBP
     89/copy                         3/mod/direct    5/rm32/EBP    .           .             .           4/r32/ESP   .               .                 # copy ESP to EBP
diff --git a/subx/070slice.subx b/subx/070slice.subx
index 7be920ec..82099bc5 100644
--- a/subx/070slice.subx
+++ b/subx/070slice.subx
@@ -13,7 +13,7 @@
     b8/copy-to-EAX  1/imm32/exit
     cd/syscall  0x80/imm8
 
-slice-empty?:  # s : (address slice) -> bool/EAX
+slice-empty?:  # s : (address slice) -> EAX : boolean
     # . prolog
     55/push-EBP
     89/copy                         3/mod/direct    5/rm32/EBP    .           .             .           4/r32/ESP   .               .                 # copy ESP to EBP
@@ -95,7 +95,7 @@ test-slice-empty-false:
     5d/pop-to-EBP
     c3/return
 
-slice-equal?:  # s : (address slice), p : (address string) -> bool/EAX
+slice-equal?:  # s : (address slice), p : (address string) -> EAX : boolean
     # . prolog
     55/push-EBP
     89/copy                         3/mod/direct    5/rm32/EBP    .           .             .           4/r32/ESP   .               .                 # copy ESP to EBP
diff --git a/subx/apps/crenshaw2-1.subx b/subx/apps/crenshaw2-1.subx
index ab758b02..7c279955 100644
--- a/subx/apps/crenshaw2-1.subx
+++ b/subx/apps/crenshaw2-1.subx
@@ -553,7 +553,7 @@ $get-char:end:
     5d/pop-to-EBP
     c3/return
 
-is-digit?:  # c : int -> bool/EAX
+is-digit?:  # c : int -> EAX : boolean
     # . prolog
     55/push-EBP
     89/copy                         3/mod/direct    5/rm32/EBP    .           .             .           4/r32/ESP   .               .                 # copy ESP to EBP
diff --git a/subx/apps/crenshaw2-1b.subx b/subx/apps/crenshaw2-1b.subx
index bac458f0..0df86a68 100644
--- a/subx/apps/crenshaw2-1b.subx
+++ b/subx/apps/crenshaw2-1b.subx
@@ -750,7 +750,7 @@ get-char:  # f : (address buffered-file) -> <void>
     5d/pop-to-EBP
     c3/return
 
-is-digit?:  # c : int -> bool/EAX
+is-digit?:  # c : int -> EAX : boolean
     # . prolog
     55/push-EBP
     89/copy                         3/mod/direct    5/rm32/EBP    .           .             .           4/r32/ESP   .               .                 # copy ESP to EBP