2024-04-22 11:22:01 +00:00
|
|
|
# SPDX-FileCopyrightText: ☭ Emery Hemingway
|
|
|
|
# SPDX-License-Identifier: Unlicense
|
|
|
|
|
|
|
|
import ../preserves, ./private/macros
|
|
|
|
|
2024-05-23 12:58:40 +00:00
|
|
|
proc `%`*(v: bool|SomeFloat|SomeInteger|string|seq[byte]|Symbol): Value {.inline.} = v.toPreserves
|
|
|
|
# Preserve an atomic Nim value.
|