Re:GHC 9.0, supporting linear types
by mauricioc on Wednesday December 30, 2020 @03:49PM
(#25585931)
There is no such thing as a "linear value" per se, since linearity is on the arrow. But speaking of linear values makes sense when there's an ambient monad, and all of the restrictions you expect are enforced; see Section 2.7 (and the last paragraph of Section 6.1) of https://arxiv.org/pdf/1710.09756.pdf for details.
[ Parent
| on HN ]
There are no comments on this comment yet.