Re: [Haskell-cafe] Re: Libraries for Commercial Users

2009-10-08 Thread Don Stewart
The IHG (http://industry.haskell.org/) has funded about 6 months worth of development so far. You can see the status report here: http://industry.haskell.org/status Dynamic libraries, GMP-less GHC, and efficient Cabal, all appearing in the GHC 6.12. The IHG is designed as a mechanism whereby

Re: [Haskell-cafe] Re: Libraries for Commercial Users

2009-10-08 Thread Don Stewart
john: > * Haskell interfaces to Twitter, Facebook, MySpace, Google, etc. This one is fine: twitter hs-twitter library: Haskell binding to the Twitter API del.icio.us delicious library: Accessing the del.icio.us APIs from Haskell (v2) friendfeed ffeed library and

Re: [Haskell-cafe] Libraries for Commercial Users

2009-10-07 Thread Don Stewart
mle+hs: > Curt Sampson wrote: > > > On 2009-10-02 09:03 -0600 (Fri), John A. De Goes wrote: > > > > > [Haskell] is missing many key libraries that would be of great > > > commercial value. > > > > Just out of curiousity, can you give me some examples of what you feel > > these are? > > A versio

Re: [Haskell-cafe] What *is* a DSL?

2009-10-07 Thread Don Stewart
dpiponi: > 2009/10/7 Joe Fredette : > > Let me add to this, as I've used the term "DSL" without (*gasp*) fully > > understanding it before. > > > > In addition to "What is a DSL", I'd like to ask: > > > > "How is a DSL different from an API?" > > I don't think there is a sharp divide here. A nice

Re: [Haskell-cafe] Re: Finally tagless - stuck with implementation of?"lam"

2009-10-05 Thread Don Stewart
ccshan: > class HOAS repr arrow int where > > lam :: (repr a -> repr b) -> repr (arrow a b) > app :: repr (arrow a b) -> repr a -> repr b > fix :: (repr a -> repr a) -> repr a > let_ :: repr a -> (repr a -> repr b) -> repr b > > int :: int -> repr int > add :: repr int -

Re: [Haskell-cafe] System.Random.Mersenne - no randomR variants

2009-10-05 Thread Don Stewart
p.f.moore: > I notice that System.Random.Mersenne has no randomR variants. Is there > a reason for this, or is it just an oversight? It makes porting code > from System.Random a little more complicated than it needs to be. I > know it's possible to write a function mapping a Double (or other > valu

Re: Fwd: [Haskell-cafe] Haskell for Physicists

2009-10-03 Thread Don Stewart
dons: > And note we are pushing precisely on the use of DSLs in or on Haskell > for *portability* of the domain-scientists code in a number of areas > right now: > > * data parallel algorithms (targetting cpu , gpu) > Accelerate: > http://hackage.haskell.org/package/acceler

Re: Fwd: [Haskell-cafe] Haskell for Physicists

2009-10-03 Thread Don Stewart
And note we are pushing precisely on the use of DSLs in or on Haskell for *portability* of the domain-scientists code in a number of areas right now: * data parallel algorithms (targetting cpu , gpu) Accelerate: http://hackage.haskell.org/package/accelerate-0.6.0.0

Re: [Haskell-cafe] Alex problem, help needed!!!!!!!!! ASAP :)

2009-10-03 Thread Don Stewart
del_31416no: > Dear list, > > I am trying to make a compiler and we are having a hard time getting Alex to > work. We have succeded to work out Alex using older version, but with the the > 2.2 version we keep getting this error and we havent been able to figure it > out. > > So this is our toke

Re: [Haskell-cafe] Fwd: frag game-compiling error

2009-09-30 Thread Don Stewart
gwern0: > On Mon, Sep 28, 2009 at 11:36 AM, selahaddin > wrote: > > > > > > > > Lyndon Maydwell wrote: > >> > >>> src/Quaternion.hs:22:27 > >> > >> This would probably be the place to start. > >> > > > > Ok,I managed to get past the error like this: > > > > newMatrix ColumnMajor [realToFrac r00,re

Re: [Haskell-cafe] Cal, Clojure, Groovy, Haskell, OCaml, etc.

2009-09-29 Thread Don Stewart
korpios: > On Tue, Sep 29, 2009 at 3:16 PM, Don Stewart wrote: > > korpios: > >> wiki — but I still find the array of libraries confusing (just what > >> comes with GHC — I'm not even talking about Hackage here), since the > > > > What comes

Re: [Haskell-cafe] Cal, Clojure, Groovy, Haskell, OCaml, etc.

2009-09-29 Thread Don Stewart
korpios: > On Mon, Sep 28, 2009 at 9:50 PM, Hong Yang wrote: > > Good libraries are not enough for a language to go beyond mere existence. > > There must exist good documents, i.e., good tutorials, good books, and good > > explanations and examples in the libraries, etc, that are easy for people t

Re: [Haskell-cafe] Cal, Clojure, Groovy, Haskell, OCaml, etc.

2009-09-28 Thread Don Stewart
brad.larsen: > On Mon, Sep 28, 2009 at 11:11 PM, Hong Yang wrote: > [...] > > Maybe later on we can add an Example section to Description, Synopsis, and > > Documentation sections produced by Haddock. > > > > Also, having a section for comments is helpful. This is the case especially > > when ther

Re: [Haskell-cafe] unicode text libraries

2009-09-28 Thread Don Stewart
tittoassini: > 2009/9/28 Don Stewart : > > titto: > >> Hi, > >> > >> I am looking for an unicode strings  library, I found on hackage: > >> > >> http://hackage.haskell.org/package/compact-string > >> > >> http://hackage.

Re: [Haskell-cafe] unicode text libraries

2009-09-28 Thread Don Stewart
titto: > Hi, > > I am looking for an unicode strings library, I found on hackage: > > http://hackage.haskell.org/package/compact-string > > http://hackage.haskell.org/package/text > > They both look solid and functionally complete so ... I don't know which > one to use :-) > > As I am sure I

Re: [Haskell-cafe] Processing EXIF data with Haskell

2009-09-27 Thread Don Stewart
colin: > I'm writing web software for a photograph gallery. I want to be able > to display selective fields from the EXIF data. I thought I would be > able to use the GD and exif libraries from Hackage to do > this. However: > > Calling Graphics.GD.loadJpegByteString followed by > Graphics.GD.save

Re: [Haskell-cafe] Hurray! I hit my 1st true lazy IO problem

2009-09-27 Thread Don Stewart
gue.schmidt: > and now I'll really have to figure out Iteratee / Enumerator to solve it. > > Can I call myself a Haskeller now? > > Günther. > > > PS: The problem domain is crawling over a website. > Can you just use strict IO? -- Don ___ Haskell-Cafe m

Re: [Haskell-cafe] mapping large structures into memory

2009-09-25 Thread Don Stewart
warrensomebody: > > On Sep 25, 2009, at 12:14 PM, Don Stewart wrote: > >> >> It is entirely possible to use mmap to map structures into memory. >> Thanks to the foreign function interface, there are well-defined >> semantics for calling to and from C. >> >

Re: [Haskell-cafe] mapping large structures into memory

2009-09-25 Thread Don Stewart
warrensomebody: > I've dabbled in haskell, but am by no means an expert. I was hoping > someone here could help me settle this debate so that we can more > seriously consider haskell for a next version of an application we're > building > > I would like to understand better what its capab

Re: [Haskell-cafe] FFMpeg, SDL and Haskell

2009-09-23 Thread Don Stewart
vasyl.pasternak: > Hi all, > > Last few days I was playing with FFI, FFMpeg and Haskell. Currently I am > trying > to make this tutorial http://www.dranger.com/ffmpeg/ on Haskell. Now I have > done tutorial 01 and tutorial 02 (show video stream in SDL window). > > The third tutorial is about aud

Re: [Haskell-cafe] Building com-1.2.3

2009-09-21 Thread Don Stewart
andrewcoppin: > Don Stewart wrote: >> andrewcoppin: >> >>> Andrew Coppin wrote: >>> >>>> C:\com-1.2.3>runhaskell Setup configure >>>> Configuring com-1.2.3... >>>> Setup: Missing dependencies on foreign librari

Re: [Haskell-cafe] Building com-1.2.3

2009-09-21 Thread Don Stewart
andrewcoppin: > Andrew Coppin wrote: >> C:\com-1.2.3>runhaskell Setup configure >> Configuring com-1.2.3... >> Setup: Missing dependencies on foreign libraries: >> * Missing header file: include/WideStringSrc.h >> * Missing C libraries: kernel32, user32, ole32, oleaut32, advapi32 >> >> Any hints? >

Re: [Haskell-cafe] Cabal packages -> cabbages

2009-09-20 Thread Don Stewart
jeff: > On Sun, Sep 20, 2009 at 5:20 PM, Joe Fredette wrote: > > > The Cabbage Patch? > > 'Patch' is pretty well defined, so using it here seems somewhat > awkward and confused to me. > > Plus, I don't think we really want to sound childish, and the first > thing I think of is the cabbage patch

Re: [Haskell-cafe] GHC will not let me install

2009-09-20 Thread Don Stewart
jmstephens: > I am trying to install Xmonad on my Mac. I download GHC installer for mac the > .dmg from Haskell.org and when I install it gets stuck here > [img]http://www.jmstephens.99k.org/picture.png[/img] As you can see the > install > button is grey and will not let me click it. Are you run

Re: [Haskell-cafe] first the platform, the cabal

2009-09-20 Thread Don Stewart
veger: > I just installed the Haskell Platform 2009.2.0.2 on Windows. > > There is no cabal.exe, only Cabal-1.6.0.3 > > How to continue: build cabal? > > Then what to download from where and what to execute? > > It does come with the cabal executable. Maybe it isn't in your path? -- Don ___

Re: [Haskell-cafe] [ANN] histogram-fill, library for creating hitograms

2009-09-20 Thread Don Stewart
alexey.skladnoy: > Hello. > > I'm glad to announce library for filling histograms. Its purpose to provide > generic and convenient API and be fast. > > > Features list: > > * Allows to fill many histograms at once. I used it to fill about hundred. > > * It provide support for arbitrary binni

Re: [Haskell-cafe] big array allocation too slow?

2009-09-18 Thread Don Stewart
ninegua: > I'm trying to use newArray to allocate something that has 100M unboxed > doubles. It takes quite a few seconds to do so on GHC 6.10.2. But > doing the same thing (and initialize all to 0) in C returns > immediately. Setting RTS heap size doesn't help. Does anybody happen > to know why?

Re: [Haskell-cafe] GHC threaded runtimes and pure functions

2009-09-16 Thread Don Stewart
gregorypropf: > One of the things I liked about Haskell was the notion of pure functions and > the fact that they can be, in theory, automatically parallelized on multicore > hardware. I think this will become a huge deal in a few years as cores > multiply. My question is simply this: under GHC is

Re: [Haskell-cafe] Haskell#? F#?

2009-09-14 Thread Don Stewart
caseyh: > The other morning, someone was telling me they had converted most of > their VB financial/stock market code to F#. > Whereas VB only used one core, the F# code used all four cores. > > In one software developers meeting, someone was saying that since > database work is mostly all state,

Re: [Haskell-cafe] ANNOUNCE: hssqlppp, sql parser and type checker, pre-alpha

2009-09-14 Thread Don Stewart
jakewheatmail: > Hello all, > > I've started on a SQL parser and type checker, which I'm currently > planning on evolving into a lint-type program for PL/pgSQL, called > HsSqlPpp. > > It currently parses a subset of PostGreSQL SQL and PL/pgSQL, can type > check some select, insert, update, delete

Solved: [Was: Re: [Haskell-cafe] Program with ByteStrings leads to memory exhaust]

2009-09-14 Thread Don Stewart
sargrigory: > I have a simple program that first generates a large (~ 500 mb) file > of random numbers and then reads the numbers back to find their sum. > It uses Data.Binary and Data.ByteString.Lazy. > > The problem is when the program tries to read the data back it quickly > (really quickly) co

Re: [Haskell-cafe] Just to let people know

2009-09-12 Thread Don Stewart
jefferson.r.heard: > lhs2TeX does not compile with the latest version of base. complaints > about Control.Exception abound Adding --constraint='base<4' helps. That's what the Arch Linux package uses: http://aur.archlinux.org/packages.php?ID=12648

Re: [Haskell-cafe] Parallel parsing & multicore

2009-09-09 Thread Don Stewart
ekmett: > > > On Wed, Sep 9, 2009 at 12:16 PM, Don Stewart wrote: > > ekmett: > > Hi Anakim, > >   > > Nice to see someone else working in this space. > >   > > I have also been working on a set of parallel parsing techniq

Re: [Haskell-cafe] Parallel parsing & multicore

2009-09-09 Thread Don Stewart
ekmett: > Hi Anakim, >   > Nice to see someone else working in this space. >   > I have also been working on a set of parallel parsing techniques, which can > use > small Parsec parsers for local context sensitivity. >   > See the second set of slides in http://comonad.com/reader/2009/ > iteratees

Re: [Haskell-cafe] Parallel parsing & multicore

2009-09-09 Thread Don Stewart
akborder: > > The threaded version running on 2 cores is moderately faster than the > serial one: > > $ ./Parser +RTS -s -N2 >2,377,165,256 bytes allocated in the heap > 36,320,944 bytes copied during GC >6,020,720 bytes maximum residency (6 sample(s)) >6,933,928 bytes m

[Haskell-cafe] Parallel programming in Haskell : a reading list

2009-09-03 Thread Don Stewart
Here's a reading list for parallel programming in Haskell (via GHC) I've collected while preparing a tutorial. Might be interesting to those trying to get into multicore Haskell right now, http://donsbot.wordpress.com/2009/09/03/parallel-programming-in-haskell-a-reading-list/ Are there any g

Re: [Haskell-cafe] Slow IO?

2009-08-31 Thread Don Stewart
Good work guys. If you can abstract out a common function for lexing ints out of bytestrings, we could add it to the bytestring-lexing package. ekirpichov: > Hm, on my machine Don's code has exactly the same performance my code above. > > Also, replacing the 'test' and 'parse' functions with thi

[Haskell-cafe] Hackage rankings : August 2009

2009-08-29 Thread Don Stewart
Monthly statistics on the most popular Haskell applications and libraries on Hackage. August 2009 edition now up: http://donsbot.wordpress.com/2009/08/29/haskell-popularity-rankings-september-2009/ -- Don ___ Haskell-Cafe mailing list Haskell-Cafe@

Re: [Haskell-cafe] Snow Leopard Breaks GHC

2009-08-28 Thread Don Stewart
leimy2k: > > > On Fri, Aug 28, 2009 at 5:28 PM, Dmitri Sosnik wrote: > > The same here: > $ghc hw.hs > > /var/folders/1J/1JKije6yHpm78qqdjF5N2U+++TI/-Tmp-/ghc7743_0/ > ghc7743_0.s:1357:0: > suffix or operands invalid for `push' > > /var/folders/1J/1JKije6yHpm78qqdj

Re: [Haskell-cafe] oauth in haskell - reviewers?

2009-08-25 Thread Don Stewart
robgreayer: > On Mon, Aug 24, 2009 at 5:24 PM, Don Stewart wrote: > > I notice hoauth is packaged as LGPL. Since we use static linking in GHC, > > this makes it in practice GPL. Is that the intent? > > > > -- Don > > > > I don't think this is 100%

Re: [Haskell-cafe] oauth in haskell - reviewers?

2009-08-24 Thread Don Stewart
I notice hoauth is packaged as LGPL. Since we use static linking in GHC, this makes it in practice GPL. Is that the intent? -- Don wei.hoo: > I recommend "Learn you a Haskell for great good": > http://learnyouahaskell.com/functors-applicative-functors-and-monoids#applicative-functors > > On Sun,

Re: [Haskell-cafe] (no subject)

2009-08-21 Thread Don Stewart
G.C.Stavenga: > > > Hi, I'm just started to learn Haskell. Coming from a programming contest > background (where it is important to be able to solve problems in a small > amount of code) I'm wondering what the best way is for simple IO. > > A typical input file (in a programming contest) is just

Re: [Haskell-cafe] testing par with simple program

2009-08-21 Thread Don Stewart
paolo.veronelli: > A better test program > > import Control.Parallel > > main = a `par` b `pseq` print (a + b ) > where > a = ack 3 11 > b = fib 39 > > ack 0 n = n+1 > ack m 0 = ack (m-1) 1 > ack m n = ack (m-1) (ack m (n-1)) > > fib 0 = 0 > fib 1 = 1 > fib n = fib (n-1

Re: [Haskell-cafe] testing par with simple program

2009-08-21 Thread Don Stewart
paolo.veronelli: > Hi, reading a previous thread I got interested. > I simplified the example pointed by dons in > > import Control.Parallel > > main = a `par` b `pseq` print (a + b ) > where > a = ack 3 11 > b = ack 3 11 > > ack 0 n = n+1 > ack m 0 = ack (m-1) 1 > ack m

Re: [Haskell-cafe] Tips for deployment?

2009-08-20 Thread Don Stewart
gue.schmidt: > Hi all, > > my haskell app is getting closer to shipping and what I need to do now is > to give product protection some thought. The product is for hospitals and > therefore a very limited set of clients. I do not expect anyone to try to > "hack" my application but I need a basic

Re: [Haskell-cafe] Control.Parallel on 6.10.4 - Mac OS X version

2009-08-18 Thread Don Stewart
k2msmith: > I'm using the Control.Parallel package on ghc version 6.10.4 and I don't seem > to be getting any parallel threads or sparks created at all with the > "-threaded" compilation option using runtime flags "+RTS -N2". I'm using > simple examples from the paper "A Tutorial on Parallel and C

Re: [Haskell-cafe] Chicago Haskell User Group?

2009-08-12 Thread Don Stewart
Excellent. BTW, more documented "Haskell for the Web" summaries/state of the art etc would be good. Some centralized community resource. -- Don jeremy: > Hello, > > Sounds good to me. I am in the Chicago area and do Haskell-based web > development all day, every day, using the Happstack platfor

Re: [Haskell-cafe] GSoC profiling project to be wrapped up

2009-08-12 Thread Don Stewart
patai_gergely: > Hi everyone, > > I finally uploaded the profiling tools to Hackage. The package names are > hp2any-{core,graph,manager}. The first two should be possible to install > right away, while the manager needs Gtk2Hs. A bit more on the project > and this update at

Re: [Haskell-cafe] Database written in Haskell?

2009-08-12 Thread Don Stewart
Give it a cool name like SlothDB or something :) -- Don alex: > HAppS' IxSet library gives relational operations but does not have a SQL > interface. Am thinking of changing the name to RelSet to make the > functionality clear. You can use HAppS.State to give ACID properties > to operati

Re: DDC compiler and effects; better than Haskell? (was Re: [Haskell-cafe] unsafeDestructiveAssign?)

2009-08-12 Thread Don Stewart
bugfact: > Well, the point is that you still have monadic and pure programming > styles. It's true that applicative style programming can help here, > but then you have these <$> and <*> operators everywhere, which also > feels like boilerplate code (as you mention, some extensions could > help her

[Haskell-cafe] Galois is Hiring

2009-08-11 Thread Don Stewart
Galois is continuing to hire. We will also be at ICFP and related events, so come and see Lee Pike or me. We have multiple positions for talented functional programmers (with both junior and senior positions). A strong functional programming ability is an advantage (you will be programming in

Re: [Haskell-cafe] Any comments about Clojure language?

2009-08-10 Thread Don Stewart
tretriluxana.s: > Hi all, > > I start reading about Closure language (http://clojure.org) and it seems an > interesting language. I don't know much about this language especially in > comparison to Haskell feature by feature. Could it perhaps be what Haskell on > JVM would have been with the dress

[Haskell-cafe] Re: What would be required to make a LLVM backend for GHC

2009-08-08 Thread Don Stewart
axman6: > Hi all, > > I've been talking to one of the LLVM developers, who's working on an > operating system called AuroraUX, which, among other things, is trying > to use LLVM as much as possible in the system (using clang as the > default compiler, compiler-rt [libgcc replacement from the

Re: [Haskell-cafe] Hugs faster and more reliable than GHC for large list monad 'do' block

2009-08-06 Thread Don Stewart
felipe.lessa: > On Thu, Aug 06, 2009 at 04:25:07PM -0700, Dan Weston wrote: > > > ghc --version > > The Glorious Glasgow Haskell Compilation System, version 6.10.4 > > Confirmed on Gento amd64 with custom-built GHC from Haskell overlay: > > $ ghc --version > The Glorious Glasgow Haskell Compilati

Re: [Haskell-cafe] A mistake in haskellwiki

2009-08-05 Thread Don Stewart
leaveye.guo: > Hi haskellers: > > There is a mistake in http://www.haskell.org/haskellwiki/State_Monad > > It post two functions like this : > > evalState :: State s a -> s -> a > evalState act = fst $ runState act > > execState :: State s a -> s -> s > execState act = snd $ runState ac

Re: [Haskell-cafe] Re: SQL Database in Haskell?

2009-08-05 Thread Don Stewart
gue.schmidt: > Hi, > > well I tried to do some stuff in memory, and the app ended up using a > couple of gigs. I not only have a very large amount of dynamic data, CSV > files, but also quite a large amount of static data, and wasted 3 months > trying to do this all in-memory. The problem was

Re: [Haskell-cafe] SQL Database in Haskell?

2009-08-05 Thread Don Stewart
moonlite: > On Thu, 2009-08-06 at 00:04 +0200, Günther Schmidt wrote: > > Hi Don, > > > > I actually meant an SQL database written in Haskell, same as Derby or > > HSQLDB in Java. > > > > I'm currently using Sqlite3 with HDBC but would prefer one entirely in > > Haskell (but still SQL though,

Re: [Haskell-cafe] SQL Database in Haskell?

2009-08-05 Thread Don Stewart
gue.schmidt: > Hi all, > > is there an SQL Database in Haskell or is there a project trying to > implement one? > There are several bindings, http://hackage.haskell.org/packages/archive/pkg-list.html#cat:database Are you asking for an implementation of SQL though? -- Don _

Re: [Haskell-cafe] Re: Thinking about what's missing in our library coverage

2009-08-05 Thread Don Stewart
gale: > Other "batteries included" platforms contain > various tools for processing markup that are > far less general than pandoc. This is a place > where Haskell can shine. > > So yes, pandoc should definitely be included > in the platform. All that said, though, I will > certainly agree that it

Re: [Haskell-cafe] Re: Thinking about what's missing in our library coverage

2009-08-05 Thread Don Stewart
bulat.ziganshin: > Hello Magnus, > > Wednesday, August 5, 2009, 11:37:23 AM, you wrote: > > > I don't know of any other way either. I just strongly oppose the idea > > that HP should take on the role of providing C lib bindings just > > because on some platforms it's hard to satisfy the C depend

Re: [Haskell-cafe] A problem with bytestring 0.9.1.4 "hGetBuf: invalid argument"

2009-08-04 Thread Don Stewart
haskellmail: > Hi all, > > I've recently came across a problem when processing a large text file (around > 2G in size). > > I wrote a Haskell program to count the number of lines in the file. > > > module Main where > > import System > import qualified Data.ByteString.Char8 as S > -- import Pr

[Haskell-cafe] Hackage Download Rankings August 2009

2009-08-04 Thread Don Stewart
Total package downloads on Hackage, by August 1 2009, http://www.galois.com/~dons/hackage/august-2009/popularity-august-2009.html All packages by month: http://www.galois.com/~dons/hackage/august-2009/hackage-august-2009.html Raw data: http://www.galois.com/~dons/hackage/august-20

[Haskell-cafe] Re: Thinking about what's missing in our library coverage

2009-08-03 Thread Don Stewart
alexander.dunlap: > >          o pandoc — markdown, reStructuredText, HTML, LaTeX, ConTeXt, > > Docbook, OpenDocument, ODT, RTF, MediaWiki, groff > > No. Pandoc is too actively developed to go into the HP. It's also much > more of an end-user application than a "standard library" - it's > applica

Re: [Haskell-cafe] ANNOUNCE: The Haskell Platform 2009.2.0.2

2009-08-02 Thread Don Stewart
bugfact: > On Mon, Aug 3, 2009 at 1:41 AM, Don Stewart wrote: > >* Improvements to crazy popular Windows installer > > > Are you kidding or are indeed many Windows users playing with Haskell these > days? > No, literally, http://donsbot.wordpress.com/200

Re: [Haskell-cafe] ANNOUNCE: The Haskell Platform 2009.2.0.2

2009-08-02 Thread Don Stewart
andrewcoppin: > Don Stewart wrote: >> We're pleased to announce the third release of the Haskell Platform: a >> single, standard Haskell distribution for everyone. >> >> The specification, along with installers (including Windows and Unix >> installers for a f

[Haskell-cafe] ANNOUNCE: The Haskell Platform 2009.2.0.2

2009-07-31 Thread Don Stewart
We're pleased to announce the third release of the Haskell Platform: a single, standard Haskell distribution for everyone. The specification, along with installers (including Windows and Unix installers for a full Haskell environment) are available. Download the Haskell Platform 2009.2.0.2:

Re: [Haskell-cafe] why does the binary library require so much memory?

2009-07-31 Thread Don Stewart
jeremy: > At Fri, 31 Jul 2009 14:49:03 -0700, > Don Stewart wrote: > > > > Why don't you use your own instance to serialize IxSet lazily (or > > however you would like?) > > > > There's no reason to be constrained to use the [a] instance. > &g

Re: [Haskell-cafe] why does the binary library require so much memory?

2009-07-31 Thread Don Stewart
jason.dusek: > 2009/07/31 Jeremy Shaw : > > ...why doesn't the stuff get freed eventually? > > It is my understanding that the GHC runtime never lets go of > memory once it has requested it. (Confirmation either way > would be informative.) It doesn't return memory to the OS. -- Don __

Re: [Haskell-cafe] why does the binary library require so much memory?

2009-07-31 Thread Don Stewart
et, which in turn uses lists to serialize the data > to/from disk. > > Also, why doesn't the stuff get freed eventually? > > - jeremy > > At Fri, 31 Jul 2009 14:27:30 -0700, > Don Stewart wrote: > > > > bos: > > > On Fri, Jul 31, 2009 at 1:56

Re: [Haskell-cafe] ANN: atom 0.1.0

2009-07-31 Thread Don Stewart
We've had a few people playing with Atom to program the Arduino, and John van Enk's been hacking too, Atom & Arduino :: Some Hacking (pt. 1) http://blog.sw17ch.com/wordpress/?p=84 An Atomic Fibonacci Server: Exploring the Atom (Haskell) DSL http://leepike.wordpress.com/2009/05/0

Re: [Haskell-cafe] why does the binary library require so much memory?

2009-07-31 Thread Don Stewart
bos: > On Fri, Jul 31, 2009 at 1:56 PM, Jeremy Shaw wrote: > > > Using encode/decode from Binary seems to permamently increase my > memory consumption by 60x fold. I am wonder if I am doing something > wrong, or if this is an issue with Binary. > > > It's an issue with the Binary i

Re: [Haskell-cafe] why does the binary library require so much memory?

2009-07-31 Thread Don Stewart
I just need a small test case to reproduce the problem. Thanks! -- Don jeremy: > Hello, > > Using encode/decode from Binary seems to permamently increase my > memory consumption by 60x fold. I am wonder if I am doing something > wrong, or if this is an issue with Binary. > > If I run the follo

Re: [Haskell-cafe] Hugs used in circuit simulations code

2009-07-28 Thread Don Stewart
daniel.is.fischer: > Am Mittwoch 29 Juli 2009 03:32:20 schrieb Fernan Bolando: > > What is everybodies expereience in speed difference between C and > > interpreted haskell? Why are you using hugs? Hugs is slower than GHCi, which is around 30x slower on average than GHC, (measured a couple of yea

Re: [Haskell-cafe] 'cabal install lhs2tex' fails for me on os x -- help please

2009-07-27 Thread Don Stewart
conal: > Fails during configuration: > > bash-3.2$ cabal install lhs2tex > Resolving dependencies... > [1 of 1] Compiling Main ( /tmp/lhs2tex-1.1423397/lhs2tex-1.14/ > Setup.hs, /tmp/lhs2tex-1.1423397/lhs2tex-1.14/dist/setup/Main.o ) > Linking /tmp/lhs2tex-1.1423397/lhs2tex

Re: [Haskell-cafe] Retiring forkIO

2009-07-27 Thread Don Stewart
gue.schmidt: > Hi, > > I'd like to retire forkIO and friends by using Delimited Continuations > instead. Am I dead wrong here in my understanding of Delimited > Continuations or can I pursue in this direction? > > The most immediate use for this is actully GUI problems where I'd use > del-con

Re: [Haskell-cafe] Recompiling Hackage to estimate the impact of a change [Was: StricterLabelledFieldSyntax]

2009-07-25 Thread Don Stewart
johan.tibell: > > In general, I think it would be a good idea to provide some statistics of how > many packages would break as the result of a backwards incompatible change. > Without that data I find it hard to do a cost-benefit analysis. So I hereby > suggest that we make a recompile of Hackage

Re: [Haskell-cafe] ANN: Leksah 0.6

2009-07-24 Thread Don Stewart
thomas.dubuisson: > Don Stewart wrote: > > Oh, so it is scanning all the files and not finalizing them? > > That's the implication, but I can't seem to trigger the case short of > [re]moving the .leksah directory and redoing the config that way... > when I do that

Re: [Haskell-cafe] ANN: Leksah 0.6

2009-07-24 Thread Don Stewart
to > properly configure/build projects! > > Thomas > > On Fri, Jul 24, 2009 at 11:44 AM, Thomas > DuBuisson wrote: > > On Fri, Jul 24, 2009 at 11:08 AM, Don Stewart wrote: > >> thomas.dubuisson: > >>> "Now updating metadata ..." > >&

Re: [Haskell-cafe] ANN: Leksah 0.6

2009-07-24 Thread Don Stewart
thomas.dubuisson: > "Now updating metadata ..." How many packages do you have installed? :-) > Why does it need more than 3GB of RAM at this point (I have 4GB and > see 70% going to Leksah before I kill it)? I didn't point it at > _that_ much Haskell code to parse though. Does it read everythin

Re: [Haskell-cafe] Haskell on a VPS

2009-07-23 Thread Don Stewart
bos: > On Thu, Jul 23, 2009 at 8:12 AM, John Van Enk wrote: > > No, I just want to know if there are any gotchas in the typical VPS > setups that for some strange reason wouldn't like Haskell binaries. I > couldn't think of any, but I miss details some times. > > > I don't know abou

Re: [Haskell-cafe] Pruning the Front Page

2009-07-20 Thread Don Stewart
thomas.dubuisson: > All, > I think we should remove unmaintained or refocused implementations > from the haskell.org front page. This would mean removing: > YHC - unmaintained, hasn't built for me in a while > LHC - Not a standalone compiler these days - perhaps should be > linked as a GHC

Re: [Haskell-cafe] can there be (hash-table using) O(n) version of this (I think currently) n log n algo?

2009-07-18 Thread Don Stewart
tphyahoo: > The code below is, I think, n log n, a few seconds on a million + element > list. Have you tried the judy arrays library on Hackage? (It provides a hashtable, which I've used occasionally) -- Don ___ Haskell-Cafe mailing list Haskell-Cafe@h

Re: [Haskell-cafe] What is the point of the 'What the bleep' names in haskell?

2009-07-17 Thread Don Stewart
dmehrtash: > Why do Haskell programmers (and libraries) name their function like "<@<" or > "# > ##"?Why not use a more descriptive label for functions? Where are those functions defined?? ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http:

Re: [Haskell-cafe] RE: Haskell as a first language?

2009-07-16 Thread Don Stewart
dvde: > In an ideal world, Haskell would be a perfect first programming language. > > But consider: If someone without any programming background learns > Haskell as first language, she or he might have big problems using any > other language after that. Unlearning what you can do with Haskell

Re: [Haskell-cafe] Debugging methods for haskell

2009-07-15 Thread Don Stewart
fernanbolando: > Hi all > > I recently used 2 hours of work looking for a bug that was causing > > Program error: Prelude.!!: index too large > > This is not very informative. It did not give me a hint which function > was causing this. In C adding a few printf would have helped me, but > in has

Re: Re[2]: [Haskell-cafe] What to say about Haskell?

2009-07-14 Thread Don Stewart
patai_gergely: > > > I would concentrate on the fact that when you use Haskell, you write > > > code that is less prone to errors and bugs. When you write a program > > > in Haskell and it finally compiles, chances are that there are far > > > less bugs than in a program written in another language

Re: [Haskell-cafe] What to say about Haskell?

2009-07-14 Thread Don Stewart
patai_gergely: > Hello all, > > I was asked to give a one-hour 'introductory' seminar on Haskell. The > audience is a bunch of very clever people with a wider than usual > perspective on programming and mathematics, and my talk should be rather > informational than evangelistic. Which topics do yo

Re: [Haskell-cafe] Text.JSON, Speed and Bytestrings

2009-07-11 Thread Don Stewart
mxcantor: > Hi Cafe, > > I am using the Text.JSON library to [un]marshall messages passed over > the network and was wondering if the speed would be significantly > improved by either changing the code or adding a module to implement the > same functionality using Bytestrings instead of classi

Re: [Haskell-cafe] haskell.org: what can be improved causing what efforts?

2009-07-10 Thread Don Stewart
One issue no one has raised yet is how to integrate this with MediaWiki. First we'd need to upgrade our mediawiki instance (which means moving to a new server), and then we'd need a template for the front page with these design features. Someone want to step up to lead such an effort? -- Don ma

Re: [Haskell-cafe] Leaner Haskell.org frontpage

2009-07-10 Thread Don Stewart
tom.davie: > > On 9 Jul 2009, at 18:32, Thomas ten Cate wrote: > >> Are there any kind of hard statistics and analytics that we can base >> this discussion upon? There is always room for improvement, but >> stumbling around in the dark making blind guesses may not be the best >> way to go. Although

Re: [Haskell-cafe] Leaner Haskell.org frontpage

2009-07-09 Thread Don Stewart
bulat.ziganshin: > Hello Don, > > Thursday, July 9, 2009, 8:33:17 PM, you wrote: > > > FWIW, the current layout is actually based on previous analysis of Popular > > Pages a few years ago, so that we have O(1) access to key resources. > > yes, and it means that page is optimized for regular Hask

Re: [Haskell-cafe] Leaner Haskell.org frontpage

2009-07-09 Thread Don Stewart
ttencate: > On Thu, Jul 9, 2009 at 18:33, Don Stewart wrote: > > ttencate: > >> Are there any kind of hard statistics and analytics that we can base > >> this discussion upon? There is always room for improvement, but > >> stumbling around in the dark maki

Re: [Haskell-cafe] Leaner Haskell.org frontpage

2009-07-09 Thread Don Stewart
ttencate: > Are there any kind of hard statistics and analytics that we can base > this discussion upon? There is always room for improvement, but > stumbling around in the dark making blind guesses may not be the best > way to go. Although I personally feel that Lenny's proposed page is an > impro

Re: [Haskell-cafe] Re: Haskell Platform on Ubuntu

2009-07-08 Thread Don Stewart
mle+hs: > Joachim Breitner wrote: > > > looking at > > http://debian.glondu.net/monitor/ocaml/ocaml_transition_monitor.html I > > get the impression that the Ocaml guys need to re-build everything when > > a new Ocaml library > > I assume you mean compiler there? > > > comes out, but not when ju

Re: [Haskell-cafe] Re: Haskell Platform on Ubuntu

2009-07-08 Thread Don Stewart
mle+hs: > Matthias Görgens wrote: > > > Yes. The sanest approach for any distribution would seem to install > > are bare bones ghc + cabal (cabal install) and let the cabal package > > system do the hard work directly. > > Cabal works really well for a single developer on a single machine. > >

Re: [Haskell-cafe] Haskell Platform on Ubuntu

2009-07-06 Thread Don Stewart
RafaelGCPP.Linux: > > Is there anyone working on a Haskell Platform package for Ubuntu? > > GHC in Ubuntu is a pain! The Debian team is working on packaging, but until then (or if someone on Ubuntu steps up), you'll need to use the Unix tarball: http://hackage.haskell.org/platform/2009.2.0

Re: [Haskell-cafe] ANN: bloxorz clone

2009-07-06 Thread Don Stewart
patai_gergely: > > Here's a video of bloxorz at work, very cool! > > > > > > http://archhaskell.wordpress.com/2009/07/04/bloxorz-an-opengl-logic-game-written-in-haskell/ > I see it wasn't rehearsed in advance. ;) Will the darcs (or.. ) repository for the code be made public? I'm sure there a

Re: [Haskell-cafe] ANN: bloxorz clone

2009-07-05 Thread Don Stewart
patai_gergely: > Hello all, > > This post is not about my own creation, it's just a little fun program > written by a student of mine. You can install the bloxorz package to try > it out, and read more about its background on my blog: > > http://just-bottom.blogspot.com/2009/07/playing-and-learni

Re: [Haskell-cafe] ANN: TernaryTrees-0.1.1.1 - An efficient ternary tree implementation of Sets and Maps

2009-07-02 Thread Don Stewart
wren: > Alex Mason wrote: >> TernaryTrees is a package that extends Data.Set ad Data.Map with some >> ternary tree structures, based on the article >> [http://www.pcplus.co.uk/node/3074/] . > > For the string (or rather ByteString) version: > > http://hackage.haskell.org/cgi-bin/hackage-scripts

Re: [Haskell-cafe] List spine traversal

2009-06-30 Thread Don Stewart
andrewhhunter: > On Mon, Jun 29, 2009 at 11:30 PM, Ryan Ingram wrote: > > There can't be a way to do so that is pure, because such a function > > could distinguish between > >> xs1 = () : xs1 > > and > >> xs2 = f () where f () = () : f () > > > > But doesn't seq and friends cause many of our norma

<    1   2   3   4   5   6   7   8   9   10   >