<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <id>http://groups.google.com.ua/group/comp.lang.haskell</id>
  <title type="text">comp.lang.haskell Google Group</title>
  <subtitle type="text">
  </subtitle>
  <link href="/group/comp.lang.haskell/feed/atom_v1_0_msgs.xml" rel="self" title="comp.lang.haskell feed"/>
  <updated>2008-11-18T22:33:52Z</updated>
  <generator uri="http://groups.google.com.ua" version="1.99">Google Groups</generator>
  <entry>
  <author>
  <name>Kai Sjöholm</name>
  <email>kai.sjoh...@freddie.com</email>
  </author>
  <updated>2008-11-18T22:33:52Z</updated>
  <id>http://groups.google.com.ua/group/comp.lang.haskell/browse_thread/thread/aae1abad32b47ce9/4aae53f11fb2128b?show_docid=4aae53f11fb2128b</id>
  <link href="http://groups.google.com.ua/group/comp.lang.haskell/browse_thread/thread/aae1abad32b47ce9/4aae53f11fb2128b?show_docid=4aae53f11fb2128b"/>
  <title type="text">Re: 2.0TDI DSG Octavian kulutus</title>
  <summary type="html" xml:space="preserve">
  Kun heinäluoma otti 2008 vapun keskusteluaseekseen Suomen NATO-jäsenyyden ja &lt;br&gt; lupaili, ettei kansamme ole sinne pakko mennä, jossei sitä kaipaa, on &lt;br&gt; kyseessä tietysti demokratian peruselementti. Vaan miksei Heinäluoma &lt;br&gt; samantien vaatinut asiasta kansanäänestystä myös? &lt;br&gt; Olisi jäänyt sitten jatkon Häkämiehen panikoinnit ja vaatimukset koko
  </summary>
  </entry>
  <entry>
  <author>
  <name>jon.gallagher.04</name>
  <email>jon.gallagher...@gmail.com</email>
  </author>
  <updated>2008-11-18T05:58:22Z</updated>
  <id>http://groups.google.com.ua/group/comp.lang.haskell/browse_thread/thread/706082a83f5fbcec/c88a150856b9cc27?show_docid=c88a150856b9cc27</id>
  <link href="http://groups.google.com.ua/group/comp.lang.haskell/browse_thread/thread/706082a83f5fbcec/c88a150856b9cc27?show_docid=c88a150856b9cc27"/>
  <title type="text">Re: help with deriving</title>
  <summary type="html" xml:space="preserve">
  Thanks that does help. I have seen this before too, and never knew &lt;br&gt; exactly what to do. &lt;br&gt; On the other hand... I removed the library, and edited the file, that &lt;br&gt; points to the real WordNet, and rebuilt it. Then the library builds &lt;br&gt; and install fine. Now, I have a new problem: I make a file called &lt;br&gt; test.hs and all that I do is import the library using
  </summary>
  </entry>
  <entry>
  <author>
  <name>Dan Doel</name>
  <email>dan.d...@gmail.com</email>
  </author>
  <updated>2008-11-18T05:26:31Z</updated>
  <id>http://groups.google.com.ua/group/comp.lang.haskell/browse_thread/thread/706082a83f5fbcec/b5f0bad9500d7361?show_docid=b5f0bad9500d7361</id>
  <link href="http://groups.google.com.ua/group/comp.lang.haskell/browse_thread/thread/706082a83f5fbcec/b5f0bad9500d7361?show_docid=b5f0bad9500d7361"/>
  <title type="text">Re: help with deriving</title>
  <summary type="html" xml:space="preserve">
  -XDeriveDataTypeable is a flag you can pass when compiling to enable the &lt;br&gt; extension. &lt;br&gt; You can also put such flags at the top of a file, with: &lt;br&gt; {-# OPTIONS_GHC -XDeriveDataTypeable #-} &lt;br&gt; Along with other options. Or, preferably, when the option is for a language &lt;br&gt; extension as is the case here, use a LANGUAGE pragma:
  </summary>
  </entry>
  <entry>
  <author>
  <name>jon.gallagher.04</name>
  <email>jon.gallagher...@gmail.com</email>
  </author>
  <updated>2008-11-18T04:23:56Z</updated>
  <id>http://groups.google.com.ua/group/comp.lang.haskell/browse_thread/thread/706082a83f5fbcec/764c3fbb38442305?show_docid=764c3fbb38442305</id>
  <link href="http://groups.google.com.ua/group/comp.lang.haskell/browse_thread/thread/706082a83f5fbcec/764c3fbb38442305?show_docid=764c3fbb38442305"/>
  <title type="text">help with deriving</title>
  <summary type="html" xml:space="preserve">
  Good evening Haskell community! &lt;br&gt; I am having trouble with something and I am not sure exactly what is &lt;br&gt; going on. I have a couple of functions defined in a library that are &lt;br&gt; using Data.Dynamic (Typeable), and I get a compiler flag when I try to &lt;br&gt; run them. The compiler message says&amp;quot; &lt;br&gt; 0: &lt;br&gt; Can&#39;t make a derived instance of `Typeable POS&#39;
  </summary>
  </entry>
  <entry>
  <author>
  <name>Ertugrul Söylemez</name>
  <email>e...@ertes.de</email>
  </author>
  <updated>2008-11-15T23:40:26Z</updated>
  <id>http://groups.google.com.ua/group/comp.lang.haskell/browse_thread/thread/dd5dbbfbf4c404bd/2b5778963b818ff2?show_docid=2b5778963b818ff2</id>
  <link href="http://groups.google.com.ua/group/comp.lang.haskell/browse_thread/thread/dd5dbbfbf4c404bd/2b5778963b818ff2?show_docid=2b5778963b818ff2"/>
  <title type="text">Re: concurrency + state newb question</title>
  <summary type="html" xml:space="preserve">
  Just consider that a stateful computation is just a function. So &lt;br&gt; something of type &#39;State s a&#39; is, by concept, not a value, but instead a &lt;br&gt; function of a state value of type &#39;s&#39;, which results in a result value &lt;br&gt; of type &#39;a&#39; (and an updated state value). In fact, this is really how &lt;br&gt; State monads work. A quick look at the constructor sheds some light
  </summary>
  </entry>
  <entry>
  <author>
  <name>Michael Karcher</name>
  <email>use...@mkarcher.dialup.fu-berlin.de</email>
  </author>
  <updated>2008-11-15T15:20:12Z</updated>
  <id>http://groups.google.com.ua/group/comp.lang.haskell/browse_thread/thread/dd5dbbfbf4c404bd/0aa0fad4214878ce?show_docid=0aa0fad4214878ce</id>
  <link href="http://groups.google.com.ua/group/comp.lang.haskell/browse_thread/thread/dd5dbbfbf4c404bd/0aa0fad4214878ce?show_docid=0aa0fad4214878ce"/>
  <title type="text">Re: concurrency + state newb question</title>
  <summary type="html" xml:space="preserve">
  Your solution is completely correct. Your handleItCore function does not &lt;br&gt; yield an I/O action (i.e. something with a type of IO blah) after passing &lt;br&gt; in the channel argument, but it has the type &amp;quot;StateT ....&amp;quot;. The StateT &lt;br&gt; monad transformer (if it is wrapping the IO monad) is an adapter that &lt;br&gt; can join I/O actions while also tracking a state. To get an I/O action out
  </summary>
  </entry>
  <entry>
  <author>
  <name>raould</name>
  <email>rao...@gmail.com</email>
  </author>
  <updated>2008-11-15T02:09:41Z</updated>
  <id>http://groups.google.com.ua/group/comp.lang.haskell/browse_thread/thread/dd5dbbfbf4c404bd/d2f257acffa0ee35?show_docid=d2f257acffa0ee35</id>
  <link href="http://groups.google.com.ua/group/comp.lang.haskell/browse_thread/thread/dd5dbbfbf4c404bd/d2f257acffa0ee35?show_docid=d2f257acffa0ee35"/>
  <title type="text">Re: concurrency + state newb question</title>
  <summary type="html" xml:space="preserve">
  here is my (hacky?) solution/fix. i&#39;m still very easily confused when &lt;br&gt; it comes to &amp;quot;calling&amp;quot; upon stateful things; &#39;handleIt&#39; is my impedance &lt;br&gt; demismatcher. &lt;br&gt; import IO &lt;br&gt; import Control.Monad.State &lt;br&gt; import Control.Monad.Trans &lt;br&gt; import Control.Concurrent &lt;br&gt; data Cmd = Quit | Echo String &lt;br&gt; handleItCore :: Chan Cmd -&amp;gt; StateT ([String]) IO ()
  </summary>
  </entry>
  <entry>
  <author>
  <name>raould</name>
  <email>rao...@gmail.com</email>
  </author>
  <updated>2008-11-15T01:30:23Z</updated>
  <id>http://groups.google.com.ua/group/comp.lang.haskell/browse_thread/thread/dd5dbbfbf4c404bd/1de7d7b871238b98?show_docid=1de7d7b871238b98</id>
  <link href="http://groups.google.com.ua/group/comp.lang.haskell/browse_thread/thread/dd5dbbfbf4c404bd/1de7d7b871238b98?show_docid=1de7d7b871238b98"/>
  <title type="text">concurrency + state newb question</title>
  <summary type="html" xml:space="preserve">
  how do i fix the &amp;quot;type check fail&amp;quot; line in &#39;test&#39; fn below to properly &lt;br&gt; get &#39;handleIt&#39; going? &lt;br&gt; import IO &lt;br&gt; import Control.Monad.State &lt;br&gt; import Control.Monad.Trans &lt;br&gt; import Control.Concurrent &lt;br&gt; data Cmd = Quit | Echo String &lt;br&gt; handleIt :: Chan Cmd -&amp;gt; StateT ([String]) IO () &lt;br&gt; handleIt cmdChan = do &lt;br&gt; cmd &amp;lt;- liftIO (readChan cmdChan)
  </summary>
  </entry>
  <entry>
  <author>
  <name>raould</name>
  <email>rao...@gmail.com</email>
  </author>
  <updated>2008-11-15T00:43:18Z</updated>
  <id>http://groups.google.com.ua/group/comp.lang.haskell/browse_thread/thread/c56c77c39bdef990/79b80374c97f95ad?show_docid=79b80374c97f95ad</id>
  <link href="http://groups.google.com.ua/group/comp.lang.haskell/browse_thread/thread/c56c77c39bdef990/79b80374c97f95ad?show_docid=79b80374c97f95ad"/>
  <title type="text">vs. erlang, clojure?</title>
  <summary type="html" xml:space="preserve">
  hi, &lt;br&gt; seems like the Control.Concurrent stuff could be used to build either &lt;br&gt; Actors (a la Erlang, Scala) or Agents (a la Clojure). any thoughts on &lt;br&gt; how one might do those? &lt;br&gt; re: Erlang, it seems straight-forward: forkIO off a function that self- &lt;br&gt; calls and/or uses State monad, and that communicates over some Chan.
  </summary>
  </entry>
  <entry>
  <author>
  <name>raould</name>
  <email>rao...@gmail.com</email>
  </author>
  <updated>2008-11-12T22:46:57Z</updated>
  <id>http://groups.google.com.ua/group/comp.lang.haskell/browse_thread/thread/1a757a545e7df85d/df882e789fd54566?show_docid=df882e789fd54566</id>
  <link href="http://groups.google.com.ua/group/comp.lang.haskell/browse_thread/thread/1a757a545e7df85d/df882e789fd54566?show_docid=df882e789fd54566"/>
  <title type="text">Re: monad vs. self-call?</title>
  <summary type="html" xml:space="preserve">
  thanks (to you and others) for the help, it really is starting to sink &lt;br&gt; in to my brain, even if it requires repetition (&lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://tinyurl.com/&quot;&gt;[link]&lt;/a&gt; &lt;br&gt; 65563q) :-}
  </summary>
  </entry>
  <entry>
  <author>
  <name>Ertugrul Söylemez</name>
  <email>e...@ertes.de</email>
  </author>
  <updated>2008-11-12T14:04:29Z</updated>
  <id>http://groups.google.com.ua/group/comp.lang.haskell/browse_thread/thread/1a757a545e7df85d/f9a28514ad17d6d7?show_docid=f9a28514ad17d6d7</id>
  <link href="http://groups.google.com.ua/group/comp.lang.haskell/browse_thread/thread/1a757a545e7df85d/f9a28514ad17d6d7?show_docid=f9a28514ad17d6d7"/>
  <title type="text">Re: monad vs. self-call?</title>
  <summary type="html" xml:space="preserve">
  I think, this is just your personal view, maybe because you have learned &lt;br&gt; Haskell another way or with another background than I have. I use &lt;br&gt; concurrency very heavily, even for very simple things like managing an &lt;br&gt; object database: &lt;br&gt; data DBCommand = Add Key Object | &lt;br&gt; Delete Key | &lt;br&gt; GetObject k (Maybe v -&amp;gt; IO ())
  </summary>
  </entry>
  <entry>
  <author>
  <name>Dirk Thierbach</name>
  <email>dthierb...@usenet.arcornews.de</email>
  </author>
  <updated>2008-11-12T12:30:30Z</updated>
  <id>http://groups.google.com.ua/group/comp.lang.haskell/browse_thread/thread/1a757a545e7df85d/a154580da502fef1?show_docid=a154580da502fef1</id>
  <link href="http://groups.google.com.ua/group/comp.lang.haskell/browse_thread/thread/1a757a545e7df85d/a154580da502fef1?show_docid=a154580da502fef1"/>
  <title type="text">Re: monad vs. self-call?</title>
  <summary type="html" xml:space="preserve">
  Yes. Most programming languages are Turing complete, so all those &lt;br&gt; languages can emulate each other. &lt;br&gt; The key word is *natural*. In Erlang, it&#39;s natural to have lots of &lt;br&gt; little processes that represent a very fine grained partitioning of &lt;br&gt; the whole state. One can imitate that in Haskell, but (at least to me)
  </summary>
  </entry>
  <entry>
  <author>
  <name>Mark T.B. Carroll</name>
  <email>mark.carr...@aetion.com</email>
  </author>
  <updated>2008-11-12T01:08:08Z</updated>
  <id>http://groups.google.com.ua/group/comp.lang.haskell/browse_thread/thread/5772d45def368440/f113b7c77e67120f?show_docid=f113b7c77e67120f</id>
  <link href="http://groups.google.com.ua/group/comp.lang.haskell/browse_thread/thread/5772d45def368440/f113b7c77e67120f?show_docid=f113b7c77e67120f"/>
  <title type="text">Re: Powerset question</title>
  <summary type="html" xml:space="preserve">
  Wow, that is interesting - thank you for the pointer. I should get over &lt;br&gt; being repeatedly intimidated by others&#39; cleverness and make a habit of &lt;br&gt; catching up with the Monad Readers I&#39;ve missed as they always seem to &lt;br&gt; teach me new things. &lt;br&gt; Mark
  </summary>
  </entry>
  <entry>
  <author>
  <name>Mark T.B. Carroll</name>
  <email>mark.carr...@aetion.com</email>
  </author>
  <updated>2008-11-12T00:53:14Z</updated>
  <id>http://groups.google.com.ua/group/comp.lang.haskell/browse_thread/thread/5772d45def368440/fe2291bb136eaaa3?show_docid=fe2291bb136eaaa3</id>
  <link href="http://groups.google.com.ua/group/comp.lang.haskell/browse_thread/thread/5772d45def368440/fe2291bb136eaaa3?show_docid=fe2291bb136eaaa3"/>
  <title type="text">Re: Powerset question</title>
  <summary type="html" xml:space="preserve">
  That&#39;s a really neat approach: I hadn&#39;t thought of that. I wonder if I &lt;br&gt; will find it applies to something else I end up doing someday. &lt;br&gt; Unfortunately, the sorting approach rather decreases the laziness of the &lt;br&gt; thing, at least if I try judging by the take n $ map (take n) $ .... &lt;br&gt; sort of test. &lt;br&gt; Mark
  </summary>
  </entry>
  <entry>
  <author>
  <name>Ertugrul Söylemez</name>
  <email>e...@ertes.de</email>
  </author>
  <updated>2008-11-11T23:09:25Z</updated>
  <id>http://groups.google.com.ua/group/comp.lang.haskell/browse_thread/thread/1a757a545e7df85d/569afabd2b99a5ab?show_docid=569afabd2b99a5ab</id>
  <link href="http://groups.google.com.ua/group/comp.lang.haskell/browse_thread/thread/1a757a545e7df85d/569afabd2b99a5ab?show_docid=569afabd2b99a5ab"/>
  <title type="text">Re: monad vs. self-call?</title>
  <summary type="html" xml:space="preserve">
  Likely I&#39;m misunderstanding you. =) It seems an Erlang process is &lt;br&gt; something different from a Haskell thread. I don&#39;t know Erlang too &lt;br&gt; well. &lt;br&gt; On the other hand, many features and concepts that are primitive in &lt;br&gt; other languages (i.e. language or RTS features) are library &lt;br&gt; functionalities in Haskell, so in fact you could say about almost
  </summary>
  </entry>
</feed>
