News for hackers. Stuff that matters.
Re:On Marketing Haskell by mrkeen on Saturday May 30, 2020 @06:25PM (#23365348)
You say you're not a Haskeller, so I'm going to take what you say about the compiler internals with a grain of salt.

> And before you say "why not just break the runtime model", by e.g. having special debug functions that can do IO while presenting to the runtime as pure functions—well, it's not impossible, in theory, but it's a Hard Problem.

  import Debug.Trace

  square x = 
      trace "I'm a Hard Problem" (x * x)

  main =
      print (square 3)

There are no comments on this comment yet.