by effigies · 15y ago · 0 comments
I'd be more inclined to actually play with it, though, if it accepted a superset of Haskell, which allowed arbitrary IO tainting. So I might write:
do
pure code
{- Scotch debug statements
...
-}
pure code
And then just dump it into the Scotch compiler/interpreter when I ran into issues.Of course, this would only work if you could guarantee semantic equivalence to the Haskell except in those debug bits.
The lack of gdb support for Haskell is very irritating, but it seems you won't get that with Scotch at the moment either.