Patterns: preserve the value of Literal
This commit is contained in:
parent
ac2576f005
commit
843252ad61
|
@ -324,7 +324,7 @@ proc fromPreserveHook*[T, E](lit: var Literal[T]; pr: Preserve[E]): bool =
|
|||
pat.fromPreserve(pr) and lit.value.fromPreserve(depattern pat)
|
||||
|
||||
proc toPreserveHook*[T](lit: Literal[T]; E: typedesc): Preserve[E] =
|
||||
lit.grab.toPreserve(E)
|
||||
lit.value.grab.toPreserve(E)
|
||||
|
||||
type
|
||||
Path* = seq[Value]
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Package
|
||||
|
||||
version = "20231021"
|
||||
version = "20231026"
|
||||
author = "Emery Hemingway"
|
||||
description = "Syndicated actors for conversational concurrency"
|
||||
license = "Unlicense"
|
||||
|
|
Loading…
Reference in New Issue