Is STM part of the <a href="mailto:libraries@haskell.org">libraries@haskell.org</a> charter?<br><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">GHC</b> &lt;<a href="mailto:trac@galois.com">
trac@galois.com</a>&gt;<br>Date: Dec 5, 2007 2:57 PM<br>Subject: [GHC] #1960: Add Applicative and Monoid instances for STM<br>To: <br>Cc: <a href="mailto:glasgow-haskell-bugs@haskell.org">glasgow-haskell-bugs@haskell.org</a>
<br><br><br><span style="font-family: courier new,monospace;">#1960: Add Applicative and Monoid instances for STM</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">------------------------------
</span><span style="font-family: courier new,monospace;">-+----------------------------</span><span style="font-family: courier new,monospace;">----------------</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
 &nbsp; &nbsp;Reporter: &nbsp;conal &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | &nbsp; &nbsp; &nbsp; Owner:</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> &nbsp; &nbsp; &nbsp; &nbsp;Type: &nbsp;proposal &nbsp; &nbsp; &nbsp; &nbsp;| &nbsp; &nbsp; &nbsp;Status: &nbsp;new</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> &nbsp; &nbsp;Priority: &nbsp;normal &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;| &nbsp; Milestone:</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> &nbsp; Component: &nbsp;libraries/base &nbsp;| &nbsp; &nbsp; Version: &nbsp;
6.8.1</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> &nbsp; &nbsp;Severity: &nbsp;normal &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;| &nbsp; &nbsp;Keywords:</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
 &nbsp;Difficulty: &nbsp;Easy (1 hr) &nbsp; &nbsp; | &nbsp; &nbsp;Testcase:</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">Architecture: &nbsp;Unknown &nbsp; &nbsp; &nbsp; &nbsp; | &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Os: &nbsp;Unknown</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">------------------------------</span><span style="font-family: courier new,monospace;">-+----------------------------</span><span style="font-family: courier new,monospace;">
----------------</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp;{{{</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
&nbsp;instance Applicative STM where { pure = return; (&lt;*&gt;) = ap }</span><br style="font-family: courier new,monospace;"><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp;instance Monoid (STM a) where { mempty = retry; mappend = orElse }
</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp;}}}</span><br style="font-family: courier new,monospace;"><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
&nbsp;I don&#39;t know where these instances would go. &nbsp;Nor whether this is a</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp;libraries or GHC proposal.</span><br><font color="#888888">
<br>--<br>Ticket URL: &lt;<a href="http://hackage.haskell.org/trac/ghc/ticket/1960" target="_blank">http://hackage.haskell.org/trac/ghc/ticket/1960</a>&gt;<br>GHC &lt;<a href="http://www.haskell.org/ghc/" target="_blank">
http://www.haskell.org/ghc/</a>&gt;<br>The Glasgow Haskell Compiler</font></div><br>