<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:old.nabble.com,2006:forum-13141</id>
	<title>Nabble - Haskell - Libraries</title>
	<updated>2009-11-30T06:49:13Z</updated>
	<link rel="self" type="application/atom+xml" href="http://old.nabble.com/Haskell---Libraries-f13141.xml" />
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Haskell---Libraries-f13141.html" />
	<subtitle type="html">Discussion about libraries for Haskell</subtitle>
	
<entry>
	<id>tag:old.nabble.com,2006:post-26575906</id>
	<title>[network] `setSocketOption' fails with `Linger' option</title>
	<published>2009-11-30T06:49:13Z</published>
	<updated>2009-11-30T06:49:13Z</updated>
	<author>
		<name>Valery V. Vorotyntsev</name>
	</author>
	<content type="html">See &lt;a href=&quot;http://is.gd/57Ptu&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://is.gd/57Ptu&lt;/a&gt;&amp;nbsp;(Network.Socket.setSocketOption).
&lt;br&gt;&lt;br&gt;`setSocketOption' uses FFI binding to setsockopt(2), named
&lt;br&gt;`c_setsockopt'.
&lt;br&gt;&lt;br&gt;&amp;gt; foreign import CALLCONV unsafe &amp;quot;setsockopt&amp;quot;
&lt;br&gt;&amp;gt; &amp;nbsp; c_setsockopt :: CInt -&amp;gt; CInt -&amp;gt; CInt -&amp;gt; Ptr CInt -&amp;gt; CInt -&amp;gt; IO CInt
&lt;br&gt;&lt;br&gt;The binding treats OPTVAL (4th argument) as a pointer to `int'. This
&lt;br&gt;is mostly fine but not when `SO_LINGER' option is being set. In the
&lt;br&gt;latter case OPTVAL must be a pointer to `struct linger'. [1]
&lt;br&gt;&lt;br&gt;&amp;nbsp; [1] &lt;a href=&quot;http://www.gnu.org/s/libc/manual/html_node/Socket_002dLevel-Options.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gnu.org/s/libc/manual/html_node/Socket_002dLevel-Options.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;Haskell programs trying to set SO_LINGER socket option will
&lt;br&gt;successfully compile but fail in runtime.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; $ runhaskell socket-linger.hs || echo X
&lt;br&gt;&amp;nbsp; &amp;nbsp; $ runhaskell -DLINGER socket-linger.hs || echo X
&lt;br&gt;&amp;nbsp; &amp;nbsp; socket-linger.hs: setSocketOption: invalid argument (Invalid argument)
&lt;br&gt;&amp;nbsp; &amp;nbsp; X
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; $ gcc -g -Wall -W -o /tmp/1 socket-linger.c &amp;&amp; /tmp/1 || echo X
&lt;br&gt;&amp;nbsp; &amp;nbsp; $ gcc -g -DLINGER_AS_INT -Wall -W -o /tmp/1 socket-linger.c &amp;&amp;
&lt;br&gt;/tmp/1 || echo X
&lt;br&gt;&amp;nbsp; &amp;nbsp; setsockopt: Invalid argument
&lt;br&gt;&amp;nbsp; &amp;nbsp; X
&lt;br&gt;&lt;br&gt;(See attached files `socket-linger.c', `socket-linger.hs'.)
&lt;br&gt;&lt;br&gt;The necessity of `SO_LINGER' option is controversial (see [2]).
&lt;br&gt;I think it is better to comment the `Linger' constructor out of
&lt;br&gt;Network/Socket.hsc.
&lt;br&gt;&lt;br&gt;&amp;nbsp; [2] &lt;a href=&quot;http://www.developerweb.net/forum/archive/index.php/t-2982.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.developerweb.net/forum/archive/index.php/t-2982.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;Cheers.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;vvv
&lt;br&gt;&lt;br /&gt;&lt;tt&gt;[socket-linger.hs]&lt;/tt&gt;&lt;br /&gt;&lt;hr align=&quot;left&quot; width=&quot;300&quot; /&gt;&lt;tt&gt;{-# LANGUAGE CPP #-}
&lt;br&gt;module Main where
&lt;br&gt;&lt;br&gt;import Network.Socket
&lt;br&gt;&lt;br&gt;main = do
&lt;br&gt;&amp;nbsp; (ap:_) &amp;lt;- getAddrInfo (Just hints) (Just &amp;quot;slashdot.org&amp;quot;) (Just &amp;quot;80&amp;quot;)
&lt;br&gt;&amp;nbsp; h &amp;lt;- socket AF_INET Stream tcp
&lt;br&gt;#ifdef LINGER
&lt;br&gt;&amp;nbsp; setSocketOption h Linger 5
&lt;br&gt;&amp;nbsp; -- ==&amp;gt; Exception: setSocketOption: invalid argument (Invalid argument)
&lt;br&gt;#endif
&lt;br&gt;&amp;nbsp; connect h (addrAddress ap)
&lt;br&gt;&amp;nbsp; sClose h
&lt;br&gt;&amp;nbsp; &amp;nbsp; where
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; tcp = 6 -- awk '($1 == &amp;quot;tcp&amp;quot;) {print $2}' /etc/protocols
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; hints = defaultHints { addrFamily = AF_INET
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;, addrSocketType = Stream
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;, addrProtocol = tcp }
&lt;br&gt;&lt;/tt&gt;&lt;hr align=&quot;left&quot; width=&quot;300&quot; /&gt;&lt;br /&gt; &lt;br /&gt;_______________________________________________
&lt;br&gt;Libraries mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26575906&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Libraries@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://www.haskell.org/mailman/listinfo/libraries&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.haskell.org/mailman/listinfo/libraries&lt;/a&gt;&lt;br&gt;&lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;socket-linger.c&lt;/strong&gt; (1K) &lt;a href=&quot;http://old.nabble.com/attachment/26575906/0/socket-linger.c&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-network--%60setSocketOption%27-fails-with-%60Linger%27-option-tp26575906p26575906.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26575864</id>
	<title>Re: Guarantees regarding finalizers</title>
	<published>2009-11-30T06:45:48Z</published>
	<updated>2009-11-30T06:45:48Z</updated>
	<author>
		<name>Simon Marlow-7</name>
	</author>
	<content type="html">On 26/11/2009 12:41, Mietek Bąk wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; I'm writing a binding to a C library, which requires an explicit
&lt;br&gt;&amp;gt; cleanup call before program termination. &amp;nbsp;While looking for a way to
&lt;br&gt;&amp;gt; automatize this, I noticed a discrepancy in the standard library
&lt;br&gt;&amp;gt; documentation.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; The Foreign.Concurrent documentation states:
&lt;br&gt;&amp;gt; &amp;quot;The only guarantee is that the finalizer runs before the program terminates.&amp;quot;
&lt;br&gt;&amp;gt; (&lt;a href=&quot;http://www.haskell.org/ghc/docs/latest/html/libraries/base/Foreign-Concurrent.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.haskell.org/ghc/docs/latest/html/libraries/base/Foreign-Concurrent.html&lt;/a&gt;)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; On the other hand, the Foreign.ForeignPtr documentation states:
&lt;br&gt;&amp;gt; &amp;quot;Indeed, there is no guarantee that the finalizer is executed at all;
&lt;br&gt;&amp;gt; a program may exit with finalizers outstanding.&amp;quot;
&lt;br&gt;&amp;gt; (&lt;a href=&quot;http://www.haskell.org/ghc/docs/latest/html/libraries/base/Foreign-ForeignPtr.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.haskell.org/ghc/docs/latest/html/libraries/base/Foreign-ForeignPtr.html&lt;/a&gt;)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Note that Foreign.Concurrent.newForeignPtr is implemented in GHC as
&lt;br&gt;&amp;gt; GHC.ForeignPtr.newConcForeignPtr. &amp;nbsp;The newConcForeignPtr comments also
&lt;br&gt;&amp;gt; state:
&lt;br&gt;&amp;gt; &amp;quot;There is no guarantee of promptness, and in fact there is no
&lt;br&gt;&amp;gt; guarantee that the finalizer will eventually run at all.&amp;quot;
&lt;br&gt;&amp;gt; (&lt;a href=&quot;http://www.haskell.org/ghc/docs/latest/html/libraries/base/src/GHC-ForeignPtr.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.haskell.org/ghc/docs/latest/html/libraries/base/src/GHC-ForeignPtr.html&lt;/a&gt;)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; As much as I would like the Foreign.Concurrent guarantee to be true,
&lt;br&gt;&amp;gt; this seems to me like a documentation bug.
&lt;/div&gt;&lt;br&gt;The docs are rather backward. &amp;nbsp;Foreign.ForeignPtr finalizers are 
&lt;br&gt;guaranteed to run, Foreign.Concurrent finalizers are not. &amp;nbsp;I'll fix the 
&lt;br&gt;docs, thanks for the report.
&lt;br&gt;&lt;br&gt;Cheers,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Simon
&lt;br&gt;_______________________________________________
&lt;br&gt;Libraries mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26575864&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Libraries@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://www.haskell.org/mailman/listinfo/libraries&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.haskell.org/mailman/listinfo/libraries&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Guarantees-regarding-finalizers-tp26528916p26575864.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26574862</id>
	<title>[network] new tickets submission unavailable</title>
	<published>2009-11-30T05:40:24Z</published>
	<updated>2009-11-30T05:40:24Z</updated>
	<author>
		<name>Valery V. Vorotyntsev</name>
	</author>
	<content type="html">&amp;gt; Example in the haddock documentation for `getAddrInfo' function is
&lt;br&gt;&amp;gt; rendered incorrectly
&lt;br&gt;&lt;br&gt;And what's the purpose of issue tracking system, which even _registered_
&lt;br&gt;user cannot create a ticket for?
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://trac.haskell.org/network/wiki&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://trac.haskell.org/network/wiki&lt;/a&gt;&lt;br&gt;&lt;br&gt;&amp;quot;What the bug?&amp;quot;
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;vvv
&lt;br&gt;_______________________________________________
&lt;br&gt;Libraries mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26574862&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Libraries@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://www.haskell.org/mailman/listinfo/libraries&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.haskell.org/mailman/listinfo/libraries&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-network--new-tickets-submission-unavailable-tp26574862p26574862.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26574761</id>
	<title>[network] getAddrInfo: invalid haddock (+ patch)</title>
	<published>2009-11-30T05:32:56Z</published>
	<updated>2009-11-30T05:32:56Z</updated>
	<author>
		<name>Valery V. Vorotyntsev</name>
	</author>
	<content type="html">Example in the haddock documentation for `getAddrInfo' function is
&lt;br&gt;rendered incorrectly:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://is.gd/57LgX&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://is.gd/57LgX&lt;/a&gt;&lt;br&gt;&lt;br&gt;-----BEGIN PATCH-----
&lt;br&gt;--- Network/Socket.hsc.orig	2009-11-30 15:08:57.869477201 +0200
&lt;br&gt;+++ Network/Socket.hsc	2009-11-30 15:08:28.328452505 +0200
&lt;br&gt;@@ -1972,9 +1972,10 @@
&lt;br&gt;&amp;nbsp;-- to make partial application easier.
&lt;br&gt;&amp;nbsp;--
&lt;br&gt;&amp;nbsp;-- Example:
&lt;br&gt;+--
&lt;br&gt;&amp;nbsp;-- @
&lt;br&gt;&amp;nbsp;-- &amp;nbsp; let hints = defaultHints { addrFlags = [AI_ADDRCONFIG, AI_CANONNAME] }
&lt;br&gt;--- &amp;nbsp; addrs &amp;lt;- getAddrInfo (Just hints) (Just &amp;quot;www.haskell.org&amp;quot;) (Just &amp;quot;http&amp;quot;)
&lt;br&gt;+-- &amp;nbsp; addrs &amp;lt;- getAddrInfo (Just hints) (Just \&amp;quot;www.haskell.org\&amp;quot;)
&lt;br&gt;(Just \&amp;quot;http\&amp;quot;)
&lt;br&gt;&amp;nbsp;-- &amp;nbsp; let addr = head addrs
&lt;br&gt;&amp;nbsp;-- &amp;nbsp; sock &amp;lt;- socket (addrFamily addr) (addrSocketType addr) (addrProtocol addr)
&lt;br&gt;&amp;nbsp;-- &amp;nbsp; connect sock (addrAddress addr)
&lt;br&gt;-----END PATCH-----
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;vvv
&lt;br&gt;&lt;br /&gt;&lt;tt&gt;[getAddrInfo-haddock.patch]&lt;/tt&gt;&lt;br /&gt;&lt;hr align=&quot;left&quot; width=&quot;300&quot; /&gt;&lt;tt&gt;--- Network/Socket.hsc.orig	2009-11-30 15:08:57.869477201 +0200
&lt;br&gt;+++ Network/Socket.hsc	2009-11-30 15:08:28.328452505 +0200
&lt;br&gt;@@ -1972,9 +1972,10 @@
&lt;br&gt;&amp;nbsp;-- to make partial application easier.
&lt;br&gt;&amp;nbsp;--
&lt;br&gt;&amp;nbsp;-- Example:
&lt;br&gt;+--
&lt;br&gt;&amp;nbsp;-- @
&lt;br&gt;&amp;nbsp;-- &amp;nbsp; let hints = defaultHints { addrFlags = [AI_ADDRCONFIG, AI_CANONNAME] }
&lt;br&gt;--- &amp;nbsp; addrs &amp;lt;- getAddrInfo (Just hints) (Just &amp;quot;www.haskell.org&amp;quot;) (Just &amp;quot;http&amp;quot;)
&lt;br&gt;+-- &amp;nbsp; addrs &amp;lt;- getAddrInfo (Just hints) (Just \&amp;quot;www.haskell.org\&amp;quot;) (Just \&amp;quot;http\&amp;quot;)
&lt;br&gt;&amp;nbsp;-- &amp;nbsp; let addr = head addrs
&lt;br&gt;&amp;nbsp;-- &amp;nbsp; sock &amp;lt;- socket (addrFamily addr) (addrSocketType addr) (addrProtocol addr)
&lt;br&gt;&amp;nbsp;-- &amp;nbsp; connect sock (addrAddress addr)
&lt;br&gt;&lt;/tt&gt;&lt;hr align=&quot;left&quot; width=&quot;300&quot; /&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;Libraries mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26574761&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Libraries@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://www.haskell.org/mailman/listinfo/libraries&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.haskell.org/mailman/listinfo/libraries&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-network--getAddrInfo%3A-invalid-haddock-%28%2B-patch%29-tp26574761p26574761.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26573836</id>
	<title>RE: GHC 6.12 + zlib + Mac OS 10.6</title>
	<published>2009-11-30T04:22:08Z</published>
	<updated>2009-11-30T04:22:08Z</updated>
	<author>
		<name>Duncan Coutts-4</name>
	</author>
	<content type="html">On Mon, 2009-11-30 at 12:20 +0000, Simon Peyton-Jones wrote:
&lt;br&gt;&amp;gt; | For ghc-6.12, we should just fix ticket #3681.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; OK, good. &amp;nbsp;But who is &amp;quot;we&amp;quot;? &amp;nbsp;
&lt;br&gt;&lt;br&gt;I think the short-term fix is just to change the hsc2hs wrapper script.
&lt;br&gt;So that'd be Ian.
&lt;br&gt;&lt;br&gt;Longer term we might want to do it differently to allow a single hsc2hs
&lt;br&gt;instance to be used to target either 32 or 64bit ABIs on the same
&lt;br&gt;platform.
&lt;br&gt;&lt;br&gt;Duncan
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Libraries mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26573836&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Libraries@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://www.haskell.org/mailman/listinfo/libraries&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.haskell.org/mailman/listinfo/libraries&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/GHC-6.12-%2B-zlib-%2B-Mac-OS-10.6-tp26556948p26573836.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26573811</id>
	<title>RE: GHC 6.12 + zlib + Mac OS 10.6</title>
	<published>2009-11-30T04:20:24Z</published>
	<updated>2009-11-30T04:20:24Z</updated>
	<author>
		<name>Simon Peyton-Jones</name>
	</author>
	<content type="html">| For ghc-6.12, we should just fix ticket #3681.
&lt;br&gt;&lt;br&gt;OK, good. &amp;nbsp;But who is &amp;quot;we&amp;quot;? &amp;nbsp;
&lt;br&gt;&lt;br&gt;Simon
&lt;br&gt;&lt;br&gt;| -----Original Message-----
&lt;br&gt;| From: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26573811&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;libraries-bounces@...&lt;/a&gt; [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26573811&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;libraries-bounces@...&lt;/a&gt;] On Behalf
&lt;br&gt;| Of Duncan Coutts
&lt;br&gt;| Sent: 30 November 2009 10:41
&lt;br&gt;| To: Simon Peyton-Jones
&lt;br&gt;| Cc: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26573811&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;glasgow-haskell-users@...&lt;/a&gt;; Haskell Libraries
&lt;br&gt;| Subject: RE: GHC 6.12 + zlib + Mac OS 10.6
&lt;br&gt;| 
&lt;br&gt;| On Mon, 2009-11-30 at 08:44 +0000, Simon Peyton-Jones wrote:
&lt;br&gt;| &amp;gt; Should this go in a FAQ? For GHC? Or for a particular architecture?
&lt;br&gt;| 
&lt;br&gt;| For ghc-6.10, yes. It'd should be a section &amp;quot;GHC on OSX 10.6 (Snow
&lt;br&gt;| Leopard)&amp;quot; and should describe the changes required to the shell script
&lt;br&gt;| wrappers of ghc and hsc2hs. It should also note that none of this is
&lt;br&gt;| necessary for ghc-6.12+.
&lt;br&gt;| 
&lt;br&gt;| For ghc-6.12, we should just fix ticket #3681.
&lt;br&gt;| 
&lt;br&gt;| &lt;a href=&quot;http://hackage.haskell.org/trac/ghc/ticket/3681&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://hackage.haskell.org/trac/ghc/ticket/3681&lt;/a&gt;&lt;br&gt;| 
&lt;br&gt;| 
&lt;br&gt;| Duncan
&lt;br&gt;| 
&lt;br&gt;| _______________________________________________
&lt;br&gt;| Libraries mailing list
&lt;br&gt;| &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26573811&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Libraries@...&lt;/a&gt;
&lt;br&gt;| &lt;a href=&quot;http://www.haskell.org/mailman/listinfo/libraries&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.haskell.org/mailman/listinfo/libraries&lt;/a&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Libraries mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26573811&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Libraries@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://www.haskell.org/mailman/listinfo/libraries&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.haskell.org/mailman/listinfo/libraries&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/GHC-6.12-%2B-zlib-%2B-Mac-OS-10.6-tp26556948p26573811.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26573575</id>
	<title>Re: MTL vs Transformers. Any status update?</title>
	<published>2009-11-30T03:59:57Z</published>
	<updated>2009-11-30T03:59:57Z</updated>
	<author>
		<name>Ross Paterson</name>
	</author>
	<content type="html">On Sun, Nov 29, 2009 at 11:37:45AM -0800, Alexander Dunlap wrote:
&lt;br&gt;&amp;gt; What is the plan for letting the two co-exist? Is everyone going to
&lt;br&gt;&amp;gt; have to write instances that work with both monads-{tf,fd} and then
&lt;br&gt;&amp;gt; export duplicate functions that have monad classes in their
&lt;br&gt;&amp;gt; signatures?
&lt;br&gt;&lt;br&gt;Most clients just use the transformers to make composite monads, and
&lt;br&gt;the classes to get the operations. &amp;nbsp;They can just pick one or the
&lt;br&gt;other for their private use.
&lt;br&gt;&lt;br&gt;People defining and exporting their own monads will probably want to
&lt;br&gt;make them instances of both versions of the classes.
&lt;br&gt;&lt;br&gt;If a package's interface uses the transformers (or the Haskell 98 classes
&lt;br&gt;MonadTrans and MonadIO), it will work with both monads packages.
&lt;br&gt;&lt;br&gt;That leaves the packages that have FD or TF classes in their interfaces.
&lt;br&gt;_______________________________________________
&lt;br&gt;Libraries mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26573575&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Libraries@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://www.haskell.org/mailman/listinfo/libraries&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.haskell.org/mailman/listinfo/libraries&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/MTL-vs-Transformers.-Any-status-update--tp26534986p26573575.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26573183</id>
	<title>Re: MTL vs Transformers. Any status update?</title>
	<published>2009-11-30T03:28:17Z</published>
	<updated>2009-11-30T03:28:17Z</updated>
	<author>
		<name>Ross Paterson</name>
	</author>
	<content type="html">On Sun, Nov 29, 2009 at 07:48:56PM +0000, Duncan Coutts wrote:
&lt;br&gt;&amp;gt; I'm not really saying whether it should be the tf or fd version.
&lt;br&gt;&amp;gt; I've not been taking part in that discussion.
&lt;br&gt;&lt;br&gt;You haven't missed anything. &amp;nbsp;I think we're a long way off being ready to
&lt;br&gt;make a final choice between FDs and TFs. &amp;nbsp;For one thing neither of them
&lt;br&gt;is standard, and both monads-* packages also require other non-standard
&lt;br&gt;extensions.
&lt;br&gt;&lt;br&gt;But we are at the point where we can decide to make FDs optional, though
&lt;br&gt;that hasn't been decided yet either.
&lt;br&gt;&lt;br&gt;That's not to say that the HP shouldn't present a pre-packaged choice
&lt;br&gt;(probably FDs for some time), just that it shouldn't get in the way of
&lt;br&gt;alternatives.
&lt;br&gt;_______________________________________________
&lt;br&gt;Libraries mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26573183&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Libraries@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://www.haskell.org/mailman/listinfo/libraries&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.haskell.org/mailman/listinfo/libraries&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/MTL-vs-Transformers.-Any-status-update--tp26534986p26573183.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26572554</id>
	<title>RE: GHC 6.12 + zlib + Mac OS 10.6</title>
	<published>2009-11-30T02:41:24Z</published>
	<updated>2009-11-30T02:41:24Z</updated>
	<author>
		<name>Duncan Coutts-4</name>
	</author>
	<content type="html">On Mon, 2009-11-30 at 08:44 +0000, Simon Peyton-Jones wrote:
&lt;br&gt;&amp;gt; Should this go in a FAQ? For GHC? Or for a particular architecture?
&lt;br&gt;&lt;br&gt;For ghc-6.10, yes. It'd should be a section &amp;quot;GHC on OSX 10.6 (Snow
&lt;br&gt;Leopard)&amp;quot; and should describe the changes required to the shell script
&lt;br&gt;wrappers of ghc and hsc2hs. It should also note that none of this is
&lt;br&gt;necessary for ghc-6.12+.
&lt;br&gt;&lt;br&gt;For ghc-6.12, we should just fix ticket #3681.
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://hackage.haskell.org/trac/ghc/ticket/3681&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://hackage.haskell.org/trac/ghc/ticket/3681&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Duncan
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Libraries mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26572554&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Libraries@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://www.haskell.org/mailman/listinfo/libraries&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.haskell.org/mailman/listinfo/libraries&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/GHC-6.12-%2B-zlib-%2B-Mac-OS-10.6-tp26556948p26572554.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26572514</id>
	<title>Re: GHC 6.12 + zlib + Mac OS 10.6</title>
	<published>2009-11-30T02:38:29Z</published>
	<updated>2009-11-30T02:38:29Z</updated>
	<author>
		<name>Yusaku Hashimoto</name>
	</author>
	<content type="html">I think this is a problem for architectures in which can only build
&lt;br&gt;32-bit binaries.
&lt;br&gt;&lt;br&gt;On such architectures, hsc2hs should ensure to work for 32-bit
&lt;br&gt;binaries as possible. So I think hsc2hs wrapper should be fixed to
&lt;br&gt;give the flags if gcc is used.
&lt;br&gt;&lt;br&gt;--nwn
&lt;br&gt;&lt;br&gt;On Mon, Nov 30, 2009 at 5:44 PM, Simon Peyton-Jones
&lt;br&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26572514&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;simonpj@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Should this go in a FAQ? For GHC? Or for a particular architecture?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Simon
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; | -----Original Message-----
&lt;br&gt;&amp;gt; | From: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26572514&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;glasgow-haskell-users-bounces@...&lt;/a&gt; [mailto:glasgow-haskell-users-
&lt;br&gt;&amp;gt; | &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26572514&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;bounces@...&lt;/a&gt;] On Behalf Of Antoine Latter
&lt;br&gt;&amp;gt; | Sent: 28 November 2009 23:01
&lt;br&gt;&amp;gt; | To: Yusaku Hashimoto
&lt;br&gt;&amp;gt; | Cc: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26572514&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;glasgow-haskell-users@...&lt;/a&gt;; Haskell Libraries
&lt;br&gt;&amp;gt; | Subject: Re: GHC 6.12 + zlib + Mac OS 10.6
&lt;br&gt;&amp;gt; |
&lt;br&gt;&amp;gt; | On Sat, Nov 28, 2009 at 3:54 PM, Yusaku Hashimoto &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26572514&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;nonowarn@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; | &amp;gt; I think you installed zlib without proper flags to link with 32-bit
&lt;br&gt;&amp;gt; | &amp;gt; libraries. configuring with ./Setup configure
&lt;br&gt;&amp;gt; | &amp;gt; --with-hsc2hs='--cc-flag=-m32 --ld-flag=-m32' should do the tricks.
&lt;br&gt;&amp;gt; | &amp;gt;
&lt;br&gt;&amp;gt; | &amp;gt; See also &lt;a href=&quot;http://hackage.haskell.org/trac/ghc/ticket/3681&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://hackage.haskell.org/trac/ghc/ticket/3681&lt;/a&gt;.
&lt;br&gt;&amp;gt; | &amp;gt;
&lt;br&gt;&amp;gt; | &amp;gt; HTH
&lt;br&gt;&amp;gt; | &amp;gt; -~nwn
&lt;br&gt;&amp;gt; |
&lt;br&gt;&amp;gt; | The following worked like a charm:
&lt;br&gt;&amp;gt; |
&lt;br&gt;&amp;gt; | cabal install --hsc2hs-options='--cc-flag=-m32 --ld-flag=-m32'
&lt;br&gt;&amp;gt; |
&lt;br&gt;&amp;gt; | Thanks for the tip.
&lt;br&gt;&amp;gt; |
&lt;br&gt;&amp;gt; | Antoine
&lt;br&gt;&amp;gt; | _______________________________________________
&lt;br&gt;&amp;gt; | Glasgow-haskell-users mailing list
&lt;br&gt;&amp;gt; | &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26572514&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Glasgow-haskell-users@...&lt;/a&gt;
&lt;br&gt;&amp;gt; | &lt;a href=&quot;http://www.haskell.org/mailman/listinfo/glasgow-haskell-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.haskell.org/mailman/listinfo/glasgow-haskell-users&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;_______________________________________________
&lt;br&gt;Libraries mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26572514&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Libraries@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://www.haskell.org/mailman/listinfo/libraries&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.haskell.org/mailman/listinfo/libraries&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/GHC-6.12-%2B-zlib-%2B-Mac-OS-10.6-tp26556948p26572514.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26572506</id>
	<title>Re: MTL vs Transformers. Any status update?</title>
	<published>2009-11-30T02:37:48Z</published>
	<updated>2009-11-30T02:37:48Z</updated>
	<author>
		<name>edwardk</name>
	</author>
	<content type="html">On Mon, Nov 30, 2009 at 3:03 AM, wren ng thornton &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26572506&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;wren@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;&quot;&gt;
Edward Kmett wrote:&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex&quot;&gt;&lt;div class=&quot;im&quot;&gt;
As a straw man proposal to get things started:&lt;br&gt;
&lt;br&gt;
transformers:&lt;br&gt;
Control.Monad.Foo.Transformer - for the actual data type for FooT&lt;br&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;&lt;div&gt; &lt;/div&gt;&lt;div&gt;Feel free to amend that to keep the monad transformers where they are under Control.Monad.Trans.Foo - I hadn&amp;#39;t checked before writing that out and have no real reason to move them.&lt;/div&gt;
&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;-Edward Kmett&lt;/div&gt;&lt;/div&gt;
&lt;br /&gt;_______________________________________________
&lt;br&gt;Libraries mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26572506&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Libraries@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://www.haskell.org/mailman/listinfo/libraries&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.haskell.org/mailman/listinfo/libraries&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/MTL-vs-Transformers.-Any-status-update--tp26534986p26572506.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26572473</id>
	<title>Re: MTL vs Transformers. Any status update?</title>
	<published>2009-11-30T02:35:25Z</published>
	<updated>2009-11-30T02:35:25Z</updated>
	<author>
		<name>edwardk</name>
	</author>
	<content type="html">&lt;div class=&quot;gmail_quote&quot;&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;&quot;&gt;It&amp;#39;s consistent and avoids name-clashery, which is nice. But I thought transformers had everything in one file? Maybe I&amp;#39;m thinking of a different monad transformer library...&lt;br&gt;
&lt;/blockquote&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;I believe you are thinking of monadLib.&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;-Edward Kmett&lt;/div&gt;&lt;/div&gt;
&lt;br /&gt;_______________________________________________
&lt;br&gt;Libraries mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26572473&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Libraries@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://www.haskell.org/mailman/listinfo/libraries&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.haskell.org/mailman/listinfo/libraries&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/MTL-vs-Transformers.-Any-status-update--tp26534986p26572473.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26570765</id>
	<title>RE: GHC 6.12 + zlib + Mac OS 10.6</title>
	<published>2009-11-30T00:44:34Z</published>
	<updated>2009-11-30T00:44:34Z</updated>
	<author>
		<name>Simon Peyton-Jones</name>
	</author>
	<content type="html">Should this go in a FAQ? For GHC? Or for a particular architecture?
&lt;br&gt;&lt;br&gt;Simon
&lt;br&gt;&lt;br&gt;| -----Original Message-----
&lt;br&gt;| From: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26570765&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;glasgow-haskell-users-bounces@...&lt;/a&gt; [mailto:glasgow-haskell-users-
&lt;br&gt;| &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26570765&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;bounces@...&lt;/a&gt;] On Behalf Of Antoine Latter
&lt;br&gt;| Sent: 28 November 2009 23:01
&lt;br&gt;| To: Yusaku Hashimoto
&lt;br&gt;| Cc: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26570765&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;glasgow-haskell-users@...&lt;/a&gt;; Haskell Libraries
&lt;br&gt;| Subject: Re: GHC 6.12 + zlib + Mac OS 10.6
&lt;br&gt;| 
&lt;br&gt;| On Sat, Nov 28, 2009 at 3:54 PM, Yusaku Hashimoto &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26570765&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;nonowarn@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;| &amp;gt; I think you installed zlib without proper flags to link with 32-bit
&lt;br&gt;| &amp;gt; libraries. configuring with ./Setup configure
&lt;br&gt;| &amp;gt; --with-hsc2hs='--cc-flag=-m32 --ld-flag=-m32' should do the tricks.
&lt;br&gt;| &amp;gt;
&lt;br&gt;| &amp;gt; See also &lt;a href=&quot;http://hackage.haskell.org/trac/ghc/ticket/3681&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://hackage.haskell.org/trac/ghc/ticket/3681&lt;/a&gt;.
&lt;br&gt;| &amp;gt;
&lt;br&gt;| &amp;gt; HTH
&lt;br&gt;| &amp;gt; -~nwn
&lt;br&gt;| 
&lt;br&gt;| The following worked like a charm:
&lt;br&gt;| 
&lt;br&gt;| cabal install --hsc2hs-options='--cc-flag=-m32 --ld-flag=-m32'
&lt;br&gt;| 
&lt;br&gt;| Thanks for the tip.
&lt;br&gt;| 
&lt;br&gt;| Antoine
&lt;br&gt;| _______________________________________________
&lt;br&gt;| Glasgow-haskell-users mailing list
&lt;br&gt;| &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26570765&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Glasgow-haskell-users@...&lt;/a&gt;
&lt;br&gt;| &lt;a href=&quot;http://www.haskell.org/mailman/listinfo/glasgow-haskell-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.haskell.org/mailman/listinfo/glasgow-haskell-users&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;Libraries mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26570765&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Libraries@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://www.haskell.org/mailman/listinfo/libraries&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.haskell.org/mailman/listinfo/libraries&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/GHC-6.12-%2B-zlib-%2B-Mac-OS-10.6-tp26556948p26570765.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26571211</id>
	<title>Re: MTL vs Transformers. Any status update?</title>
	<published>2009-11-30T00:03:08Z</published>
	<updated>2009-11-30T00:03:08Z</updated>
	<author>
		<name>wren ng thornton-2</name>
	</author>
	<content type="html">Edward Kmett wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; As a straw man proposal to get things started:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; transformers:
&lt;br&gt;&amp;gt; Control.Monad.Foo.Transformer - for the actual data type for FooT
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; mtl 2:
&lt;br&gt;&amp;gt; Control.Monad.Foo.Class - exports just the fundep-based typeclass and no
&lt;br&gt;&amp;gt; instances, like now.
&lt;br&gt;&amp;gt; Control.Monad.Foo - exports the instances for the fundep based version and
&lt;br&gt;&amp;gt; re-exports the Transformer and Class module contents.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; mtl-tf:
&lt;br&gt;&amp;gt; Control.Monad.Foo.Family.Class - exports just the type-family based
&lt;br&gt;&amp;gt; typeclass
&lt;br&gt;&amp;gt; Control.Monad.Foo.Family - exports the instances of the typefamily base
&lt;br&gt;&amp;gt; version and re-exports the Transformer and Family.Class modules
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; This will safely let most libraries just use a constraint on mtl &amp;gt;= 1.2 &amp;&amp;
&lt;br&gt;&amp;gt; &amp;lt;= 2.1 in which case their code works across both versions, and if someone
&lt;br&gt;&amp;gt; wants to use mtl-tf for clarity in their code, it will introduce no
&lt;br&gt;&amp;gt; complications regardless of what libraries they import as long as those
&lt;br&gt;&amp;gt; libraries can support both versions.
&lt;/div&gt;&lt;br&gt;It's consistent and avoids name-clashery, which is nice. But I thought 
&lt;br&gt;transformers had everything in one file? Maybe I'm thinking of a 
&lt;br&gt;different monad transformer library...
&lt;br&gt;&lt;br&gt;I think keeping fundeps as the default is probably best. It maintains 
&lt;br&gt;instance definitions in old code across the version boundary, and it 
&lt;br&gt;also maintains support with Hugs for folks who care about that.
&lt;br&gt;&lt;br&gt;If, in the future, the community decides that fundeps are bad and TFs 
&lt;br&gt;are good then we can make that switch in mtl-3. Even though a lot of 
&lt;br&gt;folks are leaning that way now, I don't think there's a clear consensus 
&lt;br&gt;yet to deprecate fundeps. Conflating the fundep-vs-TF debate in with the 
&lt;br&gt;mtl-vs-transformers debate is just going to drag things out longer IMO.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Live well,
&lt;br&gt;~wren
&lt;br&gt;_______________________________________________
&lt;br&gt;Libraries mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26571211&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Libraries@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://www.haskell.org/mailman/listinfo/libraries&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.haskell.org/mailman/listinfo/libraries&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/MTL-vs-Transformers.-Any-status-update--tp26534986p26571211.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26570484</id>
	<title>Re: GHC 6.12 + zlib + Mac OS 10.6</title>
	<published>2009-11-29T23:25:55Z</published>
	<updated>2009-11-29T23:25:55Z</updated>
	<author>
		<name>Yusaku Hashimoto</name>
	</author>
	<content type="html">This was reproduced on rc2, too. I installed ghc-6.12 rc2 by the installer.
&lt;br&gt;&lt;br&gt;As the ticket I mentioned[1] says, The problem is the flags to build
&lt;br&gt;32-bit binaries is not passed to the hsc2hs executable when the hsc2hs
&lt;br&gt;wrapper get any --cc parameter. Cabal passes --cc parameter to the
&lt;br&gt;wrapper to tell where gcc is. So when building a package with Cabal,
&lt;br&gt;hsc2hs goes wrong.
&lt;br&gt;&lt;br&gt;[1]: &lt;a href=&quot;http://hackage.haskell.org/trac/ghc/ticket/3681&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://hackage.haskell.org/trac/ghc/ticket/3681&lt;/a&gt;&lt;br&gt;&lt;br&gt;--nwn
&lt;br&gt;&lt;br&gt;On Mon, Nov 30, 2009 at 1:49 PM, Antoine Latter &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26570484&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;aslatter@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Sun, Nov 29, 2009 at 9:08 PM, Manuel M T Chakravarty
&lt;br&gt;&amp;gt; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26570484&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;chak@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Which version of 6.12 are you running?  These options or manually patching the hsc2hs wrapper should not be necessary with 6.12 anymore.  (They are only a temporary workaround to use the old 6.10 release on Snow Leopard.)
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Manuel
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I built it within the past few days, I'm not sure why the version
&lt;br&gt;&amp;gt; number says 1120.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; $ ghc --version
&lt;br&gt;&amp;gt; The Glorious Glasgow Haskell Compilation System, version 6.12.0.20091120
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Installed from darcs via &amp;quot;configre --prefix=${HOME}/usr &amp;&amp; make &amp;&amp;
&lt;br&gt;&amp;gt; make install&amp;quot; and such.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Could an unpatched hsc2hs wrapper have been left around by my old GHC
&lt;br&gt;&amp;gt; 6.10 installation?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Antoine
&lt;br&gt;&amp;gt;
&lt;/div&gt;_______________________________________________
&lt;br&gt;Libraries mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26570484&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Libraries@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://www.haskell.org/mailman/listinfo/libraries&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.haskell.org/mailman/listinfo/libraries&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/GHC-6.12-%2B-zlib-%2B-Mac-OS-10.6-tp26556948p26570484.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26569568</id>
	<title>Re: GHC 6.12 + zlib + Mac OS 10.6</title>
	<published>2009-11-29T20:49:17Z</published>
	<updated>2009-11-29T20:49:17Z</updated>
	<author>
		<name>Antoine Latter-2</name>
	</author>
	<content type="html">On Sun, Nov 29, 2009 at 9:08 PM, Manuel M T Chakravarty
&lt;br&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26569568&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;chak@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Which version of 6.12 are you running?  These options or manually patching the hsc2hs wrapper should not be necessary with 6.12 anymore.  (They are only a temporary workaround to use the old 6.10 release on Snow Leopard.)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Manuel
&lt;br&gt;&lt;br&gt;I built it within the past few days, I'm not sure why the version
&lt;br&gt;number says 1120.
&lt;br&gt;&lt;br&gt;$ ghc --version
&lt;br&gt;The Glorious Glasgow Haskell Compilation System, version 6.12.0.20091120
&lt;br&gt;&lt;br&gt;Installed from darcs via &amp;quot;configre --prefix=${HOME}/usr &amp;&amp; make &amp;&amp;
&lt;br&gt;make install&amp;quot; and such.
&lt;br&gt;&lt;br&gt;Could an unpatched hsc2hs wrapper have been left around by my old GHC
&lt;br&gt;6.10 installation?
&lt;br&gt;&lt;br&gt;Antoine
&lt;br&gt;_______________________________________________
&lt;br&gt;Libraries mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26569568&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Libraries@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://www.haskell.org/mailman/listinfo/libraries&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.haskell.org/mailman/listinfo/libraries&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/GHC-6.12-%2B-zlib-%2B-Mac-OS-10.6-tp26556948p26569568.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26569016</id>
	<title>Re: GHC 6.12 + zlib + Mac OS 10.6</title>
	<published>2009-11-29T19:08:42Z</published>
	<updated>2009-11-29T19:08:42Z</updated>
	<author>
		<name>Manuel M T Chakravarty</name>
	</author>
	<content type="html">Antoine Latter:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Sat, Nov 28, 2009 at 3:54 PM, Yusaku Hashimoto &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26569016&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;nonowarn@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt; I think you installed zlib without proper flags to link with 32-bit
&lt;br&gt;&amp;gt;&amp;gt; libraries. configuring with ./Setup configure
&lt;br&gt;&amp;gt;&amp;gt; --with-hsc2hs='--cc-flag=-m32 --ld-flag=-m32' should do the tricks.
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; See also &lt;a href=&quot;http://hackage.haskell.org/trac/ghc/ticket/3681&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://hackage.haskell.org/trac/ghc/ticket/3681&lt;/a&gt;.
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; HTH
&lt;br&gt;&amp;gt;&amp;gt; -~nwn
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; The following worked like a charm:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; cabal install --hsc2hs-options='--cc-flag=-m32 --ld-flag=-m32'
&lt;/div&gt;&lt;br&gt;Which version of 6.12 are you running? &amp;nbsp;These options or manually patching the hsc2hs wrapper should not be necessary with 6.12 anymore. &amp;nbsp;(They are only a temporary workaround to use the old 6.10 release on Snow Leopard.)
&lt;br&gt;&lt;br&gt;Manuel_______________________________________________
&lt;br&gt;Libraries mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26569016&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Libraries@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://www.haskell.org/mailman/listinfo/libraries&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.haskell.org/mailman/listinfo/libraries&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/GHC-6.12-%2B-zlib-%2B-Mac-OS-10.6-tp26556948p26569016.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26567972</id>
	<title>Re: MTL vs Transformers. Any status update?</title>
	<published>2009-11-29T16:29:47Z</published>
	<updated>2009-11-29T16:29:47Z</updated>
	<author>
		<name>edwardk</name>
	</author>
	<content type="html">Overall, it sounds good. I would suggest that perhaps maintaining the fundep version as the default exported by mtl-2 might be nicer for backwards and simplicity reasons.&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;A lot of code could quite reasonably work with an mtl constraint that spans both versions if mtl-2 was the fundep version as long as it doesn&amp;#39;t provide instances for the base monads, otherwise the dependency section of their cabal file would get complicated, having to switch packages at the 2.0 mark.&lt;div&gt;

&lt;br&gt;&lt;/div&gt;&lt;div&gt;That way existing code would continue to work across the version bump if it didn&amp;#39;t care about the type synonym issue for State, Reader, etc.&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;The question then becomes how to shuffle things around namespace wise?&lt;/div&gt;

&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;As a straw man proposal to get things started:&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;transformers:&lt;/div&gt;&lt;div&gt;Control.Monad.Foo.Transformer - for the actual data type for FooT&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;mtl 2:&lt;/div&gt;&lt;div&gt;

Control.Monad.Foo.Class - exports just the fundep-based typeclass and no instances, like now.&lt;/div&gt;&lt;div&gt;Control.Monad.Foo - exports the instances for the fundep based version and re-exports the Transformer and Class module contents.&lt;/div&gt;

&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Then the type-family package can provide:&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;mtl-tf:&lt;/div&gt;&lt;div&gt;Control.Monad.Foo.Family.Class - exports just the type-family based typeclass&lt;/div&gt;&lt;div&gt;Control.Monad.Foo.Family - exports the instances of the typefamily base version and re-exports the Transformer and Family.Class modules&lt;/div&gt;

&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;This will safely let most libraries just use a constraint on mtl &amp;gt;= 1.2 &amp;amp;&amp;amp; &amp;lt;= 2.1 in which case their code works across both versions, and if someone wants to use mtl-tf for clarity in their code, it will introduce no complications regardless of what libraries they import as long as those libraries can support both versions.&lt;/div&gt;

&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;The final issue is whether or not it is a good idea to eliminate the simpler non-transformer versions of the monads. &lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Without them, libraries that provide instances for the various monads cannot provide instances for State and StateT in a way that lets them work compatibly with both versions. &lt;/div&gt;
&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;So, an issue that I would like to talk about separately is if we _should_ be dropping the basic State, Reader, Writer, etc. constructors. They have definite pedagogical value, and have easier to understand behavior for introductory purposes. If we kept those then ALL code that worked with mtl 1.2 would be compatible with mtl 2, which strikes me as a desirable property. This has the benefit that it is easier to write libraries that export instances. I think we would be remiss in not at least considering the issue. On the other hand, I don&amp;#39;t know how many libraries provide instances for the monads in the MTL. I have a few in my monoids library, but I&amp;#39;d be willing to go either way.&lt;/div&gt;

&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;div&gt;-Edward Kmett&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Sun, Nov 29, 2009 at 2:48 PM, Duncan Coutts &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26567972&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;duncan.coutts@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;

&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex&quot;&gt;&lt;div&gt;On Sun, 2009-11-29 at 21:08 +0200, Michael Snoyman wrote:&lt;br&gt;
&lt;br&gt;
&amp;gt;&amp;gt; Ok, how about this:&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; transformers    H98 bits, registered hidden by default&lt;br&gt;
&amp;gt;&amp;gt; mtl 2           re-exports transformers, adds type function stuff&lt;br&gt;
&amp;gt;&amp;gt; mtl-fd          alternative that uses FDs, hidden by default&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;&lt;div&gt;&amp;gt; Are you saying that mtl-2 would be the equivalent of transformers +&lt;br&gt;
&amp;gt; monads-tf? That might not be a good call; monads-fd is probably more&lt;br&gt;
&amp;gt; popular than monads-tf.&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;Yes mtl-2 would be transformers + monads-${the-right-one}&lt;br&gt;
&lt;br&gt;
Though more precisely, it&amp;#39;d re-export transformers and contain&lt;br&gt;
monads-${the-right-one}.&lt;br&gt;
&lt;br&gt;
I&amp;#39;m not really saying whether it should be the tf or fd version. I&amp;#39;ve&lt;br&gt;
not been taking part in that discussion.&lt;br&gt;
&lt;br&gt;
But other people have been discussing it and whichever one it is that&lt;br&gt;
they agree is the right default, that one should be labelled as mtl&lt;br&gt;
version 2.&lt;br&gt;
&lt;br&gt;
Also, I should say that it would be wrong to push the choice of FDs/TFs&lt;br&gt;
onto everyone. We should just pick one. Some people know the difference&lt;br&gt;
and can select an alternative. Everyone else just wants to use the same&lt;br&gt;
one as everyone else is using.&lt;br&gt;
&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;
Duncan&lt;br&gt;
&lt;br&gt;
_______________________________________________&lt;br&gt;
Libraries mailing list&lt;br&gt;
&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26567972&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Libraries@...&lt;/a&gt;&lt;br&gt;
&lt;a href=&quot;http://www.haskell.org/mailman/listinfo/libraries&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://www.haskell.org/mailman/listinfo/libraries&lt;/a&gt;&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;
&lt;br /&gt;_______________________________________________
&lt;br&gt;Libraries mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26567972&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Libraries@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://www.haskell.org/mailman/listinfo/libraries&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.haskell.org/mailman/listinfo/libraries&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/MTL-vs-Transformers.-Any-status-update--tp26534986p26567972.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26566360</id>
	<title>Re: #562: cabal-install update fails going through a HTTP proxy</title>
	<published>2009-11-29T13:30:14Z</published>
	<updated>2009-11-29T13:30:14Z</updated>
	<author>
		<name>Valery V. Vorotyntsev</name>
	</author>
	<content type="html">Sigbjorn Finne &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26566360&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;sigbjorn.finne@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Despite repeated attempts from this end, I am unable to reproduce
&lt;br&gt;&amp;gt; this via local proxies.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Hence chasing down whatever problem is biting you (and others) is
&lt;br&gt;&amp;gt; tricky without a repro case.
&lt;br&gt;&lt;br&gt;I'll try this change tomorrow:
&lt;br&gt;&lt;br&gt;-----BEGIN DIFF-----
&lt;br&gt;diff --git a/Network/TCP.hs b/Network/TCP.hs
&lt;br&gt;index 7d3dbe7..04b8e2a 100644
&lt;br&gt;--- a/Network/TCP.hs
&lt;br&gt;+++ b/Network/TCP.hs
&lt;br&gt;@@ -34,7 +34,7 @@ module Network.TCP
&lt;br&gt;&lt;br&gt;&amp;nbsp;import Network.BSD (getHostByName, hostAddresses)
&lt;br&gt;&amp;nbsp;import Network.Socket
&lt;br&gt;- &amp;nbsp; ( Socket, SockAddr(SockAddrInet), SocketOption(KeepAlive)
&lt;br&gt;+ &amp;nbsp;( Socket, SockAddr(SockAddrInet), SocketOption(KeepAlive, Linger)
&lt;br&gt;&amp;nbsp; &amp;nbsp; , SocketType(Stream), inet_addr, connect
&lt;br&gt;&amp;nbsp; &amp;nbsp; , shutdown, ShutdownCmd(..)
&lt;br&gt;&amp;nbsp; &amp;nbsp; , sClose, setSocketOption, getPeerName
&lt;br&gt;@@ -189,6 +189,7 @@ openTCPConnection_ :: BufferType ty =&amp;gt; String -&amp;gt;
&lt;br&gt;Int -&amp;gt; Bool -
&lt;br&gt;&amp;nbsp;openTCPConnection_ uri port stashInput = do
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;s &amp;lt;- socket AF_INET Stream 6
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;setSocketOption s KeepAlive 1
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;setSocketOption s Linger 5
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;hostA &amp;lt;- getHostAddr uri
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;let a = SockAddrInet (toEnum port) hostA
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;catchIO (connect s a) (\e -&amp;gt; sClose s &amp;gt;&amp;gt; ioError e)
&lt;br&gt;-----END DIFF-----
&lt;br&gt;&lt;br&gt;| If there is still data waiting to be transmitted over the
&lt;br&gt;| connection, normally `close' tries to complete this transmission.
&lt;br&gt;| You can control this behavior using the `SO_LINGER' socket option to
&lt;br&gt;| specify a timeout period; see *note _Socket Options_.
&lt;br&gt;&amp;nbsp;[&lt;a href=&quot;http://www.gnu.org/s/libc/manual/html_node/Closing-a-Socket.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gnu.org/s/libc/manual/html_node/Closing-a-Socket.html&lt;/a&gt;]
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;vvv
&lt;br&gt;_______________________________________________
&lt;br&gt;Libraries mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26566360&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Libraries@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://www.haskell.org/mailman/listinfo/libraries&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.haskell.org/mailman/listinfo/libraries&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-patch---562%3A-cabal-install-update-fails-going-through-a-HTTP-proxy-tp25516047p26566360.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26565345</id>
	<title>Re: MTL vs Transformers. Any status update?</title>
	<published>2009-11-29T11:48:56Z</published>
	<updated>2009-11-29T11:48:56Z</updated>
	<author>
		<name>Duncan Coutts-4</name>
	</author>
	<content type="html">On Sun, 2009-11-29 at 21:08 +0200, Michael Snoyman wrote:
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; Ok, how about this:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; transformers &amp;nbsp; &amp;nbsp;H98 bits, registered hidden by default
&lt;br&gt;&amp;gt;&amp;gt; mtl 2 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; re-exports transformers, adds type function stuff
&lt;br&gt;&amp;gt;&amp;gt; mtl-fd &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;alternative that uses FDs, hidden by default
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;gt; Are you saying that mtl-2 would be the equivalent of transformers +
&lt;br&gt;&amp;gt; monads-tf? That might not be a good call; monads-fd is probably more
&lt;br&gt;&amp;gt; popular than monads-tf.
&lt;br&gt;&lt;br&gt;Yes mtl-2 would be transformers + monads-${the-right-one}
&lt;br&gt;&lt;br&gt;Though more precisely, it'd re-export transformers and contain
&lt;br&gt;monads-${the-right-one}.
&lt;br&gt;&lt;br&gt;I'm not really saying whether it should be the tf or fd version. I've
&lt;br&gt;not been taking part in that discussion.
&lt;br&gt;&lt;br&gt;But other people have been discussing it and whichever one it is that
&lt;br&gt;they agree is the right default, that one should be labelled as mtl
&lt;br&gt;version 2.
&lt;br&gt;&lt;br&gt;Also, I should say that it would be wrong to push the choice of FDs/TFs
&lt;br&gt;onto everyone. We should just pick one. Some people know the difference
&lt;br&gt;and can select an alternative. Everyone else just wants to use the same
&lt;br&gt;one as everyone else is using.
&lt;br&gt;&lt;br&gt;Duncan
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Libraries mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26565345&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Libraries@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://www.haskell.org/mailman/listinfo/libraries&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.haskell.org/mailman/listinfo/libraries&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/MTL-vs-Transformers.-Any-status-update--tp26534986p26565345.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26565253</id>
	<title>Re: MTL vs Transformers. Any status update?</title>
	<published>2009-11-29T11:40:10Z</published>
	<updated>2009-11-29T11:40:10Z</updated>
	<author>
		<name>Michael Snoyman</name>
	</author>
	<content type="html">&lt;div dir=&quot;ltr&quot;&gt;&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Sun, Nov 29, 2009 at 9:37 PM, Alexander Dunlap &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26565253&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;alexander.dunlap@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;h5&quot;&gt;On Sun, Nov 29, 2009 at 11:08 AM, Michael Snoyman &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26565253&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;michael@...&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; On Sun, Nov 29, 2009 at 9:02 PM, Duncan Coutts&lt;br&gt;
&amp;gt; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26565253&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;duncan.coutts@...&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; On Sun, 2009-11-29 at 13:35 +0000, Ross Paterson wrote:&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt; On Sun, Nov 29, 2009 at 01:03:06PM +0000, Duncan Coutts wrote:&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt; &amp;gt; On Sat, 2009-11-28 at 16:56 +0000, Ross Paterson wrote:&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; On Sat, Nov 28, 2009 at 04:40:49PM +0000, Duncan Coutts wrote:&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; Could someone remind me why it&amp;#39;s better for use to ask everyone to&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; switch to monads-fd / transformers rather than to mtl-2? Does that&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; make&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; the transition easier?&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; The problem is that transformers and mtl use the same module names,&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; such as Control.Monad.Identity.  Unless one of these packages is&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; hidden,&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; people using ghci or ghc --make will have problems.&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt; &amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt; &amp;gt; Right, so having transformers + mtl is bad, but why do we want to end&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt; &amp;gt; up&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt; &amp;gt; with a situation where we have both? If you&amp;#39;ve all agreed what should&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt; &amp;gt; go&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt; &amp;gt; into the new monad package, can&amp;#39;t we call that mtl-2 ? Why would we&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt; &amp;gt; want&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt; &amp;gt; to define things in one package and re-export them in another?&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt; Because there is not one new monad package, but two.  The idea is to&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt; split the mtl package to decouple monad transformers from functional&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt; dependencies.  The transformers part can then be used in Haskell 98&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt; code,&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt; or with type classes using type functions.  Exposed modules from mtl are&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt; split between the resulting two packages, so neither is a replacement&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt; for&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt; mtl-1.  As I said above, having both would be a transitional&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt; arrangement,&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt; on the way to replacing mtl with the two packages split from it.  mtl-2&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt; is an attempt to smooth that transition, but it would eventually go&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt; away.&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; Ok, how about this:&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; transformers    H98 bits, registered hidden by default&lt;br&gt;
&amp;gt;&amp;gt; mtl 2           re-exports transformers, adds type function stuff&lt;br&gt;
&amp;gt;&amp;gt; mtl-fd          alternative that uses FDs, hidden by default&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; I&amp;#39;m not sure what you agreed, if you chose the FD one as default then&lt;br&gt;
&amp;gt;&amp;gt; use mtl-tf as the alternative. Whichever you have chosen as the&lt;br&gt;
&amp;gt;&amp;gt; recommended stuff should be called mtl 2, because that is the easiest to&lt;br&gt;
&amp;gt;&amp;gt; explain to everyone.&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; So all the packages now using mtl-1, move up to mtl 2. Then for packages&lt;br&gt;
&amp;gt;&amp;gt; that only want transformers, they depend on transformers. Similarly for&lt;br&gt;
&amp;gt;&amp;gt; the mtl-fd alternative (and whether that re-exports transformers or&lt;br&gt;
&amp;gt;&amp;gt; whether such packages should depend on transformers + mtl-fd is up to&lt;br&gt;
&amp;gt;&amp;gt; you).&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; Users of ghci / ghc --make will end up using mtl 2 by default and there&lt;br&gt;
&amp;gt;&amp;gt; will be no module name clashes because transformers and mtl-fd will by&lt;br&gt;
&amp;gt;&amp;gt; hidden by default (Cabal-1.6+ can do that). The hiding does not affect&lt;br&gt;
&amp;gt;&amp;gt; cabal packages of course.&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; Duncan&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt; Are you saying that mtl-2 would be the equivalent of transformers +&lt;br&gt;
&amp;gt; monads-tf? That might not be a good call; monads-fd is probably more popular&lt;br&gt;
&amp;gt; than monads-tf.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Michael&lt;br&gt;
&amp;gt;&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;What is the plan for letting the two co-exist? Is everyone going to&lt;br&gt;
have to write instances that work with both monads-{tf,fd} and then&lt;br&gt;
export duplicate functions that have monad classes in their&lt;br&gt;
signatures? It seems like if we can&amp;#39;t have a nice way to use both, we&lt;br&gt;
ought to just pick one and deprecate the other.&lt;br&gt;
&lt;br&gt;
Alex&lt;br&gt;
&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;Sounds reasonable to me. Shall we take a vote on which one it&amp;#39;ll be? If FunDeps is really being deprecated, it would appear that tf is the way forward...&lt;br&gt;&lt;br&gt;Michael&lt;br&gt;&lt;/div&gt;
&lt;br /&gt;_______________________________________________
&lt;br&gt;Libraries mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26565253&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Libraries@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://www.haskell.org/mailman/listinfo/libraries&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.haskell.org/mailman/listinfo/libraries&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/MTL-vs-Transformers.-Any-status-update--tp26534986p26565253.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26565228</id>
	<title>Re: MTL vs Transformers. Any status update?</title>
	<published>2009-11-29T11:37:45Z</published>
	<updated>2009-11-29T11:37:45Z</updated>
	<author>
		<name>Alex Dunlap</name>
	</author>
	<content type="html">On Sun, Nov 29, 2009 at 11:08 AM, Michael Snoyman &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26565228&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;michael@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; On Sun, Nov 29, 2009 at 9:02 PM, Duncan Coutts
&lt;br&gt;&amp;gt; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26565228&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;duncan.coutts@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; On Sun, 2009-11-29 at 13:35 +0000, Ross Paterson wrote:
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; On Sun, Nov 29, 2009 at 01:03:06PM +0000, Duncan Coutts wrote:
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; On Sat, 2009-11-28 at 16:56 +0000, Ross Paterson wrote:
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; On Sat, Nov 28, 2009 at 04:40:49PM +0000, Duncan Coutts wrote:
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; Could someone remind me why it's better for use to ask everyone to
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; switch to monads-fd / transformers rather than to mtl-2? Does that
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; make
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; the transition easier?
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; The problem is that transformers and mtl use the same module names,
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; such as Control.Monad.Identity.  Unless one of these packages is
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; hidden,
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; people using ghci or ghc --make will have problems.
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; Right, so having transformers + mtl is bad, but why do we want to end
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; up
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; with a situation where we have both? If you've all agreed what should
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; go
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; into the new monad package, can't we call that mtl-2 ? Why would we
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; want
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; to define things in one package and re-export them in another?
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; Because there is not one new monad package, but two.  The idea is to
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; split the mtl package to decouple monad transformers from functional
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; dependencies.  The transformers part can then be used in Haskell 98
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; code,
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; or with type classes using type functions.  Exposed modules from mtl are
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; split between the resulting two packages, so neither is a replacement
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; for
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; mtl-1.  As I said above, having both would be a transitional
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; arrangement,
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; on the way to replacing mtl with the two packages split from it.  mtl-2
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; is an attempt to smooth that transition, but it would eventually go
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; away.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Ok, how about this:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; transformers    H98 bits, registered hidden by default
&lt;br&gt;&amp;gt;&amp;gt; mtl 2           re-exports transformers, adds type function stuff
&lt;br&gt;&amp;gt;&amp;gt; mtl-fd          alternative that uses FDs, hidden by default
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I'm not sure what you agreed, if you chose the FD one as default then
&lt;br&gt;&amp;gt;&amp;gt; use mtl-tf as the alternative. Whichever you have chosen as the
&lt;br&gt;&amp;gt;&amp;gt; recommended stuff should be called mtl 2, because that is the easiest to
&lt;br&gt;&amp;gt;&amp;gt; explain to everyone.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; So all the packages now using mtl-1, move up to mtl 2. Then for packages
&lt;br&gt;&amp;gt;&amp;gt; that only want transformers, they depend on transformers. Similarly for
&lt;br&gt;&amp;gt;&amp;gt; the mtl-fd alternative (and whether that re-exports transformers or
&lt;br&gt;&amp;gt;&amp;gt; whether such packages should depend on transformers + mtl-fd is up to
&lt;br&gt;&amp;gt;&amp;gt; you).
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Users of ghci / ghc --make will end up using mtl 2 by default and there
&lt;br&gt;&amp;gt;&amp;gt; will be no module name clashes because transformers and mtl-fd will by
&lt;br&gt;&amp;gt;&amp;gt; hidden by default (Cabal-1.6+ can do that). The hiding does not affect
&lt;br&gt;&amp;gt;&amp;gt; cabal packages of course.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Duncan
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; Are you saying that mtl-2 would be the equivalent of transformers +
&lt;br&gt;&amp;gt; monads-tf? That might not be a good call; monads-fd is probably more popular
&lt;br&gt;&amp;gt; than monads-tf.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Michael
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;What is the plan for letting the two co-exist? Is everyone going to
&lt;br&gt;have to write instances that work with both monads-{tf,fd} and then
&lt;br&gt;export duplicate functions that have monad classes in their
&lt;br&gt;signatures? It seems like if we can't have a nice way to use both, we
&lt;br&gt;ought to just pick one and deprecate the other.
&lt;br&gt;&lt;br&gt;Alex
&lt;br&gt;_______________________________________________
&lt;br&gt;Libraries mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26565228&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Libraries@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://www.haskell.org/mailman/listinfo/libraries&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.haskell.org/mailman/listinfo/libraries&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/MTL-vs-Transformers.-Any-status-update--tp26534986p26565228.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26564944</id>
	<title>Re: MTL vs Transformers. Any status update?</title>
	<published>2009-11-29T11:08:26Z</published>
	<updated>2009-11-29T11:08:26Z</updated>
	<author>
		<name>Michael Snoyman</name>
	</author>
	<content type="html">&lt;div dir=&quot;ltr&quot;&gt;&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Sun, Nov 29, 2009 at 9:02 PM, Duncan Coutts &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26564944&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;duncan.coutts@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;h5&quot;&gt;On Sun, 2009-11-29 at 13:35 +0000, Ross Paterson wrote:&lt;br&gt;
&amp;gt; On Sun, Nov 29, 2009 at 01:03:06PM +0000, Duncan Coutts wrote:&lt;br&gt;
&amp;gt; &amp;gt; On Sat, 2009-11-28 at 16:56 +0000, Ross Paterson wrote:&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; On Sat, Nov 28, 2009 at 04:40:49PM +0000, Duncan Coutts wrote:&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt; Could someone remind me why it&amp;#39;s better for use to ask everyone to&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt; switch to monads-fd / transformers rather than to mtl-2? Does that make&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt; the transition easier?&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt;&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; The problem is that transformers and mtl use the same module names,&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; such as Control.Monad.Identity.  Unless one of these packages is hidden,&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; people using ghci or ghc --make will have problems.&lt;br&gt;
&amp;gt; &amp;gt;&lt;br&gt;
&amp;gt; &amp;gt; Right, so having transformers + mtl is bad, but why do we want to end up&lt;br&gt;
&amp;gt; &amp;gt; with a situation where we have both? If you&amp;#39;ve all agreed what should go&lt;br&gt;
&amp;gt; &amp;gt; into the new monad package, can&amp;#39;t we call that mtl-2 ? Why would we want&lt;br&gt;
&amp;gt; &amp;gt; to define things in one package and re-export them in another?&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Because there is not one new monad package, but two.  The idea is to&lt;br&gt;
&amp;gt; split the mtl package to decouple monad transformers from functional&lt;br&gt;
&amp;gt; dependencies.  The transformers part can then be used in Haskell 98 code,&lt;br&gt;
&amp;gt; or with type classes using type functions.  Exposed modules from mtl are&lt;br&gt;
&amp;gt; split between the resulting two packages, so neither is a replacement for&lt;br&gt;
&amp;gt; mtl-1.  As I said above, having both would be a transitional arrangement,&lt;br&gt;
&amp;gt; on the way to replacing mtl with the two packages split from it.  mtl-2&lt;br&gt;
&amp;gt; is an attempt to smooth that transition, but it would eventually go away.&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;Ok, how about this:&lt;br&gt;
&lt;br&gt;
transformers    H98 bits, registered hidden by default&lt;br&gt;
mtl 2           re-exports transformers, adds type function stuff&lt;br&gt;
mtl-fd          alternative that uses FDs, hidden by default&lt;br&gt;
&lt;br&gt;
I&amp;#39;m not sure what you agreed, if you chose the FD one as default then&lt;br&gt;
use mtl-tf as the alternative. Whichever you have chosen as the&lt;br&gt;
recommended stuff should be called mtl 2, because that is the easiest to&lt;br&gt;
explain to everyone.&lt;br&gt;
&lt;br&gt;
So all the packages now using mtl-1, move up to mtl 2. Then for packages&lt;br&gt;
that only want transformers, they depend on transformers. Similarly for&lt;br&gt;
the mtl-fd alternative (and whether that re-exports transformers or&lt;br&gt;
whether such packages should depend on transformers + mtl-fd is up to&lt;br&gt;
you).&lt;br&gt;
&lt;br&gt;
Users of ghci / ghc --make will end up using mtl 2 by default and there&lt;br&gt;
will be no module name clashes because transformers and mtl-fd will by&lt;br&gt;
hidden by default (Cabal-1.6+ can do that). The hiding does not affect&lt;br&gt;
cabal packages of course.&lt;br&gt;
&lt;font color=&quot;#888888&quot;&gt;&lt;br&gt;
Duncan&lt;br&gt;
&lt;/font&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;h5&quot;&gt;&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;div&gt;Are you saying that mtl-2 would be the equivalent of transformers + monads-tf? That might not be a good call; monads-fd is probably more popular than monads-tf.&lt;br&gt;&lt;br&gt;Michael &lt;/div&gt;&lt;div&gt; &lt;/div&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;br /&gt;_______________________________________________
&lt;br&gt;Libraries mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26564944&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Libraries@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://www.haskell.org/mailman/listinfo/libraries&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.haskell.org/mailman/listinfo/libraries&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/MTL-vs-Transformers.-Any-status-update--tp26534986p26564944.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26564893</id>
	<title>Re: MTL vs Transformers. Any status update?</title>
	<published>2009-11-29T11:02:22Z</published>
	<updated>2009-11-29T11:02:22Z</updated>
	<author>
		<name>Duncan Coutts-4</name>
	</author>
	<content type="html">On Sun, 2009-11-29 at 13:35 +0000, Ross Paterson wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Sun, Nov 29, 2009 at 01:03:06PM +0000, Duncan Coutts wrote:
&lt;br&gt;&amp;gt; &amp;gt; On Sat, 2009-11-28 at 16:56 +0000, Ross Paterson wrote:
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; On Sat, Nov 28, 2009 at 04:40:49PM +0000, Duncan Coutts wrote:
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; Could someone remind me why it's better for use to ask everyone to
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; switch to monads-fd / transformers rather than to mtl-2? Does that make
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; the transition easier?
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; The problem is that transformers and mtl use the same module names,
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; such as Control.Monad.Identity. &amp;nbsp;Unless one of these packages is hidden,
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; people using ghci or ghc --make will have problems.
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; Right, so having transformers + mtl is bad, but why do we want to end up
&lt;br&gt;&amp;gt; &amp;gt; with a situation where we have both? If you've all agreed what should go
&lt;br&gt;&amp;gt; &amp;gt; into the new monad package, can't we call that mtl-2 ? Why would we want
&lt;br&gt;&amp;gt; &amp;gt; to define things in one package and re-export them in another?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Because there is not one new monad package, but two. &amp;nbsp;The idea is to
&lt;br&gt;&amp;gt; split the mtl package to decouple monad transformers from functional
&lt;br&gt;&amp;gt; dependencies. &amp;nbsp;The transformers part can then be used in Haskell 98 code,
&lt;br&gt;&amp;gt; or with type classes using type functions. &amp;nbsp;Exposed modules from mtl are
&lt;br&gt;&amp;gt; split between the resulting two packages, so neither is a replacement for
&lt;br&gt;&amp;gt; mtl-1. &amp;nbsp;As I said above, having both would be a transitional arrangement,
&lt;br&gt;&amp;gt; on the way to replacing mtl with the two packages split from it. &amp;nbsp;mtl-2
&lt;br&gt;&amp;gt; is an attempt to smooth that transition, but it would eventually go away.
&lt;/div&gt;&lt;br&gt;Ok, how about this:
&lt;br&gt;&lt;br&gt;transformers	H98 bits, registered hidden by default
&lt;br&gt;mtl 2		re-exports transformers, adds type function stuff
&lt;br&gt;mtl-fd		alternative that uses FDs, hidden by default
&lt;br&gt;&lt;br&gt;I'm not sure what you agreed, if you chose the FD one as default then
&lt;br&gt;use mtl-tf as the alternative. Whichever you have chosen as the
&lt;br&gt;recommended stuff should be called mtl 2, because that is the easiest to
&lt;br&gt;explain to everyone.
&lt;br&gt;&lt;br&gt;So all the packages now using mtl-1, move up to mtl 2. Then for packages
&lt;br&gt;that only want transformers, they depend on transformers. Similarly for
&lt;br&gt;the mtl-fd alternative (and whether that re-exports transformers or
&lt;br&gt;whether such packages should depend on transformers + mtl-fd is up to
&lt;br&gt;you).
&lt;br&gt;&lt;br&gt;Users of ghci / ghc --make will end up using mtl 2 by default and there
&lt;br&gt;will be no module name clashes because transformers and mtl-fd will by
&lt;br&gt;hidden by default (Cabal-1.6+ can do that). The hiding does not affect
&lt;br&gt;cabal packages of course.
&lt;br&gt;&lt;br&gt;Duncan
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Libraries mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26564893&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Libraries@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://www.haskell.org/mailman/listinfo/libraries&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.haskell.org/mailman/listinfo/libraries&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/MTL-vs-Transformers.-Any-status-update--tp26534986p26564893.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26563824</id>
	<title>Re: MTL vs Transformers. Any status update?</title>
	<published>2009-11-29T09:08:18Z</published>
	<updated>2009-11-29T09:08:18Z</updated>
	<author>
		<name>Gregory Collins-3</name>
	</author>
	<content type="html">Duncan Coutts &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26563824&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;duncan.coutts@...&lt;/a&gt;&amp;gt; writes:
&lt;br&gt;&lt;br&gt;&amp;gt; Right, so having transformers + mtl is bad, but why do we want to end
&lt;br&gt;&amp;gt; up with a situation where we have both? If you've all agreed what
&lt;br&gt;&amp;gt; should go into the new monad package, can't we call that mtl-2 ? Why
&lt;br&gt;&amp;gt; would we want to define things in one package and re-export them in
&lt;br&gt;&amp;gt; another?
&lt;br&gt;&lt;br&gt;+1.
&lt;br&gt;&lt;br&gt;G
&lt;br&gt;-- 
&lt;br&gt;Gregory Collins &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26563824&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;greg@...&lt;/a&gt;&amp;gt;
&lt;br&gt;_______________________________________________
&lt;br&gt;Libraries mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26563824&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Libraries@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://www.haskell.org/mailman/listinfo/libraries&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.haskell.org/mailman/listinfo/libraries&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/MTL-vs-Transformers.-Any-status-update--tp26534986p26563824.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26562118</id>
	<title>Re: MTL vs Transformers. Any status update?</title>
	<published>2009-11-29T05:35:30Z</published>
	<updated>2009-11-29T05:35:30Z</updated>
	<author>
		<name>Ross Paterson</name>
	</author>
	<content type="html">On Sun, Nov 29, 2009 at 01:03:06PM +0000, Duncan Coutts wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Sat, 2009-11-28 at 16:56 +0000, Ross Paterson wrote:
&lt;br&gt;&amp;gt; &amp;gt; On Sat, Nov 28, 2009 at 04:40:49PM +0000, Duncan Coutts wrote:
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; Could someone remind me why it's better for use to ask everyone to
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; switch to monads-fd / transformers rather than to mtl-2? Does that make
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; the transition easier?
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; The problem is that transformers and mtl use the same module names,
&lt;br&gt;&amp;gt; &amp;gt; such as Control.Monad.Identity. &amp;nbsp;Unless one of these packages is hidden,
&lt;br&gt;&amp;gt; &amp;gt; people using ghci or ghc --make will have problems.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Right, so having transformers + mtl is bad, but why do we want to end up
&lt;br&gt;&amp;gt; with a situation where we have both? If you've all agreed what should go
&lt;br&gt;&amp;gt; into the new monad package, can't we call that mtl-2 ? Why would we want
&lt;br&gt;&amp;gt; to define things in one package and re-export them in another?
&lt;/div&gt;&lt;br&gt;Because there is not one new monad package, but two. &amp;nbsp;The idea is to
&lt;br&gt;split the mtl package to decouple monad transformers from functional
&lt;br&gt;dependencies. &amp;nbsp;The transformers part can then be used in Haskell 98 code,
&lt;br&gt;or with type classes using type functions. &amp;nbsp;Exposed modules from mtl are
&lt;br&gt;split between the resulting two packages, so neither is a replacement for
&lt;br&gt;mtl-1. &amp;nbsp;As I said above, having both would be a transitional arrangement,
&lt;br&gt;on the way to replacing mtl with the two packages split from it. &amp;nbsp;mtl-2
&lt;br&gt;is an attempt to smooth that transition, but it would eventually go away.
&lt;br&gt;_______________________________________________
&lt;br&gt;Libraries mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26562118&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Libraries@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://www.haskell.org/mailman/listinfo/libraries&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.haskell.org/mailman/listinfo/libraries&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/MTL-vs-Transformers.-Any-status-update--tp26534986p26562118.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26561828</id>
	<title>Re: MTL vs Transformers. Any status update?</title>
	<published>2009-11-29T05:03:06Z</published>
	<updated>2009-11-29T05:03:06Z</updated>
	<author>
		<name>Duncan Coutts-4</name>
	</author>
	<content type="html">On Sat, 2009-11-28 at 16:56 +0000, Ross Paterson wrote:
&lt;br&gt;&amp;gt; On Sat, Nov 28, 2009 at 04:40:49PM +0000, Duncan Coutts wrote:
&lt;br&gt;&amp;gt; &amp;gt; Could someone remind me why it's better for use to ask everyone to
&lt;br&gt;&amp;gt; &amp;gt; switch to monads-fd / transformers rather than to mtl-2? Does that make
&lt;br&gt;&amp;gt; &amp;gt; the transition easier?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; The problem is that transformers and mtl use the same module names,
&lt;br&gt;&amp;gt; such as Control.Monad.Identity. &amp;nbsp;Unless one of these packages is hidden,
&lt;br&gt;&amp;gt; people using ghci or ghc --make will have problems.
&lt;br&gt;&lt;br&gt;Right, so having transformers + mtl is bad, but why do we want to end up
&lt;br&gt;with a situation where we have both? If you've all agreed what should go
&lt;br&gt;into the new monad package, can't we call that mtl-2 ? Why would we want
&lt;br&gt;to define things in one package and re-export them in another?
&lt;br&gt;&lt;br&gt;Duncan
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Libraries mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26561828&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Libraries@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://www.haskell.org/mailman/listinfo/libraries&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.haskell.org/mailman/listinfo/libraries&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/MTL-vs-Transformers.-Any-status-update--tp26534986p26561828.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26558555</id>
	<title>Re: GHC 6.12 + zlib + Mac OS 10.6</title>
	<published>2009-11-28T17:27:05Z</published>
	<updated>2009-11-28T17:27:05Z</updated>
	<author>
		<name>Yusaku Hashimoto</name>
	</author>
	<content type="html">I had wrote last mail without verifications, so ./Setup configure
&lt;br&gt;--hsc2hs-options='--cflag=-m32 --lflag=-m32' is correct.
&lt;br&gt;&lt;br&gt;But I'm glad to know you got working fine with zlib :)
&lt;br&gt;&lt;br&gt;~-nwn
&lt;br&gt;&lt;br&gt;On Sun, Nov 29, 2009 at 8:00 AM, Antoine Latter &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26558555&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;aslatter@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Sat, Nov 28, 2009 at 3:54 PM, Yusaku Hashimoto &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26558555&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;nonowarn@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt; I think you installed zlib without proper flags to link with 32-bit
&lt;br&gt;&amp;gt;&amp;gt; libraries. configuring with ./Setup configure
&lt;br&gt;&amp;gt;&amp;gt; --with-hsc2hs='--cc-flag=-m32 --ld-flag=-m32' should do the tricks.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; See also &lt;a href=&quot;http://hackage.haskell.org/trac/ghc/ticket/3681&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://hackage.haskell.org/trac/ghc/ticket/3681&lt;/a&gt;.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; HTH
&lt;br&gt;&amp;gt;&amp;gt; -~nwn
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; The following worked like a charm:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; cabal install --hsc2hs-options='--cc-flag=-m32 --ld-flag=-m32'
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thanks for the tip.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Antoine
&lt;br&gt;&amp;gt;
&lt;/div&gt;_______________________________________________
&lt;br&gt;Libraries mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26558555&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Libraries@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://www.haskell.org/mailman/listinfo/libraries&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.haskell.org/mailman/listinfo/libraries&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/GHC-6.12-%2B-zlib-%2B-Mac-OS-10.6-tp26556948p26558555.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26558004</id>
	<title>Re: GHC 6.12 + zlib + Mac OS 10.6</title>
	<published>2009-11-28T15:30:04Z</published>
	<updated>2009-11-28T15:30:04Z</updated>
	<author>
		<name>Gregory Collins-3</name>
	</author>
	<content type="html">Antoine Latter &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26558004&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;aslatter@...&lt;/a&gt;&amp;gt; writes:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Sat, Nov 28, 2009 at 3:54 PM, Yusaku Hashimoto &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26558004&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;nonowarn@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt; I think you installed zlib without proper flags to link with 32-bit
&lt;br&gt;&amp;gt;&amp;gt; libraries. configuring with ./Setup configure
&lt;br&gt;&amp;gt;&amp;gt; --with-hsc2hs='--cc-flag=-m32 --ld-flag=-m32' should do the tricks.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; See also &lt;a href=&quot;http://hackage.haskell.org/trac/ghc/ticket/3681&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://hackage.haskell.org/trac/ghc/ticket/3681&lt;/a&gt;.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; HTH
&lt;br&gt;&amp;gt;&amp;gt; -~nwn
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; The following worked like a charm:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; cabal install --hsc2hs-options='--cc-flag=-m32 --ld-flag=-m32'
&lt;/div&gt;&lt;br&gt;You can also patch your hsc2hs wrapper to read:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; ...
&lt;br&gt;&amp;nbsp; &amp;nbsp; exec /Library/Frameworks/GHC.framework/Versions/610/usr/lib/ghc-6.10.4/hsc2hs $tflag $HSC2HS_EXTRA --cflag=&amp;quot;-m32&amp;quot; --lflag=&amp;quot;-m32&amp;quot; ${1+&amp;quot;$@&amp;quot;} &amp;quot;$Iflag&amp;quot;
&lt;br&gt;&lt;br&gt;G
&lt;br&gt;-- 
&lt;br&gt;Gregory Collins &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26558004&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;greg@...&lt;/a&gt;&amp;gt;
&lt;br&gt;_______________________________________________
&lt;br&gt;Libraries mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26558004&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Libraries@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://www.haskell.org/mailman/listinfo/libraries&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.haskell.org/mailman/listinfo/libraries&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/GHC-6.12-%2B-zlib-%2B-Mac-OS-10.6-tp26556948p26558004.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26557801</id>
	<title>Re: GHC 6.12 + zlib + Mac OS 10.6</title>
	<published>2009-11-28T15:00:57Z</published>
	<updated>2009-11-28T15:00:57Z</updated>
	<author>
		<name>Antoine Latter-2</name>
	</author>
	<content type="html">On Sat, Nov 28, 2009 at 3:54 PM, Yusaku Hashimoto &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26557801&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;nonowarn@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; I think you installed zlib without proper flags to link with 32-bit
&lt;br&gt;&amp;gt; libraries. configuring with ./Setup configure
&lt;br&gt;&amp;gt; --with-hsc2hs='--cc-flag=-m32 --ld-flag=-m32' should do the tricks.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; See also &lt;a href=&quot;http://hackage.haskell.org/trac/ghc/ticket/3681&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://hackage.haskell.org/trac/ghc/ticket/3681&lt;/a&gt;.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; HTH
&lt;br&gt;&amp;gt; -~nwn
&lt;br&gt;&lt;br&gt;The following worked like a charm:
&lt;br&gt;&lt;br&gt;cabal install --hsc2hs-options='--cc-flag=-m32 --ld-flag=-m32'
&lt;br&gt;&lt;br&gt;Thanks for the tip.
&lt;br&gt;&lt;br&gt;Antoine
&lt;br&gt;_______________________________________________
&lt;br&gt;Libraries mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26557801&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Libraries@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://www.haskell.org/mailman/listinfo/libraries&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.haskell.org/mailman/listinfo/libraries&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/GHC-6.12-%2B-zlib-%2B-Mac-OS-10.6-tp26556948p26557801.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26557255</id>
	<title>Re: GHC 6.12 + zlib + Mac OS 10.6</title>
	<published>2009-11-28T13:54:42Z</published>
	<updated>2009-11-28T13:54:42Z</updated>
	<author>
		<name>Yusaku Hashimoto</name>
	</author>
	<content type="html">I think you installed zlib without proper flags to link with 32-bit
&lt;br&gt;libraries. configuring with ./Setup configure
&lt;br&gt;--with-hsc2hs='--cc-flag=-m32 --ld-flag=-m32' should do the tricks.
&lt;br&gt;&lt;br&gt;See also &lt;a href=&quot;http://hackage.haskell.org/trac/ghc/ticket/3681&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://hackage.haskell.org/trac/ghc/ticket/3681&lt;/a&gt;.
&lt;br&gt;&lt;br&gt;HTH
&lt;br&gt;-~nwn
&lt;br&gt;&lt;br&gt;On Sun, Nov 29, 2009 at 6:01 AM, Antoine Latter &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26557255&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;aslatter@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hello folks,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Everything has been going beautifully with the latest versions of GHC
&lt;br&gt;&amp;gt; 6.12, except that anything involving zlib dies at run-time. In ghci:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; :m Codec.Compression.Zlib
&lt;br&gt;&amp;gt;&amp;gt; :m +Data.ByteString.Lazy.Char8
&lt;br&gt;&amp;gt;&amp;gt; :s -XOverloadedStrings
&lt;br&gt;&amp;gt;&amp;gt; compress &amp;quot;hello&amp;quot;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; *** Exception: user error (Codec.Compression.Zlib: incompatible zlib version)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I'm running OS X 10.6 on a 64-bit machine.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I've heard of folks running into this with GHC 6.10 on OS X 10.6, who
&lt;br&gt;&amp;gt; got rid of it by removing mac-ports. I tried that and it didn't change
&lt;br&gt;&amp;gt; anything. My mac-ports install should have all been universal binaries
&lt;br&gt;&amp;gt; anyway.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I imagine I'm somehow building against a 64-bit version of the zlib
&lt;br&gt;&amp;gt; library, but I'm not sure at what step I'm supposed to do things
&lt;br&gt;&amp;gt; different, or what precisely I'm supposed to do different.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thanks,
&lt;br&gt;&amp;gt; Antoine
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; Glasgow-haskell-users mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26557255&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Glasgow-haskell-users@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.haskell.org/mailman/listinfo/glasgow-haskell-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.haskell.org/mailman/listinfo/glasgow-haskell-users&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;/div&gt;_______________________________________________
&lt;br&gt;Libraries mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26557255&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Libraries@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://www.haskell.org/mailman/listinfo/libraries&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.haskell.org/mailman/listinfo/libraries&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/GHC-6.12-%2B-zlib-%2B-Mac-OS-10.6-tp26556948p26557255.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26557052</id>
	<title>Re: MTL vs Transformers. Any status update?</title>
	<published>2009-11-28T13:17:06Z</published>
	<updated>2009-11-28T13:17:06Z</updated>
	<author>
		<name>Henning Thielemann</name>
	</author>
	<content type="html">&lt;br&gt;On Sat, 28 Nov 2009, Thomas DuBuisson wrote:
&lt;br&gt;&lt;br&gt;&amp;gt; On Sat, Nov 28, 2009 at 8:56 AM, Ross Paterson &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26557052&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ross@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; The problem is that transformers and mtl use the same module names,
&lt;br&gt;&amp;gt;&amp;gt; such as Control.Monad.Identity.  Unless one of these packages is hidden,
&lt;br&gt;&amp;gt;&amp;gt; people using ghci or ghc --make will have problems.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I've happily used LANGUAGE PackageImports to handle transformer / mtl
&lt;br&gt;&amp;gt; conflicts. &amp;nbsp;I don't see why either one must change their module names
&lt;br&gt;&amp;gt; and there are obvious disadvantages.
&lt;br&gt;&lt;br&gt;This PRAGMA is only available in GHC, is it?&lt;br /&gt;_______________________________________________
&lt;br&gt;Libraries mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26557052&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Libraries@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://www.haskell.org/mailman/listinfo/libraries&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.haskell.org/mailman/listinfo/libraries&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/MTL-vs-Transformers.-Any-status-update--tp26534986p26557052.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26557022</id>
	<title>Re: MTL vs Transformers. Any status update?</title>
	<published>2009-11-28T13:14:51Z</published>
	<updated>2009-11-28T13:14:51Z</updated>
	<author>
		<name>Ganesh Sittampalam</name>
	</author>
	<content type="html">On Sat, 28 Nov 2009, Thomas DuBuisson wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Sat, Nov 28, 2009 at 8:56 AM, Ross Paterson &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26557022&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ross@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt; On Sat, Nov 28, 2009 at 04:40:49PM +0000, Duncan Coutts wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Could someone remind me why it's better for use to ask everyone to
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; switch to monads-fd / transformers rather than to mtl-2? Does that make
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; the transition easier?
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; The problem is that transformers and mtl use the same module names,
&lt;br&gt;&amp;gt;&amp;gt; such as Control.Monad.Identity.  Unless one of these packages is hidden,
&lt;br&gt;&amp;gt;&amp;gt; people using ghci or ghc --make will have problems.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I've happily used LANGUAGE PackageImports to handle transformer / mtl
&lt;br&gt;&amp;gt; conflicts. &amp;nbsp;I don't see why either one must change their module names
&lt;br&gt;&amp;gt; and there are obvious disadvantages.
&lt;/div&gt;&lt;/div&gt;Is there long-term value in having both packages, if mtl ends up as just 
&lt;br&gt;re-exporting pieces of transformers+monads-fd? I guess it reduces the 
&lt;br&gt;dependencies people have to declare, but that seems marginal to me.
&lt;br&gt;&lt;br&gt;Ganesh&lt;br /&gt;_______________________________________________
&lt;br&gt;Libraries mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26557022&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Libraries@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://www.haskell.org/mailman/listinfo/libraries&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.haskell.org/mailman/listinfo/libraries&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/MTL-vs-Transformers.-Any-status-update--tp26534986p26557022.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26557011</id>
	<title>Re: MTL vs Transformers. Any status update?</title>
	<published>2009-11-28T13:11:46Z</published>
	<updated>2009-11-28T13:11:46Z</updated>
	<author>
		<name>Thomas DuBuisson</name>
	</author>
	<content type="html">On Sat, Nov 28, 2009 at 8:56 AM, Ross Paterson &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26557011&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ross@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; On Sat, Nov 28, 2009 at 04:40:49PM +0000, Duncan Coutts wrote:
&lt;br&gt;&amp;gt;&amp;gt; Could someone remind me why it's better for use to ask everyone to
&lt;br&gt;&amp;gt;&amp;gt; switch to monads-fd / transformers rather than to mtl-2? Does that make
&lt;br&gt;&amp;gt;&amp;gt; the transition easier?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; The problem is that transformers and mtl use the same module names,
&lt;br&gt;&amp;gt; such as Control.Monad.Identity.  Unless one of these packages is hidden,
&lt;br&gt;&amp;gt; people using ghci or ghc --make will have problems.
&lt;br&gt;&lt;br&gt;I've happily used LANGUAGE PackageImports to handle transformer / mtl
&lt;br&gt;conflicts. &amp;nbsp;I don't see why either one must change their module names
&lt;br&gt;and there are obvious disadvantages.
&lt;br&gt;&lt;br&gt;Thomas
&lt;br&gt;_______________________________________________
&lt;br&gt;Libraries mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26557011&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Libraries@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://www.haskell.org/mailman/listinfo/libraries&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.haskell.org/mailman/listinfo/libraries&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/MTL-vs-Transformers.-Any-status-update--tp26534986p26557011.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26556948</id>
	<title>GHC 6.12 + zlib + Mac OS 10.6</title>
	<published>2009-11-28T13:01:26Z</published>
	<updated>2009-11-28T13:01:26Z</updated>
	<author>
		<name>Antoine Latter-2</name>
	</author>
	<content type="html">Hello folks,
&lt;br&gt;&lt;br&gt;Everything has been going beautifully with the latest versions of GHC
&lt;br&gt;6.12, except that anything involving zlib dies at run-time. In ghci:
&lt;br&gt;&lt;br&gt;&amp;gt; :m Codec.Compression.Zlib
&lt;br&gt;&amp;gt; :m +Data.ByteString.Lazy.Char8
&lt;br&gt;&amp;gt; :s -XOverloadedStrings
&lt;br&gt;&amp;gt; compress &amp;quot;hello&amp;quot;
&lt;br&gt;&lt;br&gt;*** Exception: user error (Codec.Compression.Zlib: incompatible zlib version)
&lt;br&gt;&lt;br&gt;I'm running OS X 10.6 on a 64-bit machine.
&lt;br&gt;&lt;br&gt;I've heard of folks running into this with GHC 6.10 on OS X 10.6, who
&lt;br&gt;got rid of it by removing mac-ports. I tried that and it didn't change
&lt;br&gt;anything. My mac-ports install should have all been universal binaries
&lt;br&gt;anyway.
&lt;br&gt;&lt;br&gt;I imagine I'm somehow building against a 64-bit version of the zlib
&lt;br&gt;library, but I'm not sure at what step I'm supposed to do things
&lt;br&gt;different, or what precisely I'm supposed to do different.
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;Antoine
&lt;br&gt;_______________________________________________
&lt;br&gt;Libraries mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26556948&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Libraries@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://www.haskell.org/mailman/listinfo/libraries&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.haskell.org/mailman/listinfo/libraries&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/GHC-6.12-%2B-zlib-%2B-Mac-OS-10.6-tp26556948p26556948.html" />
</entry>

</feed>
