Plutonomicon / plutarch-plutus

Typed eDSL for writing UPLC /ˈpluː.tɑːk/
MIT License
123 stars 64 forks source link

Add haddocks to new `compile`/`TracingMode` API #532

Open peter-mlabs opened 2 years ago

peter-mlabs commented 2 years ago

TracingMode doesn't have any haddocks, and its not immediately apparent what DetTracing does.

L-as commented 2 years ago

deterministic tracing

peter-mlabs commented 2 years ago

What does deterministic tracing do vs regular tracing?

L-as commented 2 years ago

@peter-mlabs When you're doing tests, you often want the compiled code not to change if the source code hasn't. Without DetTracing, moving around lines (without changing anything), will change the trace messages, since they will include the line numbers.

peter-mlabs commented 2 years ago

Ah good! Thanks