Skip to content

Add the ability to obtain human-readable representations of objects

Yorick Peterse requested to merge inspect into master

The Inspect trait defines a single method, called "inspect". This is necessary for the upcoming std::test library discussed in https://gitlab.com/yorickpeterse/inko/issues/100.

TODO

  • Add a StringBuffer object, for efficiently concatenating Strings
  • Extend the StringConcat VM instruction so it can concatenate an arbitrary number of Strings.
  • Use StringBuffer for Object.inspect and Array.inspect
Edited by Yorick Peterse

Merge request reports