JuliaDebug / Cthulhu.jl

The slow descent into madness
MIT License
657 stars 41 forks source link

Create overloadable function for string representations of types #537

Open MilesCranmer opened 9 months ago

MilesCranmer commented 9 months ago

Fixes #535

Example:

Screenshot 2024-01-17 at 21 46 24
MilesCranmer commented 9 months ago

Okay I think I'm hitting some recursive types now. It's not fully general but the user can always overload behavior when needed.

For the tests I think I'm doing something wrong in that I don't understand Cthulhu.cthulhu_typed's output and whether it actually triggers type_string or not. Mind taking a look?