List with numbers #18
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hi James!
Thank you for tricu!
It helps me a lot with getting familiar with triage calculus!
A list containing only numbers is not decoded correctly:
But this works:
Hey @vincent , thanks for opening this! I'm quite early in development here so many features aren't properly documented.
You can work around this using the
!decodecommand in the REPL for now which disables decoding entirely. This allows you to see the full Tree forms of your outputs.The reason this happens is because strings are encoded as lists of numbers, so when the decoder function encounters [ (1) (2) ] , it believes that the value is a string containing the ASCII characters mapped to
1and2. The decoding function was a rushed implementation and can handle these situations much more intelligently, so I'll leave this issue open until I am able to make some changes so that it handles this better.Thank you @vincent for that additional feedback regarding the binaries; they're meant to be statically linked. I have some test builds running and if everything pans out, I'll update my pipelines here so that the next release works properly. Until then, I'll hold off on distributing further binaries as they're not going to be useful to anyone else. I'm tracking this in #20 and will tag you there when that is resolved.
As for the issue in this ticket, it's resolved in commit
e6e18239a7available now on main.Lists that only contain the numbers
9,10,13, and32...126will still decode as strings:This looks to be an improvement. Let me know if you have any thoughts on further improvements for this behavior.
That commit also replaces the
!decodeREPL command I just mentioned to you with!outputso that you can choose from the different output formats already implemented for the-tflag ontricu eval.I really appreciate you reporting these problems to me. If you run into any others or have suggestions, please feel free to open another issue!