Debug.log and --optimize

Ah, I just thought of another, more maintainable way to keep the debugging hooks in place. I can make a DebugSupport module that wraps Debug.log, and then I only have one isolated place where i can switch between using Debug.log and my (\_ val -> val) substitute. Gonna give this a try now.

4 Likes