<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Linear Haskell: practical linearity in a higher-order polymorphic language · HackerPapers discussions</title><link>https://hackerpaper.kaipfister.de/p/1710.09756/</link><description>Collected HN comments and submissions linking this paper.</description><language>en</language><lastBuildDate>Mon, 02 Nov 2026 11:16:22 GMT</lastBuildDate><atom:link href="https://hackerpaper.kaipfister.de/p/1710.09756/feed.xml" rel="self" type="application/rss+xml" /><item><title>Linear Haskell: practical linearity in a higher-order polymorphic language — mentioned by tome</title><link>https://news.ycombinator.com/item?id=25591725</link><guid isPermaLink="false">urn:hackerpapers:mention:1710.09756:25591725</guid><pubDate>Thu, 31 Dec 2020 11:30:23 GMT</pubDate><description>&lt;p&gt;Good observation. I believe you would use withFADR :: (FragileAndDangerousResource #-&amp;gt; Unrestricted a) -&amp;gt; Unrestricted a One can&amp;#x27;t tag &amp;quot;linear&amp;quot; values in the type system but one can tag non-linear &amp;quot;unrestricted&amp;quot; values. See &amp;quot;borrow&amp;quot; in Section 7.2, page 5:26 of https://arxiv.org/pdf/1710.09756.pdf&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/1710.09756/"&gt;Paper and discussion history&lt;/a&gt;. A mention is not an endorsement.&lt;/p&gt;</description><category>cs.PL</category></item><item><title>Linear Haskell: practical linearity in a higher-order polymorphic language — mentioned by mauricioc</title><link>https://news.ycombinator.com/item?id=25585931</link><guid isPermaLink="false">urn:hackerpapers:mention:1710.09756:25585931</guid><pubDate>Wed, 30 Dec 2020 20:49:42 GMT</pubDate><description>&lt;p&gt;There is no such thing as a &amp;quot;linear value&amp;quot; per se, since linearity is on the arrow. But speaking of linear values makes sense when there&amp;#x27;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.&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/1710.09756/"&gt;Paper and discussion history&lt;/a&gt;. A mention is not an endorsement.&lt;/p&gt;</description><category>cs.PL</category></item><item><title>Linear Haskell: practical linearity in a higher-order polymorphic language — mentioned by chrisaycock</title><link>https://news.ycombinator.com/item?id=25584736</link><guid isPermaLink="false">urn:hackerpapers:mention:1710.09756:25584736</guid><pubDate>Wed, 30 Dec 2020 18:57:29 GMT</pubDate><description>&lt;p&gt;I first became fascinated by linear [1] and uniqueness [2] types with Clean [3], a purely functional language that handles state and IO without monads. This Haskell extension uses linear types for resource safety and scoped effects [4]. For example, linear types can prevent use-after-free errors. Also, linear-typed arrays can perform in-place updates if there are no external pointers to the data. Similar to linear types is the affine type, where a value is used at-most once. Rust&amp;#x27;s borrow checker is based on this notion, so that values are &amp;quot;moved&amp;quot; rather than &amp;quot;copied&amp;quot;. [1]…&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/1710.09756/"&gt;Paper and discussion history&lt;/a&gt;. A mention is not an endorsement.&lt;/p&gt;</description><category>cs.PL</category></item><item><title>Linear Haskell: practical linearity in a higher-order polymorphic language — mentioned by pjmlp</title><link>https://news.ycombinator.com/item?id=24579579</link><guid isPermaLink="false">urn:hackerpapers:mention:1710.09756:24579579</guid><pubDate>Thu, 24 Sep 2020 15:34:38 GMT</pubDate><description>&lt;p&gt;Here is one example, https://github.com/rust-lang/rust/issues/63818 Alternative ideas, here are four, combining the productivity of automatic memory management with ownership, https://swift.org/blog/swift-5-exclusivity/ https://github.com/apple/swift/blob/master/docs/OwnershipMan... https://dlang.org/blog/2019/07/15/ownership-and-borrowing-in... &amp;quot;Linear Haskell&amp;quot;, https://arxiv.org/abs/1710.09756 In the context of Rust, maybe showing lifetimes graphically in an IDE would help productivity versus languages that offer automatic memory management alongside ownership.&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/1710.09756/"&gt;Paper and discussion history&lt;/a&gt;. A mention is not an endorsement.&lt;/p&gt;</description><category>cs.PL</category></item><item><title>Linear Haskell: practical linearity in a higher-order polymorphic language — mentioned by garmaine</title><link>https://news.ycombinator.com/item?id=19068137</link><guid isPermaLink="false">urn:hackerpapers:mention:1710.09756:19068137</guid><pubDate>Sun, 03 Feb 2019 06:10:38 GMT</pubDate><description>&lt;p&gt;There&amp;#x27;s a bit more said about it here: https://arxiv.org/pdf/1710.09756.pdf&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/1710.09756/"&gt;Paper and discussion history&lt;/a&gt;. A mention is not an endorsement.&lt;/p&gt;</description><category>cs.PL</category></item><item><title>Linear Haskell: practical linearity in a higher-order polymorphic language — mentioned by T-R</title><link>https://news.ycombinator.com/item?id=18174165</link><guid isPermaLink="false">urn:hackerpapers:mention:1710.09756:18174165</guid><pubDate>Tue, 09 Oct 2018 08:20:57 GMT</pubDate><description>&lt;p&gt;Something to keep in mind - linear types are on their way[1], with exactly this usecase in mind. Simon Peyton Jones gave an excellent presentation on the topic[2], briefly discussing exceptions, as well as giving a mention to ResourceT and the phantom type solution in the article (described as channel-passing). [1] https://arxiv.org/abs/1710.09756 [2] https://www.youtube.com/watch?v=t0mhvd3-60Y&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/1710.09756/"&gt;Paper and discussion history&lt;/a&gt;. A mention is not an endorsement.&lt;/p&gt;</description><category>cs.PL</category></item><item><title>Linear Haskell: practical linearity in a higher-order polymorphic language — HN submission</title><link>https://news.ycombinator.com/item?id=15607271</link><guid isPermaLink="false">urn:hackerpapers:submission:1710.09756:15607271</guid><pubDate>Thu, 02 Nov 2017 02:11:11 GMT</pubDate><description>&lt;p&gt;Linear Haskell: practical linearity in a higher-order polymorphic language&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;2 points; 0 discussion replies on HN. &lt;a href="https://hackerpaper.kaipfister.de/p/1710.09756/"&gt;Paper and source history&lt;/a&gt;. A submission is not an endorsement.&lt;/p&gt;</description><category>cs.PL</category></item></channel></rss>
