Replace ByteAddress with uint
This commit is contained in:
parent
f78308765e
commit
ce6d97c1d3
|
@ -80,7 +80,7 @@ func isEmpty(cont: Continuation): bool =
|
||||||
cont.cache.len == 0 and cont.leafMap.len == 0
|
cont.cache.len == 0 and cont.leafMap.len == 0
|
||||||
|
|
||||||
proc `$`(x: Leaf|Continuation): string =
|
proc `$`(x: Leaf|Continuation): string =
|
||||||
cast[ByteAddress](x[].unsafeAddr).toHex
|
cast[uint](x[].unsafeAddr).toHex
|
||||||
|
|
||||||
type
|
type
|
||||||
ContinuationProc = proc (c: Continuation; v: Value) {.gcsafe.}
|
ContinuationProc = proc (c: Continuation; v: Value) {.gcsafe.}
|
||||||
|
@ -119,7 +119,7 @@ func isEmpty(node: Node): bool =
|
||||||
node.continuation.isEmpty and node.edges.len == 0
|
node.continuation.isEmpty and node.edges.len == 0
|
||||||
|
|
||||||
proc `$`(node: Node): string =
|
proc `$`(node: Node): string =
|
||||||
$(cast[ByteAddress](unsafeAddr node[]) and 0xffffff)
|
$(cast[uint](unsafeAddr node[]) and 0xffffff)
|
||||||
|
|
||||||
type TermStack = seq[Value]
|
type TermStack = seq[Value]
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Package
|
# Package
|
||||||
|
|
||||||
version = "20230801"
|
version = "20230805"
|
||||||
author = "Emery Hemingway"
|
author = "Emery Hemingway"
|
||||||
description = "Syndicated actors for conversational concurrency"
|
description = "Syndicated actors for conversational concurrency"
|
||||||
license = "Unlicense"
|
license = "Unlicense"
|
||||||
|
|
Loading…
Reference in New Issue