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> <<a href="mailto:trac@galois.com">
trac@galois.com</a>><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;">
Reporter: conal | Owner:</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> Type: proposal | Status: new</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> Priority: normal | Milestone:</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> Component: libraries/base | Version:
6.8.1</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> Severity: normal | Keywords:</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
Difficulty: Easy (1 hr) | Testcase:</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">Architecture: Unknown | Os: 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;"> {{{</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
instance Applicative STM where { pure = return; (<*>) = ap }</span><br style="font-family: courier new,monospace;"><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> instance Monoid (STM a) where { mempty = retry; mappend = orElse }
</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> }}}</span><br style="font-family: courier new,monospace;"><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
I don't know where these instances would go. Nor whether this is a</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> libraries or GHC proposal.</span><br><font color="#888888">
<br>--<br>Ticket URL: <<a href="http://hackage.haskell.org/trac/ghc/ticket/1960" target="_blank">http://hackage.haskell.org/trac/ghc/ticket/1960</a>><br>GHC <<a href="http://www.haskell.org/ghc/" target="_blank">
http://www.haskell.org/ghc/</a>><br>The Glasgow Haskell Compiler</font></div><br>