fix some type errors in the code
This commit is contained in:
@@ -11,6 +11,11 @@ struct
|
||||
|
||||
val maxSize = 32
|
||||
|
||||
fun isEmpty t =
|
||||
case t of
|
||||
LEAF (_, sizes) = Vector.length sizes = 0
|
||||
| _ => false
|
||||
|
||||
val empty = LEAF (#[], #[])
|
||||
|
||||
datatype append_result = APPEND of t | UPDATE of t
|
||||
|
||||
Reference in New Issue
Block a user