EffectOrientedProgramming / book

Effect-Oriented Programming: Creating Reliable Systems with Scala 3 and ZIO 2
https://effectorientedprogramming.com
220 stars 15 forks source link

Infra Todo #313

Open jamesward opened 2 months ago

jamesward commented 2 months ago
jamesward commented 1 month ago

We can avoid doing a .debug on failures, like: https://github.com/EffectOrientedProgramming/book/commit/a95401e05c40e25aa4cec462d6e4836c6952e8e8

I think that is a better approach than trying to muck with the output as that doesn't do anything for the examples.

jamesward commented 1 month ago

Also I think that to address the result not outputting in examples, we should use .debug instead of manually including the result in mdoc / manuscript.

swoogles commented 6 days ago

Observation - searching for ^'s in the generated output is actually pretty useful for finding places where our more brittle error stripping has failed. Something to consider before we strip them out.