arturo icon indicating copy to clipboard operation
arturo copied to clipboard

[VM/values/printable] Do we even need to have this?

Open github-actions[bot] opened this issue 2 years ago • 0 comments

[VM/values/printable] Do we even need to have this?

This module include a carbon copy of the $ overloads for Value and SymbolKind values, copied verbatim from VM/values/value. Obviously, the reason for its existence must have been Nim's awkward way of resolving module imports; but there must be a better way.

https://github.com/arturo-lang/arturo/blob/ce734e7a32c73173910cdf8f533f56be21febe3b/src/vm/values/printable.nim#L9

######################################################

# TODO(VM/values/printable) Do we even need to have this?
#  This module include a carbon copy of the `$` overloads for Value and SymbolKind values, copied verbatim from VM/values/value. Obviously, the reason for its existence must have been Nim's awkward way of resolving module imports; but there *must* be a better way.
#  labels: vm, values, cleanup

#=======================================
# Libraries
#=======================================
ndex 24ea9c0df..34c78538d 100644
++ b/src/vm/values/value.nim

1e8b158fb82a4ad91624ee7e7a42ac8f5088481a

github-actions[bot] avatar Aug 03 '22 11:08 github-actions[bot]