Goal: Be able to unit-test an upcoming experimental jax->dex pipeline from Haskell.
Side-benefit: Speed up our Haskell unit test suite (and improve coverage) by not recompiling the trivial casting function with LLVM for every input value on which we might test its behavior.
This occasioned a rework of TopLevel.hs, to make the actual compilation pipeline clearer and more uniform.
Goal: Be able to unit-test an upcoming experimental jax->dex pipeline from Haskell.
Side-benefit: Speed up our Haskell unit test suite (and improve coverage) by not recompiling the trivial casting function with LLVM for every input value on which we might test its behavior.
This occasioned a rework of TopLevel.hs, to make the actual compilation pipeline clearer and more uniform.