Re: [Haskell-cafe] my knucleotide fast on 64 bit but extremely slow on 32 bit?

2013-03-28 Thread Don Stewart
Int64 is emulated on 32 bit. So it is not as efficient by a long shot. On Thursday, 28 March 2013, Branimir Maksimovic wrote: I have posted previous knucleotide program, it is fast on 64 bit but very slow on 32 bit. I cannot install 32 bit ghc to test it so I can only guess is that cause is

Re: [Haskell-cafe] Enumerating functions at runtime

2013-03-24 Thread Don Stewart
All the info is in the .hi files On Sunday, 24 March 2013, Brent Yorgey wrote: On Sat, Mar 23, 2013 at 08:26:52PM -0700, Luke Evans wrote: I'm curious about using Haskell for metaprogramming. It looks like I can dynamically compile, load and run some Haskell with the plugins package.

Re: [Haskell-cafe] Streaming bytes and performance

2013-03-19 Thread Don Stewart
Just for fun. Here's some improvements. about 6x faster. I'd be interested to see what io-streams could do on this. Using a 250M test file. -- strict state monad and bang patterns on the uncons and accumulator argument: $ time ./A 4166680 ./A 8.42s user 0.57s system 99% cpu 9.037 total --

Re: [Haskell-cafe] Streaming bytes and performance

2013-03-19 Thread Don Stewart
!Char ByteString uncons s = T (w2c (unsafeHead s)) (unsafeTail s) isSpace' c = c == '\n'|| c == ' ' {-# INLINE isSpace' #-} On Tue, Mar 19, 2013 at 7:36 PM, Don Stewart don...@gmail.com wrote: Just for fun. Here's some improvements. about 6x faster. I'd be interested to see what io

Re: [Haskell-cafe] Streaming bytes and performance

2013-03-19 Thread Don Stewart
of 1.3 Constant factors matter. On Tue, Mar 19, 2013 at 9:03 PM, Peter Simons sim...@cryp.to wrote: Don Stewart don...@gmail.com writes: Here's the final program: [...] Here is a version of the program that is just as fast: import Prelude hiding ( getContents, foldl ) import

Re: [Haskell-cafe] Streaming bytes and performance

2013-03-19 Thread Don Stewart
Oh I see what you're doing ... Using this input file stored in /dev/shm So not measuring the IO performance at all. :) On Mar 19, 2013 9:27 PM, Peter Simons sim...@cryp.to wrote: Hi Don, Compare your program (made lazy) on lazy bytestrings using file IO: [...] if I make those changes,

Re: [Haskell-cafe] Streaming bytes and performance

2013-03-19 Thread Don Stewart
I guess the optimizations that went into making lazy bytestring IO fast (on disks) are increasingly irrelevant as SSDs take over. On Mar 19, 2013 9:49 PM, Peter Simons sim...@cryp.to wrote: Hi Don, Using this input file stored in /dev/shm So not measuring the IO performance at all. :)

Re: [Haskell-cafe] ANNOUNCE: Start Ajhc project with forking jhc.

2013-03-06 Thread Don Stewart
Very cool! On Mar 6, 2013 12:53 PM, Kiwamu Okabe kiw...@debian.or.jp wrote: Hi all. I am a user of jhc Haskell compiler. Jhc can compile Haskell code to micro arch such as Cortex-M3. I have written LED blinking demo for Cortex-M3 with jhc. Very fun!

Re: [Haskell-cafe] translating recursively defined sequence

2013-03-05 Thread Don Stewart
Isn't that already valid Haskell? :) (remove the underscore). On Mar 5, 2013 5:21 AM, Christopher Howard christopher.how...@frigidcode.com wrote: Hi. My Haskell is (sadly) getting a bit rusty. I was wondering what would be the most straightforward and easily followed procedure for

Re: [Haskell-cafe] Concurrency performance problem

2013-03-04 Thread Don Stewart
Depends on your code... On Mar 4, 2013 6:10 PM, Łukasz Dąbek sznu...@gmail.com wrote: Hello Cafe! I have a problem with following code: http://hpaste.org/83460. It is a simple Monte Carlo integration. The problem is that when I run my program with +RTS -N1 I get: Multi 693204.039020917

Re: [Haskell-cafe] Concurrency performance problem

2013-03-04 Thread Don Stewart
Dąbek 2013/3/4 Don Stewart don...@gmail.com: Depends on your code... On Mar 4, 2013 6:10 PM, Łukasz Dąbek sznu...@gmail.com wrote: Hello Cafe! I have a problem with following code: http://hpaste.org/83460. It is a simple Monte Carlo integration. The problem is that when I run my

Re: [Haskell-cafe] How does one create an input handle bound to a string instead of a file?

2013-02-27 Thread Don Stewart
I don't think that's right - Simon's buffer class rewrite should have made this possible, I think. http://hackage.haskell.org/packages/archive/base/4.2.0.1/doc/html/GHC-IO-BufferedIO.html On Feb 27, 2013 10:52 PM, Gregory Collins g...@gregorycollins.net wrote: On Wed, Feb 27, 2013 at 9:38 PM,

Re: [Haskell-cafe] ANN: lazy-csv - the fastest and most space-efficient parser for CSV

2013-02-25 Thread Don Stewart
Cassava is quite new, but has the same goals as lazy-csv. Its about a year old now - http://blog.johantibell.com/2012/08/a-new-fast-and-easy-to-use-csv-library.html I know Johan has been working on the benchmarks of late - it would be very good to know how the two compare in features On Feb 25,

Re: [Haskell-cafe] Thunks and GHC pessimisation

2013-02-24 Thread Don Stewart
In toy examples like this it will be generally hard to convince GHC not to just collapse your program down to a constant, when you're turning up the optimization level. In particular, you are implying -ffull-laziness with -O (or -O2), which can increase sharing. GHC doesn't implement complete

Re: [Haskell-cafe] Why is boxed mutable array so slow?

2012-12-01 Thread Don Stewart
The obvious difference between boxed and unboxed arrays is that the boxed arrays are full of pointers to heap allocated objects. This means you pay indirection to access the values, much more time in GC spent chasing pointers (though card marking helps), and generally do more allocation. Compare

Re: [Haskell-cafe] Why is boxed mutable array so slow?

2012-12-01 Thread Don Stewart
-H2097152 0.16s: +RTS -A67108864 -H8388608 E.g. $ time ./A +RTS -A67M -H1M boxed vector last 945735787 seconds 0.123 -- Don On Sat, Dec 1, 2012 at 12:20 PM, Don Stewart don...@gmail.com wrote: The obvious difference between boxed and unboxed arrays is that the boxed arrays are full of pointers

Re: [Haskell-cafe] size of Haskell Platform

2012-11-11 Thread Don Stewart
Hey Doug, The process for adding new packages is specified here: http://trac.haskell.org/haskell-platform/wiki/AddingPackages The HP aims for comprehensive, general functionality. Things like databases, graphics libraries and web servers are well in scope for inclusion. It should grow. Cheers,

Re: [Haskell-cafe] XMonad-screenshot

2012-07-25 Thread Don Stewart
Better sent to xmonad@ On Wednesday, July 25, 2012, Dmitry Malikov wrote: Hi. My friend Matvey Aksenov create some useful screen capturing utility for XMonad. https://github.com/supki/**xmonad-screenshothttps://github.com/supki/xmonad-screenshot It allows capturing all workspaces in

Re: [Haskell-cafe] Are there arithmetic composition of functions?

2012-03-21 Thread Don Stewart
. On a side note, if we consider typeclasses as predicates on types, then (especially with the extensions enabled) the type system looks extremely like a obfuscated logic programming language.With existential types it even starts to look like a first-order thereom prover. At present we can

Re: [Haskell-cafe] strict version of Haskell - does it exist?

2012-01-29 Thread Don Stewart
Generally strict Haskell means using strict data types - vectors, arrays, bytestrings, intmaps where required. However, you usually don't want all code and data strict, all the time, since laziness/on-demand eval is critical for deferring non-essential work. Summary; -fstrict wouldn't magically

Re: [Haskell-cafe] Haskell Propaganda needed

2012-01-14 Thread Don Stewart
Hey Victor, Thankfully, there's lots of material and experience reports available, along with code, for the Haskell+science use case. In my view Haskell works well as a coordination language, for organizing computation at a high level, and thanks to its excellent compiler and runtime, also works

Re: [Haskell-cafe] Haskell Platform and Windows - where's 2011.4?

2011-12-27 Thread Don Stewart
All versions went live last week. Are you perhaps looking at an expired or cached page? On Tuesday, December 27, 2011, Bas van Dijk v.dijk@gmail.com wrote: On 27 December 2011 19:13, Steve Horne sh006d3...@blueyonder.co.uk wrote: On haskell.org, the 2011.4.0.0 version is shown as the

[Haskell-cafe] Announce: The Haskell Platform 2011.4

2011-12-17 Thread Don Stewart
We're pleased to announce the release of the Haskell Platform: a single, standard Haskell distribution for everyone. Download the Haskell Platform 2011.4.0.0: http://haskell.org/platform/ The specification, along with installers (including Windows, Apple and Unix installers for a full

Re: [Haskell-cafe] Seeking Don Stewart

2011-07-13 Thread Don Stewart
Hi everyone, I'm working for Standard Chartered, based in New York (currently though, I'm in Singapore). You can reach me on this email. Cheers, Don On Wed, Jul 13, 2011 at 5:09 PM, wren ng thornton w...@freegeek.org wrote: Hello all, Sorry for the spam. I'm trying to get ahold of Don

Re: [Haskell-cafe] Diagnose stack space overflow

2011-07-04 Thread Don Stewart
Profile!! E.g. http://stackoverflow.com/questions/6429085/haskell-heap-issues-with-parameter-passing-style/6429888#6429888 On Mon, Jul 4, 2011 at 11:44 AM, Logo Logo sarasl...@gmail.com wrote: Hi, For the following error: Stack space overflow: current size 8388608 bytes. Use `+RTS

Re: [Haskell-cafe] NVIDIA's CUDA and Haskell

2011-07-04 Thread Don Stewart
There's a lot of active work: Direct access to CUDA: http://hackage.haskell.org/package/cuda CUDA in Haskell: http://hackage.haskell.org/package/language-c-quote Direct access to OpenCL: http://hackage.haskell.org/package/OpenCLRaw High-level pure data parallelism targetting your GPU:

Re: [Haskell-cafe] Lambdabot plugin system description

2011-07-01 Thread Don Stewart
In fact there is! Plugging Haskell In. André Pang, Don Stewart, Sean Seefried, and Manuel M. T. Chakravarty. In Proceedings of the ACM SIGPLAN Workshop on Haskell, pages 10-21. ACM Press, 2004 http://www.cse.unsw.edu.au/~dons/papers/hs-plugins.pdf And Dynamic Applications From the Ground Up

Re: [Haskell-cafe] View Thunk Evaluation

2011-06-26 Thread Don Stewart
Yes, via the -hpc tracing mechanism. When executed HPC generates a highlighted log of your source, and expressions that aren't evaluated will be marked up in a special color. On Sun, Jun 26, 2011 at 9:22 PM, Tom Murphy amin...@gmail.com wrote: Hi All,     Is there a way to determine whether a

Re: [Haskell-cafe] Haskell on iPad? (Scheme and Ocaml are there)

2011-06-18 Thread Don Stewart
See e.g. http://www.haskell.org/haskellwiki/IPhone http://www.haskell.org/haskellwiki/IPhone https://github.com/dpp/LispHaskellIPad https://github.com/dpp/LispHaskellIPad On Sat, Jun 18, 2011 at 12:18 PM, John Velman vel...@cox.net wrote: There are (at least) two Scheme interpreters for

Re: [Haskell-cafe] Haskell *interpreter* on iPad? (Scheme and Ocaml are there)

2011-06-18 Thread Don Stewart
. In addition to the two I previously mentioned, there is iScheme. - John Velman On Sat, Jun 18, 2011 at 12:43:45PM -0400, Don Stewart wrote: See e.g. http://www.haskell.org/haskellwiki/IPhone http://www.haskell.org/haskellwiki/IPhone https://github.com/dpp/LispHaskellIPad https

Re: [Haskell-cafe] Haskell *interpreter* on iPad? (Scheme and Ocaml are there)

2011-06-18 Thread Don Stewart
Oh, Scheme is trivial to implement, when compared with Haskell. So people write it from scratch as a tutorial exercise. Haskell isn't trivial to implement from scratch, so instead we port existing implementations mostly. That means really, porting Hugs or GHC. And you've been pointed at

Re: [Haskell-cafe] Toy implementation of the STG machine

2011-06-11 Thread Don Stewart
See also: * STG machine in Coq, http://www.cs.ox.ac.uk/files/3858/pirog-biernacki-hs10.pdf http://www.cs.ox.ac.uk/files/3858/pirog-biernacki-hs10.pdfAlso * ] Jon Mountjoy. The spineless tagless G-machine, naturally. 1998 ACM SIGPLAN International Conference on Functional Programming, SIGPLAN

Re: [Haskell-cafe] haskell platform question

2011-06-07 Thread Don Stewart
It should build. If it doesn't, please report a bug. On Tue, Jun 7, 2011 at 8:53 AM, Tim Docker t...@dockerz.net wrote: I'd like to build the haskell platform against a recent GHC snapshot, for testing purposes. I see that I can download the source for the platform from:

Re: [Haskell-cafe] haskell platform question

2011-06-07 Thread Don Stewart
Oh, sorry, missed the first line. Building against GHC snapshots isn't supported. On Tue, Jun 7, 2011 at 6:48 AM, Don Stewart don...@gmail.com wrote: It should build. If it doesn't, please report a bug. On Tue, Jun 7, 2011 at 8:53 AM, Tim Docker t...@dockerz.net wrote: I'd like to build

Re: [Haskell-cafe] OK! I have a Mac with Snow Leopard 10.6.7?, Xcode 3.2.6, Haskell Platform 2011.2.0.1; What are 2or 3 ways so far to get a GUI graphics?

2011-06-05 Thread Don Stewart
Answers cached on stackoverlow: http://stackoverflow.com/questions/5612201/haskell-library-for-2d-drawing/5613788#5613788 for 2D graphics. http://stackoverflow.com/questions/2860988/haskell-ui-framework for UIs. Cheers, Don On Sun, Jun 5, 2011 at 8:18 PM, KC kc1...@gmail.com wrote: --

Re: [Haskell-cafe] *GROUP HUG*

2011-06-01 Thread Don Stewart
http://stackoverflow.com/questions/6172004/writing-foldl-using-foldr/6172270#6172270 Thank Graham Hutton and Richard Bird. On Wed, Jun 1, 2011 at 7:12 PM, Tom Murphy amin...@gmail.com wrote: How about this: myFoldr :: (a - b - b) - b - [a] - b myFoldr f z xs = foldl' (\s x v - s (x `f` v))

Re: [Haskell-cafe] Efficient object identity (aka symbols as data)

2011-05-29 Thread Don Stewart
Why doesn't Haskell have built in syntactic sugar for atoms? -- Anupam I think because of deriving Enum. ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] ANNOUNCE: HaNS-2.1.0.0

2011-05-24 Thread Don Stewart
Yay! The Hackage URL is: http://hackage.haskell.org/package/hans Cheers, Don On Tue, May 24, 2011 at 11:39 AM, Trevor Elliott tre...@galois.com wrote: Galois, Inc. is pleased to announce the release of HaNS, the Haskell Network Stack.  HaNS is a lightweight, pure Haskell network stack

Re: [Haskell-cafe] The Lisp Curse

2011-05-19 Thread Don Stewart
This is classic community trolling behavior, Andrew. You post something inflammatory, questioning the core value of our project, without a clear argument about why it article relevant, and then step away to let a monster thread consume everything, as people try to work out what your point was,

Re: [Haskell-cafe] Is fusion overrated?

2011-05-18 Thread Don Stewart
Also, we do fusion on strict structures (e.g. vectors), where you get back O(n) on each fused point. Obviously, it is less of a win on lazy structures than the (pathological) case of strict data, but it is still a win. -- Don On Tue, May 17, 2011 at 11:07 PM, Ben Lippmeier b...@ouroborus.net

Re: [Haskell-cafe] fishing for ST mutable Vector examples

2011-05-17 Thread Don Stewart
Yes, the differences between * vector * array * repa were discussed this week on Stack Overflow: http://stackoverflow.com/questions/6006304/what-haskell-representation-is-recommended-for-2d-unboxed-pixel-arrays-with-mill The reason to prefer vectors of arrays are: * flexible interface

Re: [Haskell-cafe] fishing for ST mutable Vector examples

2011-05-17 Thread Don Stewart
stable, just not as much fun. -- Don On Tue, May 17, 2011 at 5:31 PM, Felipe Almeida Lessa felipe.le...@gmail.com wrote: On Tue, May 17, 2011 at 8:30 PM, Don Stewart don...@gmail.com wrote:  * vector  * array  * repa Don, do you think that repa is as recommended as vector for production

Re: [Haskell-cafe] No fish, please

2011-05-17 Thread Don Stewart
I'm intrigued by the idea of Hackage docs that don't use Haddock. IF you do have better docs, host them somewhere, and put a link prominently in the .cabal file synopsis. On Tue, May 17, 2011 at 9:25 PM, John Millikin jmilli...@gmail.com wrote: Is there any way to indicate to Hackage that it

Re: [Haskell-cafe] Accelerate package (CUDA). How to actually create an array?

2011-05-16 Thread Don Stewart
You might want to read the Repa tutorial: http://www.haskell.org/haskellwiki/Numeric_Haskell:_A_Repa_Tutorial e.g. fromList (Z :. (3::Int)) [1,2,3] 2011/5/16 Grigory Sarnitskiy sargrig...@ya.ru: There's fromIArray and fromList [1].  Does that answer your question? Huh, yes, thank

Re: [Haskell-cafe] No fish, please

2011-05-12 Thread Don Stewart
No, you should be using Haddock. If you wish to generate docs some other way, you are free to host that on your own site, and link to it from the Hackage page. On Thu, May 12, 2011 at 10:45 AM, Andrew Coppin andrewcop...@btinternet.com wrote: Both Hackage and Cabal seem to assume as a matter of

Re: [Haskell-cafe] Proposal to incorporate Haskell.org

2011-05-11 Thread Don Stewart
| Of Don Stewart | Sent: 10 May 2011 23:45 | To: hask...@haskell.org; Haskell Libraries; GHC Users Mailing List; haskell-cafe; | commit...@haskell.org | Subject: Proposal to incorporate Haskell.org | | Hello everyone. | | The haskell.org committee[1], in the interest of the long-term

[Haskell-cafe] Proposal to incorporate Haskell.org

2011-05-10 Thread Don Stewart
-profit, allowing us to more directly accept (US tax-deductible) donations, and to invest in assets that benefit the Haskell open source community. We welcome your feedback on the proposal attached below. -- Don Stewart (on behalf of the Haskell.org committee

Re: [Haskell-cafe] Please add instance Semigroup Text

2011-05-03 Thread Don Stewart
Getting stuff into the HP is a different problem, and something I'm working on addressing in coming weeks... stay tuned. On Tue, May 3, 2011 at 2:33 PM, Bryan O'Sullivan b...@serpentine.com wrote: On Tue, May 3, 2011 at 1:14 PM, Yitzchak Gale g...@sefer.org wrote: You are quite right. These

[Haskell-cafe] Advertisement: the Haskell Stack Overflow Q A site

2011-05-03 Thread Don Stewart
Hey all, I thought I'd just make a quick advertisement for the Haskell Stack Overflow community: http://stackoverflow.com/questions/tagged/haskell as a forum for questions and answers on beginner to advanced Haskell problems. The site is very active, with roughly as many questions being

Re: [Haskell-cafe] How to make ghc 7 with llvm?

2011-04-28 Thread Don Stewart
Use the -fllvm flag. On Thu, Apr 28, 2011 at 6:49 PM, Magicloud Magiclouds magicloud.magiclo...@gmail.com wrote: Hi, As I recalled, ghc started to support llvm from version 7. But there is a problem: there is no option to make ghc with llvm. So Library within ghc source will be in gcc's

Re: [Haskell-cafe] Is Hugs dead?

2011-04-22 Thread Don Stewart
Strong recommendation is to use the Haskell Platform and GHC as your development base, unless you have very specific reasons to use Hugs or one of the other compilers. -- Don On Fri, Apr 22, 2011 at 5:16 AM, Robert Clausecker fuz...@gmail.com wrote: Some weeks ago, I mirrored the hugs repo to

Re: [Haskell-cafe] fishing for ST mutable Vector examples

2011-04-22 Thread Don Stewart
In my tutorial on using vectors, http://www.haskell.org/haskellwiki/Numeric_Haskell:_A_Vector_Tutorial There's some examples: http://www.haskell.org/haskellwiki/Numeric_Haskell:_A_Vector_Tutorial#Impure_Arrays that work in IO, and should work equally well in ST (as vectors are parameterized by

Re: [Haskell-cafe] Painless parallelization.

2011-04-19 Thread Don Stewart
to write a pure functional parallel code with the level of abstraction I used in Haskell? The status of parallel programming in Haskell is loosely maintained here: http://stackoverflow.com/questions/3063652/whats-the-status-of-multicore-programming-in-haskell/3063668#3063668 Your options,

Re: [Haskell-cafe] [Haskell] select(2) or poll(2)-like function?

2011-04-18 Thread Don Stewart
Redirecting to haskell-cafe@, where this kind of long discussion belongs. On Mon, Apr 18, 2011 at 9:07 AM, Colin Adams colinpaulad...@googlemail.com wrote: On 18 April 2011 16:54, Ertugrul Soeylemez e...@ertes.de wrote: Well, *someone* has to worry about robustness and scalability. Users

Re: [Haskell-cafe] Haskell Platform 2011.2.0.1 now available

2011-04-16 Thread Don Stewart
On Fri, Apr 15, 2011 at 11:50 PM, Joachim Breitner nome...@debian.org wrote: Hi, Am Freitag, den 15.04.2011, 15:44 -0700 schrieb Don Stewart: We're pleased to announce the 2011.2.0.1 release of the Haskell Platform: a single, standard Haskell distribution for everyone. Download the Haskell

[Haskell-cafe] Haskell Platform 2011.2.0.1 now available

2011-04-15 Thread Don Stewart
We're pleased to announce the 2011.2.0.1 release of the Haskell Platform: a single, standard Haskell distribution for everyone. Download the Haskell Platform 2011.2.0.1: http://haskell.org/platform/ This release adds support for GHC 7.0.3, and significant improvements for Mac OS X users.

Re: [Haskell-cafe] Haskell Platform 2011.2.0.1 now available

2011-04-15 Thread Don Stewart
. Enticing! What are these significant improvements for Mac OS X users?   - Conal On Fri, Apr 15, 2011 at 3:44 PM, Don Stewart don...@gmail.com wrote: We're pleased to announce the 2011.2.0.1 release of the Haskell Platform: a single, standard Haskell distribution for everyone. Download

Re: [Haskell-cafe] Current heap size and other runtime statistics -- API for accessing in GHC?

2011-04-10 Thread Don Stewart
I'd like a proper FFI binding for getting at Stats.c dynamically. So I can write programs that determine their own stats about the GC and so on. On Sun, Apr 10, 2011 at 2:30 PM, Ryan Newton rrnew...@gmail.com wrote: Hi cafe, The rtsopts (-s etc) can provide some nice debugging information

Re: [Haskell-cafe] mtlx has a nice design but is slow

2011-04-06 Thread Don Stewart
Is the package missing some obvious inlining in the instances? On Wed, Apr 6, 2011 at 10:13 AM, Sean Leather leat...@cs.uu.nl wrote: I just refactored my type and transform system prototype (introduced in [1] but changed since then) from using mtlx [2] (type-indexed monad transformers

Re: [Haskell-cafe] How to contact OpenGL package maintainer (where is Sven?)

2011-04-06 Thread Don Stewart
Note, there are some issues, as this is a package in the Haskell Platform, to do with upgrading and dependent packages. We should talk first about issues there. On Wed, Apr 6, 2011 at 2:32 PM, Jason Dagit dag...@gmail.com wrote: No response yet from Sven after about a month and no one seems to

Re: [Haskell-cafe] mtlx has a nice design but is slow

2011-04-06 Thread Don Stewart
Typically you'll want to inline any definitions of = and return in your classes and instances. Also, any non-recursive top level wrapper functions. On Wed, Apr 6, 2011 at 3:00 PM, Mark Snyder muddsny...@yahoo.com wrote: I'm the author for mtlx, and admittedly I didn't do anything about

Re: [Haskell-cafe] binary twidling modules

2011-03-13 Thread Don Stewart
Data.Binary or Data.Serialize perhaps? They provide encode/decode functions for packing to binary formats: * cabal install binary * cabal install cereal http://hackage.haskell.org/packages/archive/binary/0.5.0.2/doc/html/Data-Binary.html On Sun, Mar 13, 2011 at 11:17 AM, rusi

Re: [Haskell-cafe] Light and fast http server

2011-03-11 Thread Don Stewart
snap or warp/yesod. maybe in a few years we will have a winner for the platform... --dons On Friday, March 11, 2011, Vo Minh Thu not...@gmail.com wrote: 2011/3/11 Victor Oliveira rhapso...@gmail.com: Hi cafe, There are a lot of http servers in hackage. I didn't have used none. I would like

[Haskell-cafe] ANNOUNCE: Haskell Platform 2011.2 released!

2011-03-10 Thread Don Stewart
We're pleased to announce the 2011.2 release of the Haskell Platform: a single, standard Haskell distribution for everyone. Download the Haskell Platform 2011.2.0.0: http://haskell.org/platform/ The specification, along with installers (including Windows, Apple and Unix installers for a

Re: [Haskell-cafe] Haskell Platform 2011.2

2011-03-09 Thread Don Stewart
Also, due to reformatting code.haskell.org, the accounts were disabled for a while. On Wed, Mar 9, 2011 at 6:24 AM, Mark Lentczner mark.lentcz...@gmail.com wrote: code.haskell.org is the release repo code.galois.com is current development repo - Mark

Re: [Haskell-cafe] Haskell Platform web page is out of date

2011-03-09 Thread Don Stewart
We're about 1 day away from the release. Hold tight!! -- Don (scramble scramble) On Wed, Mar 9, 2011 at 1:21 PM, Paul Johnson p...@cogito.org.uk wrote: The Haskell Platform web page at http://hackage.haskell.org/platform// seems to need updating.  (Incidentally, that double slash at the end

Re: [Haskell-cafe] Haskell Platform 2011.2

2011-03-08 Thread Don Stewart
/03/2011 11:46 AM, Andrew Coppin wrote: On 06/03/2011 01:22 AM, Don Stewart wrote: P.S. you can help by testing the installers, and reporting issues on the HP trac and mailing list. The candidate installers are here: http://code.galois.com/darcs/haskell-platform/download-website

Re: [Haskell-cafe] some problem with Cabal

2011-03-08 Thread Don Stewart
This is fixed in the new release of cabal-install ( I think) so we're rolling new installers. Discussion around the installers is taking place on the haskell-platform list. -- Don On Wed, Mar 9, 2011 at 3:16 AM, Qi Qi qiqi...@gmail.com wrote: Hi, When I tried the haskell platform 2011.2

[Haskell-cafe] Benchmarks game updated

2011-03-05 Thread Don Stewart
Isaac Gouy from the Language Benchmarks game tells me that they're starting to use GHC 7.0.2, there are a few tweaks, new flags (e.g. the LLVM backend) and other experiments people might like to try. Additionally, there are a couple of build failures that should be fixed.

Re: [Haskell-cafe] Haskell Platform 2011.2

2011-03-05 Thread Don Stewart
We're currently testing the installers, with a view to announcing the release early in the week. Cheers, Don P.S. you can help by testing the installers, and reporting issues on the HP trac and mailing list. The candidate installers are here:

Re: [Haskell-cafe] ANN: unordered-containers - a new, faster hashing-based containers library

2011-02-22 Thread Don Stewart
bos: On Sat, Feb 19, 2011 at 11:58 AM, Louis Wasserman [1]wasserman.lo...@gmail.com wrote: size takes O(n).  That's just depressing.  Really. That's rather thoughtless wording for some code that's (a) free (b) faster than anything else currently available (c) in its very

Re: [Haskell-cafe] linear and dependent types

2011-02-18 Thread Don Stewart
vigalchin: Hello, �� Does Haskell currently have support for linear types and dependent types? No. -- Don P.S. :-) ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Headlines on haskell.org

2011-02-15 Thread Don Stewart
Just edit, its a wiki :-) michael: Hi everyone, I'm not quite sure to whom to address this, but it is with regards to the Headlines section at the bottom of haskell.org. It has not been updated for 2011 yet, which I can't imagine looks very good to new users. Is anyone interested in/able

[Haskell-cafe] Gathering ideas for the Google Summer of Code

2011-02-13 Thread Don Stewart
Last year we worked hard to come up with a good list of projects for the 2010 Google Summer of Code. A list drafted at ZuriHac is here: http://donsbot.wordpress.com/2010/04/01/the-8-most-important-haskell-org-gsoc-projects/ And we ended up with quite a few of those funded,

Re: [Haskell-cafe] How large is the Haskell community ?

2011-02-12 Thread Don Stewart
aaronngray.lists: I was wondering if anyone had an idea or estimate as to how large the Haskell community is ? No one knows. There are many figures that you could use to estimate the size (e.g. I try to gather signifcant stats in yearly reports about Hackage) * In 2010, for example,

Re: [Haskell-cafe] How large is the Haskell community ?

2011-02-12 Thread Don Stewart
aaronngray.lists: Then there are people who download it, look at it and maybe find it too complex to use ?� I am wondering if mailing list statistics would be the best guide ? Many people don't subscribe to the mailing list, and instead read it on gmane, or google, or reddit, or

Re: [Haskell-cafe] Data.ByteString.Lazy.ByteString vs Data.ByteString.Lazy.Internal.ByteString

2011-02-10 Thread Don Stewart
ckkashyap: Hi, I noticed that even though I declare the type of a function in my code as� Data.ByteString.Lazy.ByteString ... when I check it out in ghci using :t, it shows this -�Data.ByteString.Lazy.Internal.ByteString Is this expected? Yep, the 'Internal' module is where

Re: [Haskell-cafe] ($) not as transparent as it seems

2011-02-03 Thread Don Stewart
catamorphism: On Thu, Feb 3, 2011 at 12:44 PM, Steffen Schuldenzucker sschuldenzuc...@uni-bonn.de wrote: Dear cafe, does anyone have an explanation for this?: error (error foo) *** Exception: foo error $ error foo *** Exception: *** Exception: foo Have you read the

Re: [Haskell-cafe] Haskell Platform 2011.x - planned release date?

2011-02-01 Thread Don Stewart
Due to lack of time, I've been unavailable. I expect the release to come out around Feb 11, during the BayHac hackathon. Apologies for the delay. -- Don mxcantor: January has come and gone and HP 2011 has not come with it. Is there an updated timetable for the next version of the HP? I'm

[Haskell-cafe] Merging SMT solving and programming languages: two EDSLs for SMT in Haskell

2011-01-18 Thread Don Stewart
different approaches (a compiler from Haskell to the SMT-LIB format, versus an interpreter for the Yices SMT solver). SBV is the more mature package, while yices-painless emphasizes a type-preserving translation from a minimal core language. SBV was built by Levent Erkok, yices-painless by Don Stewart

[Haskell-cafe] Fwd: [TYPES/announce] Oregon Programming Languages Summer School]

2011-01-12 Thread Don Stewart
This will be of interest to many Haskellers. The line up is always outstanding, Oregon is lovely in the summer, and you can drop by Galois while you're here :-) -- Don - Forwarded message from Robert Harper r...@cs.cmu.edu - Date: Wed, 12 Jan 2011 16:49:46 -0500 From: Robert Harper

Re: [Haskell-cafe] Misleading MVar documentation

2010-12-24 Thread Don Stewart
ezyang: Merry Christmas all! Is it just me, or does the Control.Concurrent.MVar documentation seem a bit misleading? In particular, we should explicitly note the race conditions for not just swapMVar but also readMVar, withMVar, modifyMVar_ and modifyMVar, and clarify that the safety

Re: [Haskell-cafe] Latest Haskell Platform for Windows

2010-12-22 Thread Don Stewart
aaronngray.lists: Could someone please point me at a copy of the latest Haskell platform or a working GHC please. Many thanks in advance, The links on haskell.org/platform should work (there was a domain change, so you'll no longer see lambda.galois.com links). -- Don

Re: [Haskell-cafe] Recent Package Updates on Haskell.org

2010-12-11 Thread Don Stewart
gabrielp: Is it just me or has the list of recent package updates, as seen on the front page of haskell.org, not changed since the migration? That's right. I have to tweak the tool a little bit for the new format. ___ Haskell-Cafe mailing list

Re: [Haskell-cafe] Trying out GHC 7

2010-12-06 Thread Don Stewart
andrewcoppin: [100 lines snipped] Andrew, if you have a bug report, please use the bug tracker: http://hackage.haskell.org/trac/ghc/wiki/ReportABug Keep your reports concise and to-the-point, for the best hope of getting useful stuff done. Cheers, Don

Re: [Haskell-cafe] the beginning of the end (was: Hackage down?)

2010-12-04 Thread Don Stewart
trebla: On 10-12-04 01:03 PM, Antoine Latter wrote: Here's a Reddit post: http://www.reddit.com/r/haskell/comments/efw38/reminder_hackagehaskellorg_outage_tomorrow_due_to/ This is the second consecutive time a planned downtime is not announced on either mailing lists. This seems to me

Re: [Haskell-cafe] Downloading web page in Haskell

2010-11-20 Thread Don Stewart
michael: 2010/11/20 José Romildo Malaquias j.romi...@gmail.com: In order to download a given web page, I wrote the attached program. The problem is that the page is not being full downloaded. It is being somehow intettupted. Any clues on how to solve this problem? My guess is that

[Haskell-cafe] Announcement: the Haskell.org committee has formed

2010-11-15 Thread Don Stewart
of the committee are: • Don Stewart [chair] • Edward Z. Yang • Ganesh Sittampalam • Ian Lynagh • Johan Tibell • Malcolm Wallace • Vo Minh Thu Members are expected to serve a 3 year term, and terms are staggered so that 2 or 3 members step down each year. = What we’re working on = Over the past

Re: [Haskell-cafe] http://functionalley.eu

2010-11-06 Thread Don Stewart
haskellcafe: I've just written a few packages which I think may be useful, and have made them available as free opensource on a personal website http://functionalley.eu Wonderful, thank you! I opted to host them there rather than uploading them to Hackage, because they're part of a wider

Re: [Haskell-cafe] http://functionalley.eu

2010-11-06 Thread Don Stewart
claus.reinke: I opted to host them there rather than uploading them to Hackage, because they're part of a wider project. Note that this means they won't be cabal installable or searchable. Was that your intention? I am curious about this: wasn't cabal designed with the option of having

Re: [Haskell-cafe] Finding the contents of haskell platform?

2010-11-05 Thread Don Stewart
dons: magnus: I know there's a .cabal file for the latest version of HP somewhere, but I can't coerce Google into finding me a link that actually works. Furthermore, the following page: http://hackage.haskell.org/platform/contents.html does list all the contents, but to my big

Re: [Haskell-cafe] Who manages http://hackage.haskell.org/trac/?

2010-11-05 Thread Don Stewart
simons: Hi guys, a while ago, I created an account on Trac. Now, it seems that I've forgotten both the password and the e-mail address that I used at the time. I cannot log in, and I cannot make Trac send me the password either. Clearly, I need the help of a human being with administrator

Re: [Haskell-cafe] Finding the contents of haskell platform?

2010-11-01 Thread Don Stewart
magnus: I know there's a .cabal file for the latest version of HP somewhere, but I can't coerce Google into finding me a link that actually works. Furthermore, the following page: http://hackage.haskell.org/platform/contents.html does list all the contents, but to my big surprise it

Re: [Haskell-cafe] fundata1 -- Karmic Social Capital Benchmark and Shootout

2010-10-29 Thread Don Stewart
with OCaml and then beating it. Don Stewart provided awesome leadership and amazing modification of Haskell's core data structured before your very eyes. Can you elaborate on this? and What do you mean by: modification of Haskell's core data structured ? I think he means some

Re: [Haskell-cafe] Edit Hackage

2010-10-29 Thread Don Stewart
ivan.miljenovic: Neither the Haskell reddit nor Stack Overflow are linked to from haskell.org and there is nothing to indicate that they are official. Also, wasn't it Don that started (and is mainly responsible) for linking to Haskell articles on reddit? They're linked from the front page.

Re: [Haskell-cafe] Edit Hackage

2010-10-29 Thread Don Stewart
ivan.miljenovic: On 30 October 2010 09:51, Don Stewart d...@galois.com wrote: ivan.miljenovic: Neither the Haskell reddit nor Stack Overflow are linked to from haskell.org and there is nothing to indicate that they are official.  Also, wasn't it Don that started (and is mainly responsible

Re: [Haskell-cafe] Edit Hackage

2010-10-28 Thread Don Stewart
gcross: On 10/28/10 12:34 PM, Andrew Coppin wrote: More specifically, I copied the Cabal description from another package and then updated all the fields. Except that I forgot to update one. And now I have a package which I've erroneously placed in completely the wrong category. I am

Re: [Haskell-cafe] Edit Hackage

2010-10-28 Thread Don Stewart
stephen.tetley: On 28 October 2010 20:59, Don Stewart d...@galois.com wrote: Status of Infrastructure questions like this are best asked on the Haskell Reddit. [SNIP] P.S. I encourage people to use the online forums: Haskell Reddit and Stack Overflow, as a lot of the question

Re: [Haskell-cafe] Haskell and a complete mail client lib?

2010-10-27 Thread Don Stewart
gue.schmidt: Hi all, do we Haskellers have a complete Mail client library? As always, look on Hackage: http://www.google.com/search?hl=enas_sitesearch=hackage.haskell.org/packageas_q=email ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org

Re: [Haskell-cafe] Parsec in Haskell platform

2010-10-24 Thread Don Stewart
andrewcoppin: On 24/10/2010 09:10 AM, Roman Cheplyaka wrote: It would be convenient to have a page which would list all the HP packages with their versions. The release page [2] only has a list of packages whose versions has changed since the last release, as I understood. It would be nice

  1   2   3   4   5   6   7   8   9   10   >