<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:syn="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/">
  <channel about="http://permalink.gmane.org/gmane.comp.lang.haskell.cafe">
    <title>gmane.comp.lang.haskell.cafe</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.haskell.cafe</link>
    <description/>
    <syn:updatePeriod>hourly</syn:updatePeriod>
    <syn:updateFrequency>1</syn:updateFrequency>
    <syn:updateBase>1901-01-01T00:00+00:00</syn:updateBase>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.haskell.cafe/45916"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.haskell.cafe/45915"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.haskell.cafe/45914"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.haskell.cafe/45913"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.haskell.cafe/45912"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.haskell.cafe/45911"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.haskell.cafe/45910"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.haskell.cafe/45909"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.haskell.cafe/45908"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.haskell.cafe/45907"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.haskell.cafe/45906"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.haskell.cafe/45905"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.haskell.cafe/45904"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.haskell.cafe/45903"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.haskell.cafe/45902"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.haskell.cafe/45901"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.haskell.cafe/45900"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.haskell.cafe/45899"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.haskell.cafe/45898"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.haskell.cafe/45897"/>
      </rdf:Seq>
    </items>
    <image rdf:resource="http://gmane.org/img/gmane-25t.png"/>
    <textinput rdf:resource=""/>
  </channel>
  <image rdf:about="http://gmane.org/img/gmane-25t.png">
    <title>Gmane</title>
    <url>http://gmane.org/img/gmane-25t.png</url>
    <link>http://gmane.org</link>
  </image>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.haskell.cafe/45916">
    <title>Re: Model-driven development (was: Haskellparticipting in big science like CERN Hadrian...)</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.haskell.cafe/45916</link>
    <description>2008/10/4 Jason Dagit &lt;dagit&lt; at &gt;codersbase.com&gt;:


An option is to generate python via an edsl, and use the object
oriented trick of overriding the generated code in a separate file.
I've done that fairly successfully when generating java from a ruby
edsl and some templates, for example.

martin
</description>
    <dc:creator>Martin DeMello</dc:creator>
    <dc:date>2008-10-07T06:37:20</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.haskell.cafe/45915">
    <title>Re: newbie questions (read, etc.,with Data.ByteString.Lazy.Char8)</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.haskell.cafe/45915</link>
    <description>_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe&lt; at &gt;haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
</description>
    <dc:creator>wman</dc:creator>
    <dc:date>2008-10-07T06:34:05</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.haskell.cafe/45914">
    <title>Re: I'll do USB in Haskell - tips?</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.haskell.cafe/45914</link>
    <description>
Have a look at libusb version 1.0 API. It looks pretty promising:

http://libusb.wiki.sourceforge.net/Libusb1.0

All best

Christopher Skrzętnicki
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe&lt; at &gt;haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
</description>
    <dc:creator>Krzysztof Skrzętnicki</dc:creator>
    <dc:date>2008-10-07T04:52:44</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.haskell.cafe/45913">
    <title>Re: newbie questions (read, etc.,with Data.ByteString.Lazy.Char8)</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.haskell.cafe/45913</link>
    <description>666wman:

Oh, that's interesting. Did they actually recompile? (you used
-fforce-recomp). Otherwise, might be an idea to use hpaste.org to paste
teh Main1,2,3 source code, since I think people reading don't know what
is represented in each program at this point.

</description>
    <dc:creator>Don Stewart</dc:creator>
    <dc:date>2008-10-07T04:50:35</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.haskell.cafe/45912">
    <title>Re: newbie questions (read, etc.,with Data.ByteString.Lazy.Char8)</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.haskell.cafe/45912</link>
    <description>_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe&lt; at &gt;haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
</description>
    <dc:creator>wman</dc:creator>
    <dc:date>2008-10-07T04:44:48</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.haskell.cafe/45911">
    <title>Re: newbie questions (read, etc.,with Data.ByteString.Lazy.Char8)</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.haskell.cafe/45911</link>
    <description>666wman:

Note that without -O or -O2 no strictness analysis is performed. So that
tail recursive loop ... won't be. You could try -Onot -fstrictness just
for kicks, to see why strictness analysis is important when writing in a
tail recursive style.

</description>
    <dc:creator>Don Stewart</dc:creator>
    <dc:date>2008-10-07T04:27:52</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.haskell.cafe/45910">
    <title>Re: newbie questions (read, etc.,with Data.ByteString.Lazy.Char8)</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.haskell.cafe/45910</link>
    <description>
That did the trick--thanks.

For input large enough to be a good test, this is I/O-bound on my
laptop (the speed of the compiled and interpreted versions are almost
identical), so I'll have to try it on a bigger machine tomorrow.

Mike
</description>
    <dc:creator>Mike Coleman</dc:creator>
    <dc:date>2008-10-07T04:17:01</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.haskell.cafe/45909">
    <title>Re: Name for Haskell based VPN Client/Server</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.haskell.cafe/45909</link>
    <description>_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe&lt; at &gt;haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
</description>
    <dc:creator>John Van Enk</dc:creator>
    <dc:date>2008-10-07T04:02:48</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.haskell.cafe/45908">
    <title>Re: newbie questions (read, etc.,with Data.ByteString.Lazy.Char8)</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.haskell.cafe/45908</link>
    <description>_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe&lt; at &gt;haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
</description>
    <dc:creator>Brandon S. Allbery KF8NH</dc:creator>
    <dc:date>2008-10-07T03:59:06</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.haskell.cafe/45907">
    <title>Re: newbie questions (read, etc.,with Data.ByteString.Lazy.Char8)</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.haskell.cafe/45907</link>
    <description>_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe&lt; at &gt;haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
</description>
    <dc:creator>wman</dc:creator>
    <dc:date>2008-10-07T03:54:44</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.haskell.cafe/45906">
    <title>Re: newbie questions (read, etc.,with Data.ByteString.Lazy.Char8)</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.haskell.cafe/45906</link>
    <description>_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe&lt; at &gt;haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
</description>
    <dc:creator>wman</dc:creator>
    <dc:date>2008-10-07T03:36:22</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.haskell.cafe/45905">
    <title>Re: After upgrade bytestring to 0.9.1.3,my program cannot run.</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.haskell.cafe/45905</link>
    <description>magicloud.magiclouds:

This likely means your program is using some package A, that has been
compiled against (and loading) old bytestring, but also loading the new
bytestring.

The solution is to recompile whatever your library 'A' is that is trying
to use the old bytestring.

Or try compiling it , with ghc --make

</description>
    <dc:creator>Don Stewart</dc:creator>
    <dc:date>2008-10-07T03:21:27</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.haskell.cafe/45904">
    <title>Re: newbie questions (read, etc.,with Data.ByteString.Lazy.Char8)</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.haskell.cafe/45904</link>
    <description>tutufan:

Oh wow, runghc is an interpreter. It is on average about 30x slower than
compiled code.

To compile, try something like:

    ghc -O2 --make A.hs

And enjoy the native codes. :)

</description>
    <dc:creator>Don Stewart</dc:creator>
    <dc:date>2008-10-07T03:19:58</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.haskell.cafe/45903">
    <title>Re: newbie questions (read, etc.,with Data.ByteString.Lazy.Char8)</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.haskell.cafe/45903</link>
    <description>Hmm. How are you compiling it? Using bytestring 0.9.1.x ?

Should be fast,
    http://shootout.alioth.debian.org/gp4/benchmark.php?test=sumcol&amp;lang=all

Assuming you're turning on optimisations ( ghc -O2 )

</description>
    <dc:creator>Don Stewart</dc:creator>
    <dc:date>2008-10-07T03:19:15</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.haskell.cafe/45902">
    <title>Re: newbie questions (read, etc.,with Data.ByteString.Lazy.Char8)</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.haskell.cafe/45902</link>
    <description>_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe&lt; at &gt;haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
</description>
    <dc:creator>wman</dc:creator>
    <dc:date>2008-10-07T03:17:45</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.haskell.cafe/45901">
    <title>After upgrade bytestring to 0.9.1.3,my program cannot run.</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.haskell.cafe/45901</link>
    <description>Just a simple text process program. When I runhaskell it. I got:

GHCi runtime linker: fatal error: I found a duplicate definition for symbol
   fps_minimum
whilst processing object file
   ~/.cabal/lib/bytestring-0.9.1.3/ghc-6.8.3/HSbytestring-0.9.1.3.o
This could be caused by:
   * Loading two different object files which export the same symbol
   * Specifying the same object file twice on the GHCi command line
   * An incorrect `package.conf' entry, causing some object to be
     loaded twice.
GHCi cannot safely continue in this situation.  Exiting now.  Sorry.
</description>
    <dc:creator>Magicloud</dc:creator>
    <dc:date>2008-10-07T03:16:54</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.haskell.cafe/45900">
    <title>Re: newbie questions (read, etc.,with Data.ByteString.Lazy.Char8)</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.haskell.cafe/45900</link>
    <description>Thanks for your replies.  Hoogle is pretty cool--I didn't know about that.

I ended up with this, which is pretty close to the original (it will
also bomb if given non-integer input):

import qualified Data.ByteString.Lazy.Char8 as L
import qualified Data.Maybe as M

main = do
         contents &lt;- L.getContents
         print (sumFile contents)
             where sumFile = sum . map (fst . M.fromJust . L.readInt) . L.words


One further problem I've encountered: My Haskell program runs under
'runghc', but I get a link error when compiling it (GHC 6.8.2, latest
Ubuntu).  Any suggestions?

$ ghc -o LazySumFile LazySumFile.hs
LazySumFile.o: In function `sOz_info':
(.text+0x200): undefined reference to
`bytestringzm0zi9zi0zi1_DataziByteStringziLazzyziChar8_readInt_closure'
LazySumFile.o: In function `sOF_info':
(.text+0x35d): undefined reference to
`bytestringzm0zi9zi0zi1_DataziByteStringziLazzyziChar8_words_closure'
LazySumFile.o: In function `sRF_info':
(.text+0x4d7): undefined reference to
`bytestringzm0zi9zi</description>
    <dc:creator>Mike Coleman</dc:creator>
    <dc:date>2008-10-07T03:14:00</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.haskell.cafe/45899">
    <title>Re: newbie questions (read, etc.,with Data.ByteString.Lazy.Char8)</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.haskell.cafe/45899</link>
    <description>666wman:

Never unpack a bytestring.

    import qualified Data.ByteString.Lazy.Char8 as S

    main = print . go 0 =&lt;&lt; S.getContents
      where
        go n s = case S.readInt s of
                        Nothing     -&gt; n
                        Just (k,t)  -&gt; go (n+k) (S.tail t)

Assuming you're reading int, integers or doubles.
</description>
    <dc:creator>Don Stewart</dc:creator>
    <dc:date>2008-10-07T03:12:23</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.haskell.cafe/45898">
    <title>Re: newbie questions (read, etc.,with Data.ByteString.Lazy.Char8)</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.haskell.cafe/45898</link>
    <description>_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe&lt; at &gt;haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
</description>
    <dc:creator>wman</dc:creator>
    <dc:date>2008-10-07T03:07:58</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.haskell.cafe/45897">
    <title>Re: Name for Haskell based VPN Client/Server</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.haskell.cafe/45897</link>
    <description>_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe&lt; at &gt;haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
</description>
    <dc:creator>Gwern Branwen</dc:creator>
    <dc:date>2008-10-07T02:22:21</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.haskell.cafe/45896">
    <title>Re: newbie questions (read, etc.,with Data.ByteString.Lazy.Char8)</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.haskell.cafe/45896</link>
    <description>Am Dienstag, 7. Oktober 2008 04:21 schrieb Jason Dagit:

Since readInt returns a Maybe (Int,ByteString), Data.List.unfoldr would be a 
better fit for his needs.

The bytestring-lexing package 
(http://hackage.haskell.org/packages/archive/bytestring-lexing/0.1.2/doc/html/Data-ByteString-Lex-Double.html) 
provides readDouble, which is also pretty fast, I think.


At least parsec 3.0.0 has ByteString parsing modules (I've never used it, so I 
don't know how well they work).
IIRC, there's a plan to expand the bytestring-lexing package, too.


More's underway, readDouble already delivered.

partially.
</description>
    <dc:creator>Daniel Fischer</dc:creator>
    <dc:date>2008-10-07T02:35:15</dc:date>
  </item>
  <textinput about="http://search.gmane.org/?group=$group=gmane.comp.lang.haskell.cafe">
    <title>Search Engine</title>
    <description>Search the mailing list at Gmane</description>
    <name>query</name>
    <link>http://search.gmane.org/?group=$group=gmane.comp.lang.haskell.cafe</link>
  </textinput>
</rdf:RDF>
