<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:old.nabble.com,2006:forum-13132</id>
	<title>Nabble - Haskell - Haskell-Cafe</title>
	<updated>2009-11-23T10:38:49Z</updated>
	<link rel="self" type="application/atom+xml" href="http://old.nabble.com/Haskell---Haskell-Cafe-f13132.xml" />
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Haskell---Haskell-Cafe-f13132.html" />
	<subtitle type="html">The Haskell Cafe</subtitle>
	
<entry>
	<id>tag:old.nabble.com,2006:post-26483639</id>
	<title>Re: Re: How does cabal determine version ranges in the dependencies?</title>
	<published>2009-11-23T10:38:49Z</published>
	<updated>2009-11-23T10:38:49Z</updated>
	<author>
		<name>David Fries-2</name>
	</author>
	<content type="html">On Mon, 2009-11-23 at 09:50 -0200, Maurí­cio CA wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; &amp;gt; I recently started porting cabal-install to Freebsd. When
&lt;br&gt;&amp;gt; &amp;nbsp;&amp;gt; I looked at its dependencies on hackage, I noticed HTTP
&lt;br&gt;&amp;gt; &amp;nbsp;&amp;gt; (&amp;gt;=4000.0.2 &amp;&amp; &amp;lt;4001). However the latest HTTP version on
&lt;br&gt;&amp;gt; &amp;nbsp;&amp;gt; hackage is 4000.0.8. That struck me as kinda odd. How can cabal
&lt;br&gt;&amp;gt; &amp;nbsp;&amp;gt; tell that it won't be compatible with HTTP version 4001?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; If it doesn't break dependencies, it won't be called http 4001,
&lt;br&gt;&amp;gt; it will be called 4000.0.9 :)
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Check:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.haskell.org/haskellwiki/Package_versioning_policy&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.haskell.org/haskellwiki/Package_versioning_policy&lt;/a&gt;&lt;/div&gt;&lt;br&gt;I see. Thanks for the link. I wasn't aware of the versioning policy.
&lt;br&gt;Just to clarify though, wouldn't the next higher major version by 4000.1
&lt;br&gt;rather than 4001?
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Haskell-Cafe mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26483639&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Haskell-Cafe@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://www.haskell.org/mailman/listinfo/haskell-cafe&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.haskell.org/mailman/listinfo/haskell-cafe&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/How-does-cabal-determine-version-ranges-in-the-dependencies--tp26476419p26483639.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26483483</id>
	<title>Re: Re: Wiki software?</title>
	<published>2009-11-23T10:29:18Z</published>
	<updated>2009-11-23T10:29:18Z</updated>
	<author>
		<name>Antoine Latter-2</name>
	</author>
	<content type="html">On Sun, Nov 22, 2009 at 11:56 AM, Antoine Latter &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26483483&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;
&lt;br&gt;&amp;gt; Running 'pandoc --strict' over the Markdown readme.text takes:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ~0.09s with pandoc built against parsec-2
&lt;br&gt;&amp;gt; ~0.19s with pandoc built against parsec-3
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; on my machine.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I have a branch of parsec-3 which seems to brings us back to parsec-2
&lt;br&gt;&amp;gt; numbers, but also fails the rst-reader test-case in the pandoc testing
&lt;br&gt;&amp;gt; suite:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://community.haskell.org/~aslatter/code/parsec/cps&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://community.haskell.org/~aslatter/code/parsec/cps&lt;/a&gt;&lt;/div&gt;&lt;br&gt;In reply to my own post, the branch of parsec posted now passes all of
&lt;br&gt;the pandoc test cases.
&lt;br&gt;&lt;br&gt;If there are any other consumers of the parsec library that have tests
&lt;br&gt;I can run let me know.
&lt;br&gt;&lt;br&gt;The 'many' combinator is one of those things that can look right, be
&lt;br&gt;wrong, yet work for almost everything.
&lt;br&gt;&lt;br&gt;Antoine
&lt;br&gt;_______________________________________________
&lt;br&gt;Haskell-Cafe mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26483483&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Haskell-Cafe@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://www.haskell.org/mailman/listinfo/haskell-cafe&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.haskell.org/mailman/listinfo/haskell-cafe&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Wiki-software--tp26411824p26483483.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26483092</id>
	<title>RE: Re: Idea for a very simple GUI llibrary</title>
	<published>2009-11-23T10:04:02Z</published>
	<updated>2009-11-23T10:04:02Z</updated>
	<author>
		<name>Sam Martin-2</name>
	</author>
	<content type="html">&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 3.2//EN&quot;&gt;
&lt;HTML&gt;
&lt;HEAD&gt;
&lt;META HTTP-EQUIV=&quot;Content-Type&quot; CONTENT=&quot;text/html; charset=iso-8859-1&quot;&gt;
&lt;META NAME=&quot;Generator&quot; CONTENT=&quot;MS Exchange Server version 6.5.7654.12&quot;&gt;
&lt;TITLE&gt;RE: [Haskell-cafe] Re: Idea for a very simple GUI llibrary&lt;/TITLE&gt;
&lt;/HEAD&gt;
&lt;BODY&gt;
&lt;!-- Converted from text/plain format --&gt;
&lt;BR&gt;

&lt;P&gt;&lt;FONT SIZE=2&gt;Thinking of a parallel with Java for a second, is there a GUI library out there that's structured like Java Swing? Meaning, there is a GUI library that has a small platform-specific GUI foundation (e.g. a per platform implementation of the core AWT functionality) and the rest of the functionality is pure haskell?&lt;BR&gt;
&lt;BR&gt;
Supporting cross platform guis is often a bit ... complicated. Java attempted to resolve their debug-everywhere nightmare with AWT by making the per-platform bit as small as possible, and building everything else in Java.&lt;BR&gt;
&lt;BR&gt;
I guess in theory gtk and wxWidgets take on this support burden, but you do get some fairly hefty imperative apis as a result. Perhaps it would make sense to focus efforts on stabilising a small 'core gui' library that can act as the foundation stone for all manner of pure haskell gui libraries?*&lt;BR&gt;
&lt;BR&gt;
Or perhaps this already exists?&lt;BR&gt;
&lt;BR&gt;
Just a thought.&lt;BR&gt;
&lt;BR&gt;
Cheers,&lt;BR&gt;
Sam&lt;BR&gt;
&lt;/FONT&gt;
&lt;/P&gt;

&lt;/BODY&gt;
&lt;/HTML&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;Haskell-Cafe mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26483092&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Haskell-Cafe@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://www.haskell.org/mailman/listinfo/haskell-cafe&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.haskell.org/mailman/listinfo/haskell-cafe&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Idea-for-a-very-simple-GUI-llibrary-tp26471065p26483092.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26481149</id>
	<title>Re: Re[2]: Re: Idea for a very simple GUI llibrary</title>
	<published>2009-11-23T08:19:02Z</published>
	<updated>2009-11-23T08:19:02Z</updated>
	<author>
		<name>Juan Maiz</name>
	</author>
	<content type="html">Yeah, I found many pages about it (some making fun of a interpreter that &amp;quot;follows all H98 spec&amp;quot;). But i&amp;#39;m still crawling to understand who is who and what are the pages to get help in Haskell community :D&lt;br&gt;
&lt;br&gt;And well, tha&amp;#39;s bad, i&amp;#39;ve really enjoyed Hugs, but i&amp;#39;ll have to use GHC instead :D&lt;br&gt;&lt;br&gt;Thanks.&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Mon, Nov 23, 2009 at 2:14 PM, Bulat Ziganshin &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26481149&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;bulat.ziganshin@...&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;Hello Juan,&lt;br&gt;
&lt;div class=&quot;im&quot;&gt;&lt;br&gt;
Monday, November 23, 2009, 7:01:39 PM, you wrote:&lt;br&gt;
&lt;br&gt;
&amp;gt; But in HUGS i can&amp;#39;t. It says:&lt;br&gt;
&amp;gt; ERROR &amp;quot;conjunction.hs&amp;quot;:1 - Unrecognised character `\8743&amp;#39;&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;hugs doesn&amp;#39;t accept unicode source files&lt;br&gt;
&lt;br&gt;
there are lots of unicode support problems in both haskell&lt;br&gt;
implementations. probably we have some wiki page what describes current&lt;br&gt;
state&lt;br&gt;
&lt;font color=&quot;#888888&quot;&gt;&lt;br&gt;
--&lt;br&gt;
Best regards,&lt;br&gt;
 Bulat                            mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26481149&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Bulat.Ziganshin@...&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
&lt;/font&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;br clear=&quot;all&quot;&gt;&lt;br&gt;-- &lt;br&gt;Juan Maiz Lulkin Flores da Cunha&lt;br&gt;---------------------------------------------------------------------------&lt;br&gt;Softa Consultoria para Desenvolvimento&lt;br&gt;&lt;a href=&quot;http://www.softa.com.br&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.softa.com.br&lt;/a&gt;&lt;br&gt;
&lt;a href=&quot;http://www.mailee.me&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mailee.me&lt;/a&gt; - Finalmente e-mail marketing 2.0&lt;br&gt;&lt;a href=&quot;http://www.linkedin.com/in/juanmaiz&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.linkedin.com/in/juanmaiz&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://workingwithrails.com/recommendation/new/person/9354-juan-maiz&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://workingwithrails.com/recommendation/new/person/9354-juan-maiz&lt;/a&gt;&lt;br&gt;
“The most exciting breakthroughs of the 21st century will not occur because of technology but because of an expanding concept of what it means to be human”&lt;br&gt;John Naisbitt&lt;br&gt;
&lt;br /&gt;_______________________________________________
&lt;br&gt;Haskell-Cafe mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26481149&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Haskell-Cafe@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://www.haskell.org/mailman/listinfo/haskell-cafe&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.haskell.org/mailman/listinfo/haskell-cafe&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Idea-for-a-very-simple-GUI-llibrary-tp26471065p26481149.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26481052</id>
	<title>Re[2]: Re: Idea for a very simple GUI llibrary</title>
	<published>2009-11-23T08:14:24Z</published>
	<updated>2009-11-23T08:14:24Z</updated>
	<author>
		<name>Bulat Ziganshin-2</name>
	</author>
	<content type="html">Hello Juan,
&lt;br&gt;&lt;br&gt;Monday, November 23, 2009, 7:01:39 PM, you wrote:
&lt;br&gt;&lt;br&gt;&amp;gt; But in HUGS i can't. It says:
&lt;br&gt;&amp;gt; ERROR &amp;quot;conjunction.hs&amp;quot;:1 - Unrecognised character `\8743'
&lt;br&gt;&lt;br&gt;hugs doesn't accept unicode source files
&lt;br&gt;&lt;br&gt;there are lots of unicode support problems in both haskell
&lt;br&gt;implementations. probably we have some wiki page what describes current
&lt;br&gt;state
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Best regards,
&lt;br&gt;&amp;nbsp;Bulat &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;mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26481052&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Bulat.Ziganshin@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Haskell-Cafe mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26481052&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Haskell-Cafe@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://www.haskell.org/mailman/listinfo/haskell-cafe&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.haskell.org/mailman/listinfo/haskell-cafe&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Idea-for-a-very-simple-GUI-llibrary-tp26471065p26481052.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26480912</id>
	<title>Re: Re: Idea for a very simple GUI llibrary</title>
	<published>2009-11-23T08:02:24Z</published>
	<updated>2009-11-23T08:02:24Z</updated>
	<author>
		<name>Juan Maiz</name>
	</author>
	<content type="html">Forgot the URL: &lt;a href=&quot;http://github.com/softa/rl&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://github.com/softa/rl&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Mon, Nov 23, 2009 at 2:01 PM, Juan Maiz &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26480912&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;juanmaiz@...&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;Hi folks, my name is Juan Maiz and i&amp;#39;m starting to study Haskell (again).  Is anyone from Brazil in the list?i&lt;br&gt;
&lt;br&gt;I&amp;#39;m currently reading The Haskell Road to Logic, Maths and Programming and having a lot of (geek) fun. By the way, i found this: &lt;a href=&quot;http://www.mail-archive.com/haskell-cafe@haskell.org/msg45406.html&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://www.mail-archive.com/haskell-cafe@.../msg45406.html&lt;/a&gt; . It was sent by 
&lt;span&gt;Mattias Bengtsson. I made something similar using Ruby&amp;#39;s Treetop, with the difference that my concern was to&lt;/span&gt; validate and generate truth tables for formulas using Unicode.&lt;br&gt;&lt;br&gt;So... my first noob question to the list: What is the difference of Unicode support in HUGS and GHCI ? In GHCI I can do something like:&lt;br&gt;

&lt;br&gt;&lt;br&gt;(∧) = (&amp;amp;&amp;amp;)&lt;br&gt;Prelude&amp;gt; True ∧ False  &lt;br&gt;&lt;i&gt;False&lt;/i&gt;&lt;br&gt;&lt;br&gt;(The carachter is the unicode for conjunction U+2227)&lt;br&gt;&lt;br&gt;But in HUGS i can&amp;#39;t. It says:&lt;br&gt;&lt;br&gt;ERROR &amp;quot;conjunction.hs&amp;quot;:1 - Unrecognised character `\8743&amp;#39;&lt;br&gt;

&lt;br&gt;Somebody?&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;h5&quot;&gt;On Mon, Nov 23, 2009 at 1:26 PM, Eric Kow &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26480912&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;eric.kow@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;
&lt;/div&gt;&lt;/div&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;
Minor aside.&lt;br&gt;
&lt;br&gt;
&amp;gt; -&amp;gt; Could be the first GUI to build on hackage :)&lt;br&gt;
&lt;br&gt;
If you have wxWidgets installed, the new fully Cabalised wxHaskell&lt;br&gt;
builds just fine.  It&amp;#39;s quite handy/refreshing for &amp;#39;cabal install wx&amp;#39; to&lt;br&gt;
finally &amp;quot;just work&amp;quot; :-)&lt;br&gt;
&lt;br&gt;
Unless you mean &amp;quot;build on the Hackage server&amp;quot; which should also be&lt;br&gt;
possible in principle, although the wxHaskell folks may want to have&lt;br&gt;
a quick look at&lt;br&gt;
&lt;a href=&quot;http://hackage.haskell.org/packages/archive/wxcore/0.12.1.2/logs/failure/ghc-6.10&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://hackage.haskell.org/packages/archive/wxcore/0.12.1.2/logs/failure/ghc-6.10&lt;/a&gt;&lt;br&gt;
&lt;font color=&quot;#888888&quot;&gt;&lt;br&gt;
--&lt;br&gt;
Eric Kow &amp;lt;&lt;a href=&quot;http://www.nltg.brighton.ac.uk/home/Eric.Kow&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://www.nltg.brighton.ac.uk/home/Eric.Kow&lt;/a&gt;&amp;gt;&lt;br&gt;
PGP Key ID: 08AC04F9&lt;br&gt;
&lt;/font&gt;&lt;br&gt;&lt;/div&gt;&lt;/div&gt;-----BEGIN PGP SIGNATURE-----&lt;br&gt;
Version: GnuPG v1.4.9 (GNU/Linux)&lt;br&gt;
&lt;br&gt;
iEYEARECAAYFAksKqZgACgkQBUrOwgisBPmGBQCfRnW1dcLV3JaLi2p5PppsO+XK&lt;br&gt;
7uwAoMVhCV00sdNctgAjw2TyQGs6TyNv&lt;br&gt;
=tnXa&lt;br&gt;
-----END PGP SIGNATURE-----&lt;br&gt;
&lt;br&gt;_______________________________________________&lt;br&gt;
Haskell-Cafe mailing list&lt;br&gt;
&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26480912&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Haskell-Cafe@...&lt;/a&gt;&lt;br&gt;
&lt;a href=&quot;http://www.haskell.org/mailman/listinfo/haskell-cafe&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://www.haskell.org/mailman/listinfo/haskell-cafe&lt;/a&gt;&lt;br&gt;
&lt;br&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;br clear=&quot;all&quot;&gt;&lt;br&gt;-- &lt;br&gt;Juan Maiz Lulkin Flores da Cunha&lt;br&gt;---------------------------------------------------------------------------&lt;br&gt;Softa Consultoria para Desenvolvimento&lt;br&gt;&lt;a href=&quot;http://www.softa.com.br&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://www.softa.com.br&lt;/a&gt;&lt;br&gt;

&lt;a href=&quot;http://www.mailee.me&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://www.mailee.me&lt;/a&gt; - Finalmente e-mail marketing 2.0&lt;br&gt;&lt;a href=&quot;http://www.linkedin.com/in/juanmaiz&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://www.linkedin.com/in/juanmaiz&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://workingwithrails.com/recommendation/new/person/9354-juan-maiz&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://workingwithrails.com/recommendation/new/person/9354-juan-maiz&lt;/a&gt;&lt;br&gt;

“The most exciting breakthroughs of the 21st century will not occur because of technology but because of an expanding concept of what it means to be human”&lt;br&gt;John Naisbitt&lt;br&gt;
&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;br clear=&quot;all&quot;&gt;&lt;br&gt;-- &lt;br&gt;Juan Maiz Lulkin Flores da Cunha&lt;br&gt;---------------------------------------------------------------------------&lt;br&gt;Softa Consultoria para Desenvolvimento&lt;br&gt;&lt;a href=&quot;http://www.softa.com.br&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.softa.com.br&lt;/a&gt;&lt;br&gt;
&lt;a href=&quot;http://www.mailee.me&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mailee.me&lt;/a&gt; - Finalmente e-mail marketing 2.0&lt;br&gt;&lt;a href=&quot;http://www.linkedin.com/in/juanmaiz&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.linkedin.com/in/juanmaiz&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://workingwithrails.com/recommendation/new/person/9354-juan-maiz&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://workingwithrails.com/recommendation/new/person/9354-juan-maiz&lt;/a&gt;&lt;br&gt;
“The most exciting breakthroughs of the 21st century will not occur because of technology but because of an expanding concept of what it means to be human”&lt;br&gt;John Naisbitt&lt;br&gt;
&lt;br /&gt;_______________________________________________
&lt;br&gt;Haskell-Cafe mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26480912&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Haskell-Cafe@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://www.haskell.org/mailman/listinfo/haskell-cafe&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.haskell.org/mailman/listinfo/haskell-cafe&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Idea-for-a-very-simple-GUI-llibrary-tp26471065p26480912.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26480822</id>
	<title>Re: Re: Idea for a very simple GUI llibrary</title>
	<published>2009-11-23T08:01:39Z</published>
	<updated>2009-11-23T08:01:39Z</updated>
	<author>
		<name>Juan Maiz</name>
	</author>
	<content type="html">Hi folks, my name is Juan Maiz and i&amp;#39;m starting to study Haskell (again).  Is anyone from Brazil in the list?i&lt;br&gt;&lt;br&gt;I&amp;#39;m currently reading The Haskell Road to Logic, Maths and Programming and having a lot of (geek) fun. By the way, i found this: &lt;a href=&quot;http://www.mail-archive.com/haskell-cafe@haskell.org/msg45406.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mail-archive.com/haskell-cafe@.../msg45406.html&lt;/a&gt; . It was sent by 
&lt;span class=&quot;sender&quot;&gt;Mattias Bengtsson. I made something similar using Ruby&amp;#39;s Treetop, with the difference that my concern was to&lt;/span&gt; validate and generate truth tables for formulas using Unicode.&lt;br&gt;&lt;br&gt;So... my first noob question to the list: What is the difference of Unicode support in HUGS and GHCI ? In GHCI I can do something like:&lt;br&gt;
&lt;br&gt;&lt;br&gt;(∧) = (&amp;amp;&amp;amp;)&lt;br&gt;Prelude&amp;gt; True ∧ False  &lt;br&gt;&lt;i&gt;False&lt;/i&gt;&lt;br&gt;&lt;br&gt;(The carachter is the unicode for conjunction U+2227)&lt;br&gt;&lt;br&gt;But in HUGS i can&amp;#39;t. It says:&lt;br&gt;&lt;br&gt;ERROR &amp;quot;conjunction.hs&amp;quot;:1 - Unrecognised character `\8743&amp;#39;&lt;br&gt;
&lt;br&gt;Somebody?&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Mon, Nov 23, 2009 at 1:26 PM, Eric Kow &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26480822&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;eric.kow@...&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;
Minor aside.&lt;br&gt;
&lt;br&gt;
&amp;gt; -&amp;gt; Could be the first GUI to build on hackage :)&lt;br&gt;
&lt;br&gt;
If you have wxWidgets installed, the new fully Cabalised wxHaskell&lt;br&gt;
builds just fine.  It&amp;#39;s quite handy/refreshing for &amp;#39;cabal install wx&amp;#39; to&lt;br&gt;
finally &amp;quot;just work&amp;quot; :-)&lt;br&gt;
&lt;br&gt;
Unless you mean &amp;quot;build on the Hackage server&amp;quot; which should also be&lt;br&gt;
possible in principle, although the wxHaskell folks may want to have&lt;br&gt;
a quick look at&lt;br&gt;
&lt;a href=&quot;http://hackage.haskell.org/packages/archive/wxcore/0.12.1.2/logs/failure/ghc-6.10&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://hackage.haskell.org/packages/archive/wxcore/0.12.1.2/logs/failure/ghc-6.10&lt;/a&gt;&lt;br&gt;
&lt;font color=&quot;#888888&quot;&gt;&lt;br&gt;
--&lt;br&gt;
Eric Kow &amp;lt;&lt;a href=&quot;http://www.nltg.brighton.ac.uk/home/Eric.Kow&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://www.nltg.brighton.ac.uk/home/Eric.Kow&lt;/a&gt;&amp;gt;&lt;br&gt;
PGP Key ID: 08AC04F9&lt;br&gt;
&lt;/font&gt;&lt;br&gt;-----BEGIN PGP SIGNATURE-----&lt;br&gt;
Version: GnuPG v1.4.9 (GNU/Linux)&lt;br&gt;
&lt;br&gt;
iEYEARECAAYFAksKqZgACgkQBUrOwgisBPmGBQCfRnW1dcLV3JaLi2p5PppsO+XK&lt;br&gt;
7uwAoMVhCV00sdNctgAjw2TyQGs6TyNv&lt;br&gt;
=tnXa&lt;br&gt;
-----END PGP SIGNATURE-----&lt;br&gt;
&lt;br&gt;_______________________________________________&lt;br&gt;
Haskell-Cafe mailing list&lt;br&gt;
&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26480822&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Haskell-Cafe@...&lt;/a&gt;&lt;br&gt;
&lt;a href=&quot;http://www.haskell.org/mailman/listinfo/haskell-cafe&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://www.haskell.org/mailman/listinfo/haskell-cafe&lt;/a&gt;&lt;br&gt;
&lt;br&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;br clear=&quot;all&quot;&gt;&lt;br&gt;-- &lt;br&gt;Juan Maiz Lulkin Flores da Cunha&lt;br&gt;---------------------------------------------------------------------------&lt;br&gt;Softa Consultoria para Desenvolvimento&lt;br&gt;&lt;a href=&quot;http://www.softa.com.br&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.softa.com.br&lt;/a&gt;&lt;br&gt;
&lt;a href=&quot;http://www.mailee.me&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mailee.me&lt;/a&gt; - Finalmente e-mail marketing 2.0&lt;br&gt;&lt;a href=&quot;http://www.linkedin.com/in/juanmaiz&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.linkedin.com/in/juanmaiz&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://workingwithrails.com/recommendation/new/person/9354-juan-maiz&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://workingwithrails.com/recommendation/new/person/9354-juan-maiz&lt;/a&gt;&lt;br&gt;
“The most exciting breakthroughs of the 21st century will not occur because of technology but because of an expanding concept of what it means to be human”&lt;br&gt;John Naisbitt&lt;br&gt;
&lt;br /&gt;_______________________________________________
&lt;br&gt;Haskell-Cafe mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26480822&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Haskell-Cafe@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://www.haskell.org/mailman/listinfo/haskell-cafe&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.haskell.org/mailman/listinfo/haskell-cafe&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Idea-for-a-very-simple-GUI-llibrary-tp26471065p26480822.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26480572</id>
	<title>Re: ANNOUNCE: deepseq-1.0.0.0</title>
	<published>2009-11-23T07:47:58Z</published>
	<updated>2009-11-23T07:47:58Z</updated>
	<author>
		<name>Simon Marlow-7</name>
	</author>
	<content type="html">On 19/11/09 12:17, Simon Marlow wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Ok, unless there are any further objections, I'll change the names back to
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; class NFData a where
&lt;br&gt;&amp;gt; rnf :: a -&amp;gt; ()
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; and also add
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; deepseq :: a -&amp;gt; b -&amp;gt; b
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; but I'll leave the module name as Control.DeepSeq.
&lt;/div&gt;&lt;br&gt;I made this change and uploaded deepseq-1.1.0.0 on Friday.
&lt;br&gt;&lt;br&gt;There's also an updated parallel-2.1.0.0, but after discussions with 
&lt;br&gt;Phil Trinder and other Parallel Haskell gurus, I think there may be 
&lt;br&gt;further changes forthcoming. &amp;nbsp;Upshot: the new version of parallel is 
&lt;br&gt;still changing, you might want to wait until things settle down 
&lt;br&gt;(hopefully not long) before switching.
&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;Haskell-Cafe mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26480572&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Haskell-Cafe@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://www.haskell.org/mailman/listinfo/haskell-cafe&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.haskell.org/mailman/listinfo/haskell-cafe&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/ANNOUNCE%3A-deepseq-1.0.0.0-tp26387968p26480572.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26480088</id>
	<title>Re: Idea for a very simple GUI llibrary</title>
	<published>2009-11-23T07:26:18Z</published>
	<updated>2009-11-23T07:26:18Z</updated>
	<author>
		<name>Eric Y. Kow</name>
	</author>
	<content type="html">Minor aside.
&lt;br&gt;&lt;br&gt;&amp;gt; -&amp;gt; Could be the first GUI to build on hackage :)
&lt;br&gt;&lt;br&gt;If you have wxWidgets installed, the new fully Cabalised wxHaskell
&lt;br&gt;builds just fine. &amp;nbsp;It's quite handy/refreshing for 'cabal install wx' to
&lt;br&gt;finally &amp;quot;just work&amp;quot; :-)
&lt;br&gt;&lt;br&gt;Unless you mean &amp;quot;build on the Hackage server&amp;quot; which should also be
&lt;br&gt;possible in principle, although the wxHaskell folks may want to have
&lt;br&gt;a quick look at
&lt;br&gt;&lt;a href=&quot;http://hackage.haskell.org/packages/archive/wxcore/0.12.1.2/logs/failure/ghc-6.10&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://hackage.haskell.org/packages/archive/wxcore/0.12.1.2/logs/failure/ghc-6.10&lt;/a&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Eric Kow &amp;lt;&lt;a href=&quot;http://www.nltg.brighton.ac.uk/home/Eric.Kow&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.nltg.brighton.ac.uk/home/Eric.Kow&lt;/a&gt;&amp;gt;
&lt;br&gt;PGP Key ID: 08AC04F9
&lt;br&gt;&lt;br /&gt; &lt;br /&gt;_______________________________________________
&lt;br&gt;Haskell-Cafe mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26480088&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Haskell-Cafe@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://www.haskell.org/mailman/listinfo/haskell-cafe&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.haskell.org/mailman/listinfo/haskell-cafe&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;signature.asc&lt;/strong&gt; (204 bytes) &lt;a href=&quot;http://old.nabble.com/attachment/26480088/0/signature.asc&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/Idea-for-a-very-simple-GUI-llibrary-tp26471065p26480088.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26479747</id>
	<title>Kind polymorphism</title>
	<published>2009-11-23T07:09:09Z</published>
	<updated>2009-11-23T07:09:09Z</updated>
	<author>
		<name>Martijn van Steenbergen-2</name>
	</author>
	<content type="html">Hello,
&lt;br&gt;&lt;br&gt;Are there currently any known problems that would hinder the 
&lt;br&gt;implementation of kind polymorphism [1], e.g. unresolved inelegancies or 
&lt;br&gt;technical limitations, or is it only a matter of finding the time to 
&lt;br&gt;implement it?
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;&lt;br&gt;Martijn.
&lt;br&gt;&lt;br&gt;&lt;br&gt;[1] &lt;a href=&quot;http://hackage.haskell.org/trac/haskell-prime/wiki/KindInference&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://hackage.haskell.org/trac/haskell-prime/wiki/KindInference&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Haskell-Cafe mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26479747&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Haskell-Cafe@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://www.haskell.org/mailman/listinfo/haskell-cafe&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.haskell.org/mailman/listinfo/haskell-cafe&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Kind-polymorphism-tp26479747p26479747.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26476727</id>
	<title>Re: How does cabal determine version ranges in the dependencies?</title>
	<published>2009-11-23T03:50:07Z</published>
	<updated>2009-11-23T03:50:07Z</updated>
	<author>
		<name>Maurí­cio CA</name>
	</author>
	<content type="html">&amp;nbsp;&amp;gt; I recently started porting cabal-install to Freebsd. When
&lt;br&gt;&amp;nbsp;&amp;gt; I looked at its dependencies on hackage, I noticed HTTP
&lt;br&gt;&amp;nbsp;&amp;gt; (&amp;gt;=4000.0.2 &amp;&amp; &amp;lt;4001). However the latest HTTP version on
&lt;br&gt;&amp;nbsp;&amp;gt; hackage is 4000.0.8. That struck me as kinda odd. How can cabal
&lt;br&gt;&amp;nbsp;&amp;gt; tell that it won't be compatible with HTTP version 4001?
&lt;br&gt;&lt;br&gt;If it doesn't break dependencies, it won't be called http 4001,
&lt;br&gt;it will be called 4000.0.9 :)
&lt;br&gt;&lt;br&gt;Check:
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://www.haskell.org/haskellwiki/Package_versioning_policy&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.haskell.org/haskellwiki/Package_versioning_policy&lt;/a&gt;&lt;br&gt;&lt;br&gt;Best,
&lt;br&gt;Maurício
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Haskell-Cafe mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26476727&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Haskell-Cafe@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://www.haskell.org/mailman/listinfo/haskell-cafe&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.haskell.org/mailman/listinfo/haskell-cafe&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/How-does-cabal-determine-version-ranges-in-the-dependencies--tp26476419p26476727.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26476419</id>
	<title>How does cabal determine version ranges in the dependencies?</title>
	<published>2009-11-23T03:36:55Z</published>
	<updated>2009-11-23T03:36:55Z</updated>
	<author>
		<name>David Fries-2</name>
	</author>
	<content type="html">Hi everyone
&lt;br&gt;&lt;br&gt;I recently started porting cabal-install to Freebsd. When I looked at its dependencies on hackage, I noticed HTTP (&amp;gt;=4000.0.2 &amp;&amp; &amp;lt;4001). However the latest HTTP version on hackage is 4000.0.8. That struck me as kinda odd. How can cabal tell that it won't be compatible with HTTP version 4001?
&lt;br&gt;&lt;br&gt;regards
&lt;br&gt;david
&lt;br&gt;-- 
&lt;br&gt;Preisknaller: GMX DSL Flatrate für nur 16,99 Euro/mtl.!
&lt;br&gt;&lt;a href=&quot;http://portal.gmx.net/de/go/dsl02&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://portal.gmx.net/de/go/dsl02&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Haskell-Cafe mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26476419&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Haskell-Cafe@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://www.haskell.org/mailman/listinfo/haskell-cafe&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.haskell.org/mailman/listinfo/haskell-cafe&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/How-does-cabal-determine-version-ranges-in-the-dependencies--tp26476419p26476419.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26475710</id>
	<title>Re: Idea for a very simple GUI llibrary</title>
	<published>2009-11-23T02:37:30Z</published>
	<updated>2009-11-23T02:37:30Z</updated>
	<author>
		<name>Maurí­cio CA</name>
	</author>
	<content type="html">&amp;nbsp;&amp;gt; Nice idea. I will try it if you write runGUI :-)
&lt;br&gt;&lt;br&gt;Sure, just let me know :)
&lt;br&gt;&lt;br&gt;If this is to be done, I think it's better that the person writing
&lt;br&gt;the Haskell code do not write runGUI, so the implementation
&lt;br&gt;details wouln't discourage ideas that make life easier for users.
&lt;br&gt;&lt;br&gt;&amp;nbsp;&amp;gt; This is an imperative style library. For more Haskellian GUI
&lt;br&gt;&amp;nbsp;&amp;gt; library ideas, see Fruit (&lt;a href=&quot;http://www.haskell.org/fruit/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.haskell.org/fruit/&lt;/a&gt;) and TVs
&lt;br&gt;&amp;nbsp;&amp;gt; (&lt;a href=&quot;http://www.haskell.org/haskellwiki/TV&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.haskell.org/haskellwiki/TV&lt;/a&gt;). They may not pass the
&lt;br&gt;&amp;nbsp;&amp;gt; &amp;quot;builds&amp;quot; constraint :-P
&lt;br&gt;&lt;br&gt;I do remember looking at TVs and also Fudgets as sugested by
&lt;br&gt;Keith.
&lt;br&gt;&lt;br&gt;But there's a unfilled hole for a library that's conceptually
&lt;br&gt;simple. I believe that with the library I described users
&lt;br&gt;(begginers in Haskell?) could even use QuickCheck and HUnit with
&lt;br&gt;their GUI code.
&lt;br&gt;&lt;br&gt;Thanks for your comments,
&lt;br&gt;Maurício
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Haskell-Cafe mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26475710&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Haskell-Cafe@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://www.haskell.org/mailman/listinfo/haskell-cafe&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.haskell.org/mailman/listinfo/haskell-cafe&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Idea-for-a-very-simple-GUI-llibrary-tp26471065p26475710.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26475149</id>
	<title>Re: Some useful TH templates</title>
	<published>2009-11-23T01:50:52Z</published>
	<updated>2009-11-23T01:50:52Z</updated>
	<author>
		<name>Neil Mitchell</name>
	</author>
	<content type="html">Hi Yair,
&lt;br&gt;&lt;br&gt;&amp;gt; I wrote some Template Haskell templates that I think may be of use to others.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; The first generates &amp;quot;in&amp;quot; and &amp;quot;with&amp;quot; functions for newtypes.
&lt;br&gt;&lt;br&gt;This looks very nice. Have you thought about putting this code in to
&lt;br&gt;the Derive package? (&lt;a href=&quot;http://community.haskell.org/~ndm/derive&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://community.haskell.org/~ndm/derive&lt;/a&gt;, and
&lt;br&gt;also on Hackage).
&lt;br&gt;&lt;br&gt;It provides a set of derivations, which can be called from Template
&lt;br&gt;Haskell, and a command line program for applying them. By putting them
&lt;br&gt;inside Derive you'll get lots of nice things for free, and it will be
&lt;br&gt;easier for people to use your code.
&lt;br&gt;&lt;br&gt;Thanks, Neil
&lt;br&gt;_______________________________________________
&lt;br&gt;Haskell-Cafe mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26475149&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Haskell-Cafe@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://www.haskell.org/mailman/listinfo/haskell-cafe&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.haskell.org/mailman/listinfo/haskell-cafe&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Some-useful-TH-templates-tp26427096p26475149.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26474453</id>
	<title>Re: Idea for a very simple GUI llibrary</title>
	<published>2009-11-23T00:50:28Z</published>
	<updated>2009-11-23T00:50:28Z</updated>
	<author>
		<name>Martin DeMello</name>
	</author>
	<content type="html">Has there been &amp;quot;real world&amp;quot; adoption of any of these, in the shape of
&lt;br&gt;a moderately complex end-user application that is not just a library
&lt;br&gt;demo?
&lt;br&gt;&lt;br&gt;martin
&lt;br&gt;&lt;br&gt;On Mon, Nov 23, 2009 at 8:48 AM, Keith Holman &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26474453&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;holmak@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; You should also check out Fudgets and &amp;quot;Tangible Functional
&lt;br&gt;&amp;gt; Programming.&amp;quot; Fudgets is a really old Haskell UI library concept;
&lt;br&gt;&amp;gt; Tangible FP is a recent Google talk about a UI library inspired by
&lt;br&gt;&amp;gt; Haskell types.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; 2009/11/22 Luke Palmer &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26474453&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lrpalmer@...&lt;/a&gt;&amp;gt;:
&lt;br&gt;&amp;gt;&amp;gt; Nice idea.  I will try it if you write runGUI :-)
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; This is an imperative style library.  For more Haskellian GUI library
&lt;br&gt;&amp;gt;&amp;gt; ideas, see Fruit (&lt;a href=&quot;http://www.haskell.org/fruit/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.haskell.org/fruit/&lt;/a&gt;) and TVs
&lt;br&gt;&amp;gt;&amp;gt; (&lt;a href=&quot;http://www.haskell.org/haskellwiki/TV&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.haskell.org/haskellwiki/TV&lt;/a&gt;).  They may not pass the
&lt;br&gt;&amp;gt;&amp;gt; &amp;quot;builds&amp;quot; constraint :-P
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Luke
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; 2009/11/22 Maurí­cio CA &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26474453&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;mauricio.antunes@...&lt;/a&gt;&amp;gt;:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Here is a sketch for a library with these properties:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; -&amp;gt; Easy to test. All Haskell code can be tested in a text
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; terminal. Also, testing code that uses the library can also be
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; done without using a GUI.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; -&amp;gt; Extremely easy to document and use.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; -&amp;gt; Not even close to Gtk2hs power, but enough for small
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; applications.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; -&amp;gt; Could be the first GUI to build on hackage :)
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; What we need is:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; -&amp;gt; MyState. A user suplied type for application state.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; -&amp;gt; WidId. A user suplied type for widget identifiers.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; -&amp;gt; Gui wi. A type capable of describing an interface with all of
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; its state. It's an instance of Eq.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; -&amp;gt; Event wi. A type for events.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; -&amp;gt; Prop. A type for properties than can related to a WidId.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Running an application would be like this:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; main = runGUI
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;        initState  -- An initial MyState.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;        event      -- :: MyState -&amp;gt; DiffTime -&amp;gt; Event WidId -&amp;gt; MyState
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;        props      -- :: WidId -&amp;gt; [Prop]
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;        action     -- :: MyState -&amp;gt; DiffTime -&amp;gt; IO (Maybe (MyState,Gui
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; WidId))
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;        timeout    -- :: DiffTime
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; DiffTime parameters for callbacks are always the time elapsed
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; since application started.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; From initState and event, the implementation of runGUI can save a
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; state that optionally changes with time.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; From props, it can get details on what to present in widgets
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; associated with a WidId (selected state, picture to draw etc.).
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; action presents a chance for using IO, and optionally change state
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; and GUI description.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; timeout is the maximum time runGUI implementation is allowed to
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; wait between calls to action.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Examples for those types:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; newtype MyState = {
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;    lastUpdate :: DiffTime,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;    builtGui :: Bool,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;    earthCoordinates :: (Double,Double),
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;    map :: SVG,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;    ...
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;  }
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; data WidId = XCoord | YCoord | MapWindow | ReloadButton ...
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; data Gui widid = TitleWindow (Gui widid)
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;      | Tabs [(String,Gui widid)]
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;      | PressButton String widid
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;      | Selection [String] widid
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;      | ...
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;  deriving Eq
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;   {-
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;      Eq is needed by runGUI to detect if GUI has
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;      changed after the last call to action.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;   -}
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; data Event widid = ButtonPressed widid
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;      | FileSelected String widid
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;      | OptionSelected String widid
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;      | ...
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; data Prop widid = Active Bool
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;      | Text String
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;      | Draw SVG
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;      | ...
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; I believe this can represent most kinds of simple applications,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; and be efficient enough for practical use.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; It's interesting that all of this can be designed, implemented and
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; tested independent of runGUI implementation. Actually, if you want
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; a pet project and want to write and design the Haskell part, I may
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; probably be able to write runGUI for you :)
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Best,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Maurício
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Haskell-Cafe mailing list
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26474453&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Haskell-Cafe@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://www.haskell.org/mailman/listinfo/haskell-cafe&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.haskell.org/mailman/listinfo/haskell-cafe&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt;&amp;gt; Haskell-Cafe mailing list
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26474453&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Haskell-Cafe@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://www.haskell.org/mailman/listinfo/haskell-cafe&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.haskell.org/mailman/listinfo/haskell-cafe&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; Haskell-Cafe mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26474453&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Haskell-Cafe@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.haskell.org/mailman/listinfo/haskell-cafe&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.haskell.org/mailman/listinfo/haskell-cafe&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;/div&gt;_______________________________________________
&lt;br&gt;Haskell-Cafe mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26474453&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Haskell-Cafe@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://www.haskell.org/mailman/listinfo/haskell-cafe&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.haskell.org/mailman/listinfo/haskell-cafe&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Idea-for-a-very-simple-GUI-llibrary-tp26471065p26474453.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26472238</id>
	<title>Re: Idea for a very simple GUI llibrary</title>
	<published>2009-11-22T19:18:12Z</published>
	<updated>2009-11-22T19:18:12Z</updated>
	<author>
		<name>Keith Holman</name>
	</author>
	<content type="html">You should also check out Fudgets and &amp;quot;Tangible Functional
&lt;br&gt;Programming.&amp;quot; Fudgets is a really old Haskell UI library concept;
&lt;br&gt;Tangible FP is a recent Google talk about a UI library inspired by
&lt;br&gt;Haskell types.
&lt;br&gt;&lt;br&gt;2009/11/22 Luke Palmer &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26472238&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lrpalmer@...&lt;/a&gt;&amp;gt;:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Nice idea.  I will try it if you write runGUI :-)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; This is an imperative style library.  For more Haskellian GUI library
&lt;br&gt;&amp;gt; ideas, see Fruit (&lt;a href=&quot;http://www.haskell.org/fruit/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.haskell.org/fruit/&lt;/a&gt;) and TVs
&lt;br&gt;&amp;gt; (&lt;a href=&quot;http://www.haskell.org/haskellwiki/TV&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.haskell.org/haskellwiki/TV&lt;/a&gt;).  They may not pass the
&lt;br&gt;&amp;gt; &amp;quot;builds&amp;quot; constraint :-P
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Luke
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; 2009/11/22 Maurí­cio CA &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26472238&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;mauricio.antunes@...&lt;/a&gt;&amp;gt;:
&lt;br&gt;&amp;gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Here is a sketch for a library with these properties:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; -&amp;gt; Easy to test. All Haskell code can be tested in a text
&lt;br&gt;&amp;gt;&amp;gt; terminal. Also, testing code that uses the library can also be
&lt;br&gt;&amp;gt;&amp;gt; done without using a GUI.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; -&amp;gt; Extremely easy to document and use.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; -&amp;gt; Not even close to Gtk2hs power, but enough for small
&lt;br&gt;&amp;gt;&amp;gt; applications.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; -&amp;gt; Could be the first GUI to build on hackage :)
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; What we need is:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; -&amp;gt; MyState. A user suplied type for application state.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; -&amp;gt; WidId. A user suplied type for widget identifiers.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; -&amp;gt; Gui wi. A type capable of describing an interface with all of
&lt;br&gt;&amp;gt;&amp;gt; its state. It's an instance of Eq.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; -&amp;gt; Event wi. A type for events.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; -&amp;gt; Prop. A type for properties than can related to a WidId.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Running an application would be like this:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; main = runGUI
&lt;br&gt;&amp;gt;&amp;gt;        initState  -- An initial MyState.
&lt;br&gt;&amp;gt;&amp;gt;        event      -- :: MyState -&amp;gt; DiffTime -&amp;gt; Event WidId -&amp;gt; MyState
&lt;br&gt;&amp;gt;&amp;gt;        props      -- :: WidId -&amp;gt; [Prop]
&lt;br&gt;&amp;gt;&amp;gt;        action     -- :: MyState -&amp;gt; DiffTime -&amp;gt; IO (Maybe (MyState,Gui
&lt;br&gt;&amp;gt;&amp;gt; WidId))
&lt;br&gt;&amp;gt;&amp;gt;        timeout    -- :: DiffTime
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; DiffTime parameters for callbacks are always the time elapsed
&lt;br&gt;&amp;gt;&amp;gt; since application started.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; From initState and event, the implementation of runGUI can save a
&lt;br&gt;&amp;gt;&amp;gt; state that optionally changes with time.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; From props, it can get details on what to present in widgets
&lt;br&gt;&amp;gt;&amp;gt; associated with a WidId (selected state, picture to draw etc.).
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; action presents a chance for using IO, and optionally change state
&lt;br&gt;&amp;gt;&amp;gt; and GUI description.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; timeout is the maximum time runGUI implementation is allowed to
&lt;br&gt;&amp;gt;&amp;gt; wait between calls to action.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Examples for those types:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; newtype MyState = {
&lt;br&gt;&amp;gt;&amp;gt;    lastUpdate :: DiffTime,
&lt;br&gt;&amp;gt;&amp;gt;    builtGui :: Bool,
&lt;br&gt;&amp;gt;&amp;gt;    earthCoordinates :: (Double,Double),
&lt;br&gt;&amp;gt;&amp;gt;    map :: SVG,
&lt;br&gt;&amp;gt;&amp;gt;    ...
&lt;br&gt;&amp;gt;&amp;gt;  }
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; data WidId = XCoord | YCoord | MapWindow | ReloadButton ...
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; data Gui widid = TitleWindow (Gui widid)
&lt;br&gt;&amp;gt;&amp;gt;      | Tabs [(String,Gui widid)]
&lt;br&gt;&amp;gt;&amp;gt;      | PressButton String widid
&lt;br&gt;&amp;gt;&amp;gt;      | Selection [String] widid
&lt;br&gt;&amp;gt;&amp;gt;      | ...
&lt;br&gt;&amp;gt;&amp;gt;  deriving Eq
&lt;br&gt;&amp;gt;&amp;gt;   {-
&lt;br&gt;&amp;gt;&amp;gt;      Eq is needed by runGUI to detect if GUI has
&lt;br&gt;&amp;gt;&amp;gt;      changed after the last call to action.
&lt;br&gt;&amp;gt;&amp;gt;   -}
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; data Event widid = ButtonPressed widid
&lt;br&gt;&amp;gt;&amp;gt;      | FileSelected String widid
&lt;br&gt;&amp;gt;&amp;gt;      | OptionSelected String widid
&lt;br&gt;&amp;gt;&amp;gt;      | ...
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; data Prop widid = Active Bool
&lt;br&gt;&amp;gt;&amp;gt;      | Text String
&lt;br&gt;&amp;gt;&amp;gt;      | Draw SVG
&lt;br&gt;&amp;gt;&amp;gt;      | ...
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I believe this can represent most kinds of simple applications,
&lt;br&gt;&amp;gt;&amp;gt; and be efficient enough for practical use.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; It's interesting that all of this can be designed, implemented and
&lt;br&gt;&amp;gt;&amp;gt; tested independent of runGUI implementation. Actually, if you want
&lt;br&gt;&amp;gt;&amp;gt; a pet project and want to write and design the Haskell part, I may
&lt;br&gt;&amp;gt;&amp;gt; probably be able to write runGUI for you :)
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Best,
&lt;br&gt;&amp;gt;&amp;gt; Maurício
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt;&amp;gt; Haskell-Cafe mailing list
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26472238&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Haskell-Cafe@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://www.haskell.org/mailman/listinfo/haskell-cafe&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.haskell.org/mailman/listinfo/haskell-cafe&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; Haskell-Cafe mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26472238&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Haskell-Cafe@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.haskell.org/mailman/listinfo/haskell-cafe&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.haskell.org/mailman/listinfo/haskell-cafe&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;/div&gt;_______________________________________________
&lt;br&gt;Haskell-Cafe mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26472238&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Haskell-Cafe@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://www.haskell.org/mailman/listinfo/haskell-cafe&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.haskell.org/mailman/listinfo/haskell-cafe&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Idea-for-a-very-simple-GUI-llibrary-tp26471065p26472238.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26471441</id>
	<title>Re: What's wrong with code.haskell.org ?</title>
	<published>2009-11-22T17:12:49Z</published>
	<updated>2009-11-22T17:12:49Z</updated>
	<author>
		<name>Malcolm Wallace</name>
	</author>
	<content type="html">&amp;gt;&amp;gt; code.h.o and community.h.o have rather flaky hosting, and have been
&lt;br&gt;&amp;gt;&amp;gt; going down often recently.
&lt;br&gt;&lt;br&gt;Yes, we know that code/community.h.o can be somewhat flaky. &amp;nbsp;However, &amp;nbsp;
&lt;br&gt;it does claim to have been up continuously for the last 79 days. &amp;nbsp;I &amp;nbsp;
&lt;br&gt;suspect it is that (a) the service daemons occasionally die for no &amp;nbsp;
&lt;br&gt;obvious reason, or (b) some users are running processes that sometimes &amp;nbsp;
&lt;br&gt;hog the CPU, memory, or network bandwidth.
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; They have hardware problems - dying HDs and such.
&lt;br&gt;&lt;br&gt;No, that is a different machine: hackage/darcs.h.o. &amp;nbsp;A new server is &amp;nbsp;
&lt;br&gt;on order, but we do not yet have a delivery date.
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Malcolm
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Haskell-Cafe mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26471441&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Haskell-Cafe@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://www.haskell.org/mailman/listinfo/haskell-cafe&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.haskell.org/mailman/listinfo/haskell-cafe&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/What%27s-wrong-with-code.haskell.org---tp26462505p26471441.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26471329</id>
	<title>Re: Idea for a very simple GUI llibrary</title>
	<published>2009-11-22T16:59:10Z</published>
	<updated>2009-11-22T16:59:10Z</updated>
	<author>
		<name>Luke Palmer-2</name>
	</author>
	<content type="html">Nice idea. &amp;nbsp;I will try it if you write runGUI :-)
&lt;br&gt;&lt;br&gt;This is an imperative style library. &amp;nbsp;For more Haskellian GUI library
&lt;br&gt;ideas, see Fruit (&lt;a href=&quot;http://www.haskell.org/fruit/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.haskell.org/fruit/&lt;/a&gt;) and TVs
&lt;br&gt;(&lt;a href=&quot;http://www.haskell.org/haskellwiki/TV&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.haskell.org/haskellwiki/TV&lt;/a&gt;). &amp;nbsp;They may not pass the
&lt;br&gt;&amp;quot;builds&amp;quot; constraint :-P
&lt;br&gt;&lt;br&gt;Luke
&lt;br&gt;&lt;br&gt;2009/11/22 Maurí­cio CA &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26471329&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;mauricio.antunes@...&lt;/a&gt;&amp;gt;:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Here is a sketch for a library with these properties:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; -&amp;gt; Easy to test. All Haskell code can be tested in a text
&lt;br&gt;&amp;gt; terminal. Also, testing code that uses the library can also be
&lt;br&gt;&amp;gt; done without using a GUI.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; -&amp;gt; Extremely easy to document and use.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; -&amp;gt; Not even close to Gtk2hs power, but enough for small
&lt;br&gt;&amp;gt; applications.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; -&amp;gt; Could be the first GUI to build on hackage :)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; What we need is:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; -&amp;gt; MyState. A user suplied type for application state.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; -&amp;gt; WidId. A user suplied type for widget identifiers.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; -&amp;gt; Gui wi. A type capable of describing an interface with all of
&lt;br&gt;&amp;gt; its state. It's an instance of Eq.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; -&amp;gt; Event wi. A type for events.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; -&amp;gt; Prop. A type for properties than can related to a WidId.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Running an application would be like this:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; main = runGUI
&lt;br&gt;&amp;gt;        initState  -- An initial MyState.
&lt;br&gt;&amp;gt;        event      -- :: MyState -&amp;gt; DiffTime -&amp;gt; Event WidId -&amp;gt; MyState
&lt;br&gt;&amp;gt;        props      -- :: WidId -&amp;gt; [Prop]
&lt;br&gt;&amp;gt;        action     -- :: MyState -&amp;gt; DiffTime -&amp;gt; IO (Maybe (MyState,Gui
&lt;br&gt;&amp;gt; WidId))
&lt;br&gt;&amp;gt;        timeout    -- :: DiffTime
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; DiffTime parameters for callbacks are always the time elapsed
&lt;br&gt;&amp;gt; since application started.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; From initState and event, the implementation of runGUI can save a
&lt;br&gt;&amp;gt; state that optionally changes with time.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; From props, it can get details on what to present in widgets
&lt;br&gt;&amp;gt; associated with a WidId (selected state, picture to draw etc.).
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; action presents a chance for using IO, and optionally change state
&lt;br&gt;&amp;gt; and GUI description.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; timeout is the maximum time runGUI implementation is allowed to
&lt;br&gt;&amp;gt; wait between calls to action.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Examples for those types:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; newtype MyState = {
&lt;br&gt;&amp;gt;    lastUpdate :: DiffTime,
&lt;br&gt;&amp;gt;    builtGui :: Bool,
&lt;br&gt;&amp;gt;    earthCoordinates :: (Double,Double),
&lt;br&gt;&amp;gt;    map :: SVG,
&lt;br&gt;&amp;gt;    ...
&lt;br&gt;&amp;gt;  }
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; data WidId = XCoord | YCoord | MapWindow | ReloadButton ...
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; data Gui widid = TitleWindow (Gui widid)
&lt;br&gt;&amp;gt;      | Tabs [(String,Gui widid)]
&lt;br&gt;&amp;gt;      | PressButton String widid
&lt;br&gt;&amp;gt;      | Selection [String] widid
&lt;br&gt;&amp;gt;      | ...
&lt;br&gt;&amp;gt;  deriving Eq
&lt;br&gt;&amp;gt;   {-
&lt;br&gt;&amp;gt;      Eq is needed by runGUI to detect if GUI has
&lt;br&gt;&amp;gt;      changed after the last call to action.
&lt;br&gt;&amp;gt;   -}
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; data Event widid = ButtonPressed widid
&lt;br&gt;&amp;gt;      | FileSelected String widid
&lt;br&gt;&amp;gt;      | OptionSelected String widid
&lt;br&gt;&amp;gt;      | ...
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; data Prop widid = Active Bool
&lt;br&gt;&amp;gt;      | Text String
&lt;br&gt;&amp;gt;      | Draw SVG
&lt;br&gt;&amp;gt;      | ...
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I believe this can represent most kinds of simple applications,
&lt;br&gt;&amp;gt; and be efficient enough for practical use.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; It's interesting that all of this can be designed, implemented and
&lt;br&gt;&amp;gt; tested independent of runGUI implementation. Actually, if you want
&lt;br&gt;&amp;gt; a pet project and want to write and design the Haskell part, I may
&lt;br&gt;&amp;gt; probably be able to write runGUI for you :)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Best,
&lt;br&gt;&amp;gt; Maurício
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; Haskell-Cafe mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26471329&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Haskell-Cafe@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.haskell.org/mailman/listinfo/haskell-cafe&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.haskell.org/mailman/listinfo/haskell-cafe&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;/div&gt;_______________________________________________
&lt;br&gt;Haskell-Cafe mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26471329&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Haskell-Cafe@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://www.haskell.org/mailman/listinfo/haskell-cafe&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.haskell.org/mailman/listinfo/haskell-cafe&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Idea-for-a-very-simple-GUI-llibrary-tp26471065p26471329.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26471083</id>
	<title>some help debugging ghci build on powerpc</title>
	<published>2009-11-22T16:22:43Z</published>
	<updated>2009-11-22T16:22:43Z</updated>
	<author>
		<name>brian denheyer</name>
	</author>
	<content type="html">&lt;br&gt;I'm trying to build ghc so that ghci will be included under linux power-pc.
&lt;br&gt;&lt;br&gt;The build dies here:
&lt;br&gt;&lt;br&gt;~/ghc6-6.10.4/rts$ /home/briand/ghc6-6.10.4/ghc/stage1-inplace/ghc -optc-O -optc-Wall -optc-W -optc-Wstrict-prototypes -optc-Wmissing-prototypes -optc-Wmissing-declarations -optc-Winline -optc-Waggregate-return -optc-I../includes -optc-I. -optc-Iparallel -optc-Ism -optc-DCOMPILING_RTS -optc-fomit-frame-pointer -optc-DNOSMP -optc-I../gmp/gmpbuild -optc-I../libffi/build/include -optc-fno-strict-aliasing -optc-w &amp;nbsp;-H32m -O -optc-O2 -I../includes -I. -Iparallel -Ism -DCOMPILING_RTS -package-name rts -optc-DNOSMP -static &amp;nbsp;-I../gmp/gmpbuild -I../libffi/build/include -I. -dcmm-lint &amp;nbsp; -c StgCRun.c -o StgCRun.o
&lt;br&gt;/tmp/ghc21791_0/ghc21791_0.s: Assembler messages:
&lt;br&gt;&lt;br&gt;/tmp/ghc21791_0/ghc21791_0.s:15:0:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Error: junk at end of line, first unrecognized character is `@'
&lt;br&gt;&lt;br&gt;/tmp/ghc21791_0/ghc21791_0.s:19:0:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Error: junk at end of line, first unrecognized character is `@'
&lt;br&gt;&lt;br&gt;&lt;br&gt;That relates to this line(s):
&lt;br&gt;&lt;br&gt;StgRun:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .quad	.StgRun,.TOC.@tocbase,0
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .size StgRun,24
&lt;br&gt;.globl StgReturn
&lt;br&gt;&lt;br&gt;It _looks_ like it's grabbing the right stuff from StgCRun.c,
&lt;br&gt;i.e. it's really trying to compile for power pc.
&lt;br&gt;&lt;br&gt;I was hoping that this was a bit of cruft and someone could direct me
&lt;br&gt;to a fix for the assembly portion so I can get a little farther along.
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;&lt;br&gt;Brian
&lt;br&gt;&lt;br&gt;P.S. Or somebody could also tell me if trying to have the latest ghc
&lt;br&gt;working on power pc is even worth working on.
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Haskell-Cafe mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26471083&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Haskell-Cafe@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://www.haskell.org/mailman/listinfo/haskell-cafe&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.haskell.org/mailman/listinfo/haskell-cafe&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/some-help-debugging-ghci-build-on-powerpc-tp26471083p26471083.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26471065</id>
	<title>Idea for a very simple GUI llibrary</title>
	<published>2009-11-22T16:19:00Z</published>
	<updated>2009-11-22T16:19:00Z</updated>
	<author>
		<name>Maurí­cio CA</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;Here is a sketch for a library with these properties:
&lt;br&gt;&lt;br&gt;-&amp;gt; Easy to test. All Haskell code can be tested in a text
&lt;br&gt;terminal. Also, testing code that uses the library can also be
&lt;br&gt;done without using a GUI.
&lt;br&gt;&lt;br&gt;-&amp;gt; Extremely easy to document and use.
&lt;br&gt;&lt;br&gt;-&amp;gt; Not even close to Gtk2hs power, but enough for small
&lt;br&gt;applications.
&lt;br&gt;&lt;br&gt;-&amp;gt; Could be the first GUI to build on hackage :)
&lt;br&gt;&lt;br&gt;What we need is:
&lt;br&gt;&lt;br&gt;-&amp;gt; MyState. A user suplied type for application state.
&lt;br&gt;&lt;br&gt;-&amp;gt; WidId. A user suplied type for widget identifiers.
&lt;br&gt;&lt;br&gt;-&amp;gt; Gui wi. A type capable of describing an interface with all of
&lt;br&gt;its state. It's an instance of Eq.
&lt;br&gt;&lt;br&gt;-&amp;gt; Event wi. A type for events.
&lt;br&gt;&lt;br&gt;-&amp;gt; Prop. A type for properties than can related to a WidId.
&lt;br&gt;&lt;br&gt;Running an application would be like this:
&lt;br&gt;&lt;br&gt;main = runGUI
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;initState &amp;nbsp;-- An initial MyState.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;event &amp;nbsp; &amp;nbsp; &amp;nbsp;-- :: MyState -&amp;gt; DiffTime -&amp;gt; Event WidId -&amp;gt; MyState
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;props &amp;nbsp; &amp;nbsp; &amp;nbsp;-- :: WidId -&amp;gt; [Prop]
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;action &amp;nbsp; &amp;nbsp; -- :: MyState -&amp;gt; DiffTime -&amp;gt; IO (Maybe (MyState,Gui WidId))
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;timeout &amp;nbsp; &amp;nbsp;-- :: DiffTime
&lt;br&gt;&lt;br&gt;DiffTime parameters for callbacks are always the time elapsed
&lt;br&gt;since application started.
&lt;br&gt;&lt;br&gt;&amp;nbsp;From initState and event, the implementation of runGUI can save a
&lt;br&gt;state that optionally changes with time.
&lt;br&gt;&lt;br&gt;&amp;nbsp;From props, it can get details on what to present in widgets
&lt;br&gt;associated with a WidId (selected state, picture to draw etc.).
&lt;br&gt;&lt;br&gt;action presents a chance for using IO, and optionally change state
&lt;br&gt;and GUI description.
&lt;br&gt;&lt;br&gt;timeout is the maximum time runGUI implementation is allowed to
&lt;br&gt;wait between calls to action.
&lt;br&gt;&lt;br&gt;Examples for those types:
&lt;br&gt;&lt;br&gt;newtype MyState = {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;lastUpdate :: DiffTime,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;builtGui :: Bool,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;earthCoordinates :: (Double,Double),
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;map :: SVG,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;...
&lt;br&gt;&amp;nbsp; }
&lt;br&gt;&lt;br&gt;data WidId = XCoord | YCoord | MapWindow | ReloadButton ...
&lt;br&gt;&lt;br&gt;data Gui widid = TitleWindow (Gui widid)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| Tabs [(String,Gui widid)]
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| PressButton String widid
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| Selection [String] widid
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| ...
&lt;br&gt;&amp;nbsp; deriving Eq
&lt;br&gt;&amp;nbsp; &amp;nbsp; {-
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Eq is needed by runGUI to detect if GUI has
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;changed after the last call to action.
&lt;br&gt;&amp;nbsp; &amp;nbsp; -}
&lt;br&gt;&lt;br&gt;data Event widid = ButtonPressed widid
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| FileSelected String widid
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| OptionSelected String widid
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| ...
&lt;br&gt;&lt;br&gt;data Prop widid = Active Bool
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| Text String
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| Draw SVG
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| ...
&lt;br&gt;&lt;br&gt;I believe this can represent most kinds of simple applications,
&lt;br&gt;and be efficient enough for practical use.
&lt;br&gt;&lt;br&gt;It's interesting that all of this can be designed, implemented and
&lt;br&gt;tested independent of runGUI implementation. Actually, if you want
&lt;br&gt;a pet project and want to write and design the Haskell part, I may
&lt;br&gt;probably be able to write runGUI for you :)
&lt;br&gt;&lt;br&gt;Best,
&lt;br&gt;Maurício
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Haskell-Cafe mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26471065&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Haskell-Cafe@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://www.haskell.org/mailman/listinfo/haskell-cafe&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.haskell.org/mailman/listinfo/haskell-cafe&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Idea-for-a-very-simple-GUI-llibrary-tp26471065p26471065.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26469072</id>
	<title>Re: Graph drawing library for Haskell</title>
	<published>2009-11-22T12:21:01Z</published>
	<updated>2009-11-22T12:21:01Z</updated>
	<author>
		<name>Martin DeMello</name>
	</author>
	<content type="html">On Fri, Nov 20, 2009 at 9:36 PM, Victor Mateus Oliveira
&lt;br&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26469072&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rhapsodyv@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; I'm looking for something more integrated with a gui library. The
&lt;br&gt;&amp;gt; jgraph integrates with swing, so you can move, create, delete, have
&lt;br&gt;&amp;gt; popup menus, select nodes, and so on.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I haven't found yet.. If there isn't, I thinking in create one lib
&lt;br&gt;&amp;gt; with wxHaskell using wxDC... But by now, I really prefer to use one
&lt;br&gt;&amp;gt; existing library.
&lt;br&gt;&lt;br&gt;Blobs [&lt;a href=&quot;http://www.cs.york.ac.uk/fp/darcs/Blobs/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.cs.york.ac.uk/fp/darcs/Blobs/&lt;/a&gt;] might be a better
&lt;br&gt;starting point than implementing from scratch on wxdc
&lt;br&gt;&lt;br&gt;martin
&lt;br&gt;_______________________________________________
&lt;br&gt;Haskell-Cafe mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26469072&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Haskell-Cafe@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://www.haskell.org/mailman/listinfo/haskell-cafe&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.haskell.org/mailman/listinfo/haskell-cafe&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Graph-drawing-library-for-Haskell-tp26443702p26469072.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26468323</id>
	<title>Re: Existential type question</title>
	<published>2009-11-22T10:59:58Z</published>
	<updated>2009-11-22T10:59:58Z</updated>
	<author>
		<name>Daniel Fischer-4</name>
	</author>
	<content type="html">Am Sonntag 22 November 2009 19:24:48 schrieb Michael Snoyman:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi all,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I've come across some code I just can't figure out how to write
&lt;br&gt;&amp;gt; appropriately. Below is a silly example that demonstrates what I'm trying
&lt;br&gt;&amp;gt; to do. I don't really have the appropriate vocabulary to describe the
&lt;br&gt;&amp;gt; issue, so I'll let the code speak for itself. In particular, I'm trying to
&lt;br&gt;&amp;gt; understand what the correct type signatures for unwrapMyData and bin should
&lt;br&gt;&amp;gt; be.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thanks,
&lt;br&gt;&amp;gt; Michael
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ---
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; {-# LANGUAGE MultiParamTypeClasses #-}
&lt;br&gt;&amp;gt; {-# LANGUAGE ExistentialQuantification #-}
&lt;br&gt;&amp;gt; {-# LANGUAGE FlexibleInstances #-}
&lt;br&gt;&amp;gt; {-# LANGUAGE FlexibleContexts #-}
&lt;br&gt;&amp;gt; class Monad m =&amp;gt; MonadFoo x m where
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; foo :: x -&amp;gt; m a
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; data MyData a = forall i. Integral i =&amp;gt; MyLeft i
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | MyRight a
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; instance Monad MyData where
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; return = MyRight
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; (MyLeft i) &amp;gt;&amp;gt;= _ = MyLeft i
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; (MyRight x) &amp;gt;&amp;gt;= f = f x
&lt;br&gt;&amp;gt; instance Integral i =&amp;gt; MonadFoo i MyData where
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; foo = MyLeft
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; bar :: MonadFoo Int m =&amp;gt; Int -&amp;gt; m String
&lt;br&gt;&amp;gt; bar 0 = return &amp;quot;zero&amp;quot;
&lt;br&gt;&amp;gt; bar i = foo i
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; baz :: String -&amp;gt; MyData String
&lt;br&gt;&amp;gt; baz &amp;quot;zero&amp;quot; = MyRight &amp;quot;Zero&amp;quot;
&lt;br&gt;&amp;gt; baz _ = MyLeft (-1 :: Integer)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; --This works: unwrapMyData (MyLeft i) = foo (fromIntegral i :: Integer)
&lt;br&gt;&amp;gt; unwrapMyData (MyLeft i) = foo i -- This is what I'd like to work
&lt;/div&gt;&lt;br&gt;I don't see how it could (except perhaps...). The type would be
&lt;br&gt;&lt;br&gt;unwrapMyData ::(forall i. (Integral i =&amp;gt; MonadFoo i m)) =&amp;gt; MyData a -&amp;gt; m a
&lt;br&gt;&lt;br&gt;- the MyData a -&amp;gt; m a part is obviously necessary, but MyLeft can wrap *any* integral 
&lt;br&gt;type, so you indeed need instances MonadFoo i m for *every* integral type. You can't 
&lt;br&gt;specify that condition in Haskell.
&lt;br&gt;&lt;br&gt;You could try
&lt;br&gt;&lt;br&gt;instance MonadFoo a [] where
&lt;br&gt;&amp;nbsp; &amp;nbsp; foo _ = []
&lt;br&gt;&lt;br&gt;instance MonadFoo a Maybe where
&lt;br&gt;&amp;nbsp; &amp;nbsp; foo _ = Nothing
&lt;br&gt;&lt;br&gt;(more general,
&lt;br&gt;instance (MonadPlus m) =&amp;gt; MonadFoo a m where
&lt;br&gt;&amp;nbsp; &amp;nbsp; foo _ = mzero
&lt;br&gt;)
&lt;br&gt;&lt;br&gt;unwrapMyData :: (MonadPlus m) =&amp;gt; MyData a -&amp;gt; m a
&lt;br&gt;&lt;br&gt;that might be got to work, but it's very likely not even remotely what you want
&lt;br&gt;(unwrapMyData :: MyData a -&amp;gt; [a] would work with the above instance, I think, but it would 
&lt;br&gt;be rather pointless).
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;gt; unwrapMyData (MyRight a) = return a
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; bin i = do
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; a &amp;lt;- bar i
&lt;br&gt;&lt;br&gt;You must specify which instance of MonadFoo to use here, otherwise it is impossible to 
&lt;br&gt;determine which instance of bar to use, and the type of bin is irredeemably ambiguous 
&lt;br&gt;(show . read).
&lt;br&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; b &amp;lt;- unwrapMyData $ baz a
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; return $ b ++ &amp;quot;!!!&amp;quot;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; instance Show a =&amp;gt; MonadFoo a IO where
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; foo = fail . show -- I know, it's horrible...
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; main = do
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; res &amp;lt;- bin 0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; putStrLn res
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Haskell-Cafe mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26468323&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Haskell-Cafe@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://www.haskell.org/mailman/listinfo/haskell-cafe&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.haskell.org/mailman/listinfo/haskell-cafe&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Existential-type-question-tp26467922p26468323.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26467922</id>
	<title>Existential type question</title>
	<published>2009-11-22T10:24:48Z</published>
	<updated>2009-11-22T10:24:48Z</updated>
	<author>
		<name>Michael Snoyman</name>
	</author>
	<content type="html">&lt;div dir=&quot;ltr&quot;&gt;Hi all,&lt;br&gt;&lt;br&gt;I&amp;#39;ve come across some code I just can&amp;#39;t figure out how to write appropriately. Below is a silly example that demonstrates what I&amp;#39;m trying to do. I don&amp;#39;t really have the appropriate vocabulary to describe the issue, so I&amp;#39;ll let the code speak for itself. In particular, I&amp;#39;m trying to understand what the correct type signatures for unwrapMyData and bin should be.&lt;br&gt;
&lt;br&gt;Thanks,&lt;br&gt;Michael&lt;br&gt;&lt;br&gt;---&lt;br&gt;&lt;br&gt;{-# LANGUAGE MultiParamTypeClasses #-}&lt;br&gt;{-# LANGUAGE ExistentialQuantification #-}&lt;br&gt;{-# LANGUAGE FlexibleInstances #-}&lt;br&gt;{-# LANGUAGE FlexibleContexts #-}&lt;br&gt;class Monad m =&amp;gt; MonadFoo x m where&lt;br&gt;
    foo :: x -&amp;gt; m a&lt;br&gt;&lt;br&gt;data MyData a = forall i. Integral i =&amp;gt; MyLeft i&lt;br&gt;              | MyRight a&lt;br&gt;&lt;br&gt;instance Monad MyData where&lt;br&gt;    return = MyRight&lt;br&gt;    (MyLeft i) &amp;gt;&amp;gt;= _ = MyLeft i&lt;br&gt;    (MyRight x) &amp;gt;&amp;gt;= f = f x&lt;br&gt;
instance Integral i =&amp;gt; MonadFoo i MyData where&lt;br&gt;    foo = MyLeft&lt;br&gt;&lt;br&gt;bar :: MonadFoo Int m =&amp;gt; Int -&amp;gt; m String&lt;br&gt;bar 0 = return &amp;quot;zero&amp;quot;&lt;br&gt;bar i = foo i&lt;br&gt;&lt;br&gt;baz :: String -&amp;gt; MyData String&lt;br&gt;baz &amp;quot;zero&amp;quot; = MyRight &amp;quot;Zero&amp;quot;&lt;br&gt;
baz _ = MyLeft (-1 :: Integer)&lt;br&gt;&lt;br&gt;--This works: unwrapMyData (MyLeft i) = foo (fromIntegral i :: Integer)&lt;br&gt;unwrapMyData (MyLeft i) = foo i -- This is what I&amp;#39;d like to work&lt;br&gt;unwrapMyData (MyRight a) = return a&lt;br&gt;
&lt;br&gt;bin i = do&lt;br&gt;    a &amp;lt;- bar i&lt;br&gt;    b &amp;lt;- unwrapMyData $ baz a&lt;br&gt;    return $ b ++ &amp;quot;!!!&amp;quot;&lt;br&gt;&lt;br&gt;instance Show a =&amp;gt; MonadFoo a IO where&lt;br&gt;    foo = fail . show -- I know, it&amp;#39;s horrible...&lt;br&gt;&lt;br&gt;
main = do&lt;br&gt;    res &amp;lt;- bin 0&lt;br&gt;    putStrLn res&lt;br&gt;&lt;br&gt;&lt;/div&gt;
&lt;br /&gt;_______________________________________________
&lt;br&gt;Haskell-Cafe mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26467922&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Haskell-Cafe@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://www.haskell.org/mailman/listinfo/haskell-cafe&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.haskell.org/mailman/listinfo/haskell-cafe&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Existential-type-question-tp26467922p26467922.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26467608</id>
	<title>Re: Re: Wiki software?</title>
	<published>2009-11-22T09:56:13Z</published>
	<updated>2009-11-22T09:56:13Z</updated>
	<author>
		<name>Antoine Latter-2</name>
	</author>
	<content type="html">On Sat, Nov 21, 2009 at 3:09 PM, Gwern Branwen &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26467608&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gwern0@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; This doesn't surprise me; but how much slower are we talking?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; If it's not at the point that a browser of a Gitit wiki could notice
&lt;br&gt;&amp;gt; the difference, then it seems to me that the dep ought to be loosened:
&lt;br&gt;&amp;gt; the parsec/quickcheck/base diamond dependency problem is one of the
&lt;br&gt;&amp;gt; worst ones a user can run into, the hardest to resolve, and one that
&lt;br&gt;&amp;gt; can arise in the course of ordinary safe use of Haskell.
&lt;br&gt;&lt;br&gt;Running 'pandoc --strict' over the Markdown readme.text takes:
&lt;br&gt;&lt;br&gt;~0.09s with pandoc built against parsec-2
&lt;br&gt;~0.19s with pandoc built against parsec-3
&lt;br&gt;&lt;br&gt;on my machine.
&lt;br&gt;&lt;br&gt;I have a branch of parsec-3 which seems to brings us back to parsec-2
&lt;br&gt;numbers, but also fails the rst-reader test-case in the pandoc testing
&lt;br&gt;suite:
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://community.haskell.org/~aslatter/code/parsec/cps&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://community.haskell.org/~aslatter/code/parsec/cps&lt;/a&gt;&lt;br&gt;&lt;br&gt;Antoine
&lt;br&gt;_______________________________________________
&lt;br&gt;Haskell-Cafe mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26467608&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Haskell-Cafe@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://www.haskell.org/mailman/listinfo/haskell-cafe&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.haskell.org/mailman/listinfo/haskell-cafe&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Wiki-software--tp26411824p26467608.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26472176</id>
	<title>Re: What's wrong with code.haskell.org ?</title>
	<published>2009-11-22T09:11:42Z</published>
	<updated>2009-11-22T09:11:42Z</updated>
	<author>
		<name>Andy Stewart-5</name>
	</author>
	<content type="html">Svein Ove Aas &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26472176&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;svein.ove@...&lt;/a&gt;&amp;gt; writes:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Sun, Nov 22, 2009 at 4:39 AM, John Millikin &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26472176&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jmillikin@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt; code.h.o and community.h.o have rather flaky hosting, and have been
&lt;br&gt;&amp;gt;&amp;gt; going down often recently. The only solution seems to be waiting until
&lt;br&gt;&amp;gt;&amp;gt; the admins notice.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; They have hardware problems - dying HDs and such.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; IIRC there were plans to replace the problematic hardware, but I don't
&lt;br&gt;&amp;gt; know how far that has gotten. Maybe we should have a fundraiser for
&lt;br&gt;&amp;gt; the purpose?
&lt;/div&gt;Hope they can fix this problem completely, then running stable...
&lt;br&gt;&lt;br&gt;&amp;nbsp; -- Andy
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Haskell-Cafe mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26472176&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Haskell-Cafe@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://www.haskell.org/mailman/listinfo/haskell-cafe&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.haskell.org/mailman/listinfo/haskell-cafe&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/What%27s-wrong-with-code.haskell.org---tp26462505p26472176.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26466873</id>
	<title>Re: haskell code from hi</title>
	<published>2009-11-22T08:41:36Z</published>
	<updated>2009-11-22T08:41:36Z</updated>
	<author>
		<name>Ozgur Akgun</name>
	</author>
	<content type="html">I really get the point, and what I should have been doing. Anyways shit happens!&lt;br&gt;&lt;br&gt;Thanks for the answers though.&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;2009/11/22 Svein Ove Aas &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26466873&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;svein.ove@...&lt;/a&gt;&amp;gt;&lt;/span&gt;&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 class=&quot;im&quot;&gt;On Sun, Nov 22, 2009 at 1:04 AM, Uwe Hollerbach &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26466873&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;uhollerbach@...&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;

&amp;gt; Ouch... my condolences, but I think you&amp;#39;re screwed. I think the .hi&lt;br&gt;
&amp;gt; files are purely interface info, and the .o files have all the info on&lt;br&gt;
&amp;gt; what to actually do (and getting to .hs files from .hi+.o is gonna be&lt;br&gt;
&amp;gt; like going from sausage to pig, in any case). If you haven&amp;#39;t messed&lt;br&gt;
&amp;gt; with the disk, I think your best bet might be to try and undelete&lt;br&gt;
&amp;gt; files. That might be as messy as looking at the raw disk image and&lt;br&gt;
&amp;gt; trying to recover disk sectors, or possibly there are still entire&lt;br&gt;
&amp;gt; files there that are just not referenced by directory entries. Either&lt;br&gt;
&amp;gt; (or any) way, it&amp;#39;s a bit chancy...&lt;br&gt;
&amp;gt;&lt;br&gt;
&lt;/div&gt;And this why you always, *always* use a revision-control system or at&lt;br&gt;
least good backups.&lt;br&gt;
&lt;br&gt;
.hi files actually do contain some code, specifically what ghc decides&lt;br&gt;
can be inlined (see ghc --show-iface), but it&amp;#39;s not the sort of code&lt;br&gt;
you&amp;#39;d get any use from. Have a look, you&amp;#39;ll see.&lt;br&gt;
&lt;br&gt;
--&lt;br&gt;
&lt;font color=&quot;#888888&quot;&gt;Svein Ove Aas&lt;br&gt;
&lt;/font&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;br clear=&quot;all&quot;&gt;&lt;br&gt;-- &lt;br&gt;Ozgur Akgun&lt;br&gt;
&lt;br /&gt;_______________________________________________
&lt;br&gt;Haskell-Cafe mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26466873&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Haskell-Cafe@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://www.haskell.org/mailman/listinfo/haskell-cafe&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.haskell.org/mailman/listinfo/haskell-cafe&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/haskell-code-from-hi-tp26461163p26466873.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26466625</id>
	<title>Re: haskell code from hi</title>
	<published>2009-11-22T08:14:26Z</published>
	<updated>2009-11-22T08:14:26Z</updated>
	<author>
		<name>Svein Ove Aas</name>
	</author>
	<content type="html">On Sun, Nov 22, 2009 at 1:04 AM, Uwe Hollerbach &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26466625&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;uhollerbach@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Ouch... my condolences, but I think you're screwed. I think the .hi
&lt;br&gt;&amp;gt; files are purely interface info, and the .o files have all the info on
&lt;br&gt;&amp;gt; what to actually do (and getting to .hs files from .hi+.o is gonna be
&lt;br&gt;&amp;gt; like going from sausage to pig, in any case). If you haven't messed
&lt;br&gt;&amp;gt; with the disk, I think your best bet might be to try and undelete
&lt;br&gt;&amp;gt; files. That might be as messy as looking at the raw disk image and
&lt;br&gt;&amp;gt; trying to recover disk sectors, or possibly there are still entire
&lt;br&gt;&amp;gt; files there that are just not referenced by directory entries. Either
&lt;br&gt;&amp;gt; (or any) way, it's a bit chancy...
&lt;br&gt;&amp;gt;
&lt;/div&gt;And this why you always, *always* use a revision-control system or at
&lt;br&gt;least good backups.
&lt;br&gt;&lt;br&gt;.hi files actually do contain some code, specifically what ghc decides
&lt;br&gt;can be inlined (see ghc --show-iface), but it's not the sort of code
&lt;br&gt;you'd get any use from. Have a look, you'll see.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Svein Ove Aas
&lt;br&gt;_______________________________________________
&lt;br&gt;Haskell-Cafe mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26466625&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Haskell-Cafe@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://www.haskell.org/mailman/listinfo/haskell-cafe&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.haskell.org/mailman/listinfo/haskell-cafe&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/haskell-code-from-hi-tp26461163p26466625.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26466545</id>
	<title>Re: What's wrong with code.haskell.org ?</title>
	<published>2009-11-22T08:05:22Z</published>
	<updated>2009-11-22T08:05:22Z</updated>
	<author>
		<name>Svein Ove Aas</name>
	</author>
	<content type="html">On Sun, Nov 22, 2009 at 4:39 AM, John Millikin &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26466545&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jmillikin@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; code.h.o and community.h.o have rather flaky hosting, and have been
&lt;br&gt;&amp;gt; going down often recently. The only solution seems to be waiting until
&lt;br&gt;&amp;gt; the admins notice.
&lt;br&gt;&amp;gt;
&lt;br&gt;They have hardware problems - dying HDs and such.
&lt;br&gt;&lt;br&gt;IIRC there were plans to replace the problematic hardware, but I don't
&lt;br&gt;know how far that has gotten. Maybe we should have a fundraiser for
&lt;br&gt;the purpose?
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Svein Ove Aas
&lt;br&gt;_______________________________________________
&lt;br&gt;Haskell-Cafe mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26466545&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Haskell-Cafe@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://www.haskell.org/mailman/listinfo/haskell-cafe&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.haskell.org/mailman/listinfo/haskell-cafe&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/What%27s-wrong-with-code.haskell.org---tp26462505p26466545.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26464868</id>
	<title>ANN: GPipe-1.1.0 with greatly improved performance</title>
	<published>2009-11-22T04:22:59Z</published>
	<updated>2009-11-22T04:22:59Z</updated>
	<author>
		<name>Tobias Bexelius-2</name>
	</author>
	<content type="html">&lt;html&gt;
&lt;head&gt;

&lt;/head&gt;
&lt;body class='hmmessage'&gt;
Hi,&lt;BR&gt;
&amp;nbsp;&lt;BR&gt;
GPipe 1.1.0 is now available on Hackage. This update includes the following:&lt;BR&gt;
&amp;nbsp;&lt;BR&gt;
* BIG performance increase:&lt;BR&gt;
&amp;nbsp;&lt;BR&gt;
The previous shader cache keys grew exponential in size in relation to the GPipe program. This is now fixed with a completely new shader generator so the cache key sizes&amp;nbsp;are linear relative to the program. In addition, the cache now uses patricia trees instead of an ordinary map, which will be a big performance win in programs with many shaders. In the simple example on &lt;A href=&quot;http://www.haskell.org/haskellwiki/GPipe&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.haskell.org/haskellwiki/GPipe&lt;/A&gt;&amp;nbsp;I got an performance increase of factor 2.7(!), and expect it to be even larger for more complex programs.&lt;BR&gt;
&amp;nbsp;&lt;BR&gt;
&amp;nbsp;&lt;BR&gt;
* Other minor fixes:&lt;BR&gt;
&amp;nbsp;&lt;BR&gt;
Fixed so min, max, abs and sign no longer works on Vertex Int and Fragment Int types, since its not supported in GLSL 1.20.&lt;BR&gt;
&amp;nbsp;&lt;BR&gt;
Reexport of Vec-Boolean instances so you dont need to import that package on its own any more.&lt;BR&gt;
&amp;nbsp;&lt;BR&gt;
Added IfB instances for the associated type Color.&lt;BR&gt;
&amp;nbsp;&lt;BR&gt;
&amp;nbsp;&lt;BR&gt;
Cheers&lt;BR&gt;
Tobias&lt;BR&gt; 		 	   		  &lt;br /&gt;&lt;hr /&gt;Hitta kärleken! Klicka här &lt;a href='http://windows.microsoft.com/shop' target='_new' rel=&quot;nofollow&quot;&gt;Hitta en dator som passar dig!&lt;/a&gt;&lt;/body&gt;
&lt;/html&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;Haskell-Cafe mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26464868&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Haskell-Cafe@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://www.haskell.org/mailman/listinfo/haskell-cafe&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.haskell.org/mailman/listinfo/haskell-cafe&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/ANN%3A-GPipe-1.1.0-with-greatly-improved-performance-tp26464868p26464868.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26463868</id>
	<title>Re: How to understand such a newtype ?</title>
	<published>2009-11-22T01:50:26Z</published>
	<updated>2009-11-22T01:50:26Z</updated>
	<author>
		<name>Cristiano Paris</name>
	</author>
	<content type="html">On Sun, Nov 22, 2009 at 3:47 AM, Felipe Lessa &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26463868&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;felipe.lessa@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; ...
&lt;br&gt;&amp;gt; Well, “ReaderT XConf (StateT XState IO) a” is *the* type :).
&lt;br&gt;&amp;gt; It's a monad that is a Reader of XConf and has a State of XState.
&lt;br&gt;&lt;br&gt;... and also wraps a monad to allow IO access inside the X monad.
&lt;br&gt;&lt;br&gt;Cristiano
&lt;br&gt;_______________________________________________
&lt;br&gt;Haskell-Cafe mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26463868&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Haskell-Cafe@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://www.haskell.org/mailman/listinfo/haskell-cafe&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.haskell.org/mailman/listinfo/haskell-cafe&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/How-to-understand-such-a-newtype---tp26462332p26463868.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26462674</id>
	<title>Re: How to understand such a newtype ?</title>
	<published>2009-11-21T20:03:46Z</published>
	<updated>2009-11-21T21:23:47Z</updated>
	<author>
		<name>zaxis</name>
	</author>
	<content type="html">thanks your quick answer first !
&lt;br&gt;&lt;br&gt;&amp;gt; :m + Control.Monad.Reader
&lt;br&gt;&amp;gt; :t ReaderT
&lt;br&gt;ReaderT :: (r -&amp;gt; m a) -&amp;gt; ReaderT r m a
&lt;br&gt;&lt;br&gt;&amp;gt; :m + Control.Monad.State
&lt;br&gt;&amp;gt; :t StateT
&lt;br&gt;StateT :: (s -&amp;gt; m (a, s)) -&amp;gt; StateT s m a
&lt;br&gt;&lt;br&gt;data XConf = XConf {...}
&lt;br&gt;data XState = XState {...}
&lt;br&gt;&lt;br&gt;Both ReaderT and StateT needs a function as its 1st parameter, then in `ReaderT XConf (StateT XState IO) a`, &amp;nbsp;which parts is the function parameter for ReaderT and StateT respectively ?
&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;Felipe Lessa wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message shrinkable-quote&quot;&gt;On Sat, Nov 21, 2009 at 06:20:40PM -0800, zaxis wrote:
&lt;br&gt;&amp;gt; newtype X a = X (ReaderT XConf (StateT XState IO) a)
&lt;br&gt;&amp;gt; #ifndef __HADDOCK__
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; deriving (Functor, Monad, MonadIO, MonadState XState, MonadReader XConf,
&lt;br&gt;&amp;gt; Typeable)
&lt;br&gt;&amp;gt; #endif
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; In `X (ReaderT XConf (StateT XState IO) a)`, X is a type constructor, how to
&lt;br&gt;&amp;gt; understand `(ReaderT XConf (StateT XState IO) a)` ?
&lt;br&gt;&lt;br&gt;Well, “ReaderT XConf (StateT XState IO) a” is *the* type :).
&lt;br&gt;It's a monad that is a Reader of XConf and has a State of XState.
&lt;br&gt;This means you can use, for example,
&lt;br&gt;&lt;br&gt;&amp;nbsp; ask :: X XConf
&lt;br&gt;&lt;br&gt;and
&lt;br&gt;&lt;br&gt;&amp;nbsp; get :: X XState
&lt;br&gt;&lt;br&gt;&amp;gt; And why use `#ifndef __HADDOCK__` ?
&lt;br&gt;&lt;br&gt;Because Haddock used to have difficulties in processing some
&lt;br&gt;directives, like that “deriving (..., MonadState XState, ...)”
&lt;br&gt;which is part of the GeneralizedNewtypeDeriving extension.
&lt;br&gt;&lt;br&gt;HTH,
&lt;br&gt;&lt;br&gt;--
&lt;br&gt;Felipe.
&lt;br&gt;_______________________________________________
&lt;br&gt;Haskell-Cafe mailing list
&lt;br&gt;Haskell-Cafe@haskell.org
&lt;br&gt;&lt;a href=&quot;http://www.haskell.org/mailman/listinfo/haskell-cafe&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.haskell.org/mailman/listinfo/haskell-cafe&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
&lt;div class=&quot;signature&quot;&gt;fac n = foldr (*) 1 [1..n]&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/How-to-understand-such-a-newtype---tp26462332p26462674.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26462603</id>
	<title>Re: What's wrong with code.haskell.org ?</title>
	<published>2009-11-21T19:39:08Z</published>
	<updated>2009-11-21T19:39:08Z</updated>
	<author>
		<name>jmillikin</name>
	</author>
	<content type="html">code.h.o and community.h.o have rather flaky hosting, and have been
&lt;br&gt;going down often recently. The only solution seems to be waiting until
&lt;br&gt;the admins notice.
&lt;br&gt;&lt;br&gt;On Sat, Nov 21, 2009 at 18:31, Andy Stewart &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26462603&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lazycat.manatee@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi all,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I can't use `darcs get --partial &lt;a href=&quot;http://code.haskell.org/gtk2hs/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://code.haskell.org/gtk2hs/&lt;/a&gt;` to get
&lt;br&gt;&amp;gt; source code, and can't push patch.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; What's wrong with code.haskell.org?
&lt;br&gt;&amp;gt; Rest for weekend? :)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;  -- Andy
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; Haskell-Cafe mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26462603&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Haskell-Cafe@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.haskell.org/mailman/listinfo/haskell-cafe&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.haskell.org/mailman/listinfo/haskell-cafe&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;/div&gt;_______________________________________________
&lt;br&gt;Haskell-Cafe mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26462603&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Haskell-Cafe@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://www.haskell.org/mailman/listinfo/haskell-cafe&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.haskell.org/mailman/listinfo/haskell-cafe&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/What%27s-wrong-with-code.haskell.org---tp26462505p26462603.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26462432</id>
	<title>Re: How to understand such a newtype ?</title>
	<published>2009-11-21T18:47:10Z</published>
	<updated>2009-11-21T18:47:10Z</updated>
	<author>
		<name>Felipe Lessa</name>
	</author>
	<content type="html">On Sat, Nov 21, 2009 at 06:20:40PM -0800, zaxis wrote:
&lt;br&gt;&amp;gt; newtype X a = X (ReaderT XConf (StateT XState IO) a)
&lt;br&gt;&amp;gt; #ifndef __HADDOCK__
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; deriving (Functor, Monad, MonadIO, MonadState XState, MonadReader XConf,
&lt;br&gt;&amp;gt; Typeable)
&lt;br&gt;&amp;gt; #endif
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; In `X (ReaderT XConf (StateT XState IO) a)`, X is a type constructor, how to
&lt;br&gt;&amp;gt; understand `(ReaderT XConf (StateT XState IO) a)` ?
&lt;br&gt;&lt;br&gt;Well, “ReaderT XConf (StateT XState IO) a” is *the* type :).
&lt;br&gt;It's a monad that is a Reader of XConf and has a State of XState.
&lt;br&gt;This means you can use, for example,
&lt;br&gt;&lt;br&gt;&amp;nbsp; ask :: X XConf
&lt;br&gt;&lt;br&gt;and
&lt;br&gt;&lt;br&gt;&amp;nbsp; get :: X XState
&lt;br&gt;&lt;br&gt;&amp;gt; And why use `#ifndef __HADDOCK__` ?
&lt;br&gt;&lt;br&gt;Because Haddock used to have difficulties in processing some
&lt;br&gt;directives, like that “deriving (..., MonadState XState, ...)”
&lt;br&gt;which is part of the GeneralizedNewtypeDeriving extension.
&lt;br&gt;&lt;br&gt;HTH,
&lt;br&gt;&lt;br&gt;--
&lt;br&gt;Felipe.
&lt;br&gt;_______________________________________________
&lt;br&gt;Haskell-Cafe mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26462432&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Haskell-Cafe@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://www.haskell.org/mailman/listinfo/haskell-cafe&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.haskell.org/mailman/listinfo/haskell-cafe&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/How-to-understand-such-a-newtype---tp26462332p26462432.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26462505</id>
	<title>What's wrong with code.haskell.org ?</title>
	<published>2009-11-21T18:31:02Z</published>
	<updated>2009-11-21T18:31:02Z</updated>
	<author>
		<name>Andy Stewart-5</name>
	</author>
	<content type="html">Hi all,
&lt;br&gt;&lt;br&gt;I can't use `darcs get --partial &lt;a href=&quot;http://code.haskell.org/gtk2hs/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://code.haskell.org/gtk2hs/&lt;/a&gt;` to get
&lt;br&gt;source code, and can't push patch.
&lt;br&gt;&lt;br&gt;What's wrong with code.haskell.org? 
&lt;br&gt;Rest for weekend? :)
&lt;br&gt;&lt;br&gt;&amp;nbsp; -- Andy
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Haskell-Cafe mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26462505&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Haskell-Cafe@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://www.haskell.org/mailman/listinfo/haskell-cafe&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.haskell.org/mailman/listinfo/haskell-cafe&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/What%27s-wrong-with-code.haskell.org---tp26462505p26462505.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26462332</id>
	<title>How to understand such a newtype ?</title>
	<published>2009-11-21T18:20:38Z</published>
	<updated>2009-11-21T18:20:38Z</updated>
	<author>
		<name>zaxis</name>
	</author>
	<content type="html">newtype X a = X (ReaderT XConf (StateT XState IO) a)
&lt;br&gt;#ifndef __HADDOCK__
&lt;br&gt;&amp;nbsp; &amp;nbsp; deriving (Functor, Monad, MonadIO, MonadState XState, MonadReader XConf, Typeable)
&lt;br&gt;#endif
&lt;br&gt;&lt;br&gt;In `X (ReaderT XConf (StateT XState IO) a)`, X is a type constructor, how to understand `(ReaderT XConf (StateT XState IO) a)` ? &amp;nbsp;And why use `#ifndef __HADDOCK__` ?
&lt;br&gt;&lt;br&gt;Sincerely!&lt;div class=&quot;signature&quot;&gt;fac n = foldr (*) 1 [1..n]&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/How-to-understand-such-a-newtype---tp26462332p26462332.html" />
</entry>

</feed>
