effekt-lang / effekt-lang/effekt
record logging/stringify could use nice formatting
- Dominant language
- Scala
- Stars
- 469
- Forks
- 41
- Avg merge
- 1d 16h
- Merged PRs (30d)
- 23
Description
since Effekt has no stepper, i have to rely on printline logging to debug.
Recently i had a Record Planet(x: double,y: double,z: double,vx: double, vy: double, vz: double, mass: double)
which was hell to read in the output.
- [ ] include field name in show(myRecord): //returns MyRecordType(a: 1, b: 'hello world')
- [ ] use linebreaks after each field
- [ ] format records inside arrays too (currently just outputs [Object object, Object object])
i can not think of a case where linebreaks would be truly problematic, but they would improve readability in the console a LOT
=> streamlining the debugging process
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.