News for hackers. Stuff that matters.
Re:Linear types are merged in GHC by pickdenis on Sunday June 21, 2020 @02:54PM (#23594343)
You're taking the intuition a little too far, I think. If we're talking about linear types, Math.pow can be linear because you can _copy_ the value x as many times as you want. As far as memory management is concerned, the x that was passed in was only used once (to make however many copies).

There are no comments on this comment yet.