Re: [Haskell-cafe] Re: Haskell maximum stack depth

2008-02-19 Thread Duncan Coutts
On Tue, 2008-02-19 at 12:22 +, Adrian Hey wrote: > To be honest, in all my years of Haskelling I can't think of a single > occasion where I've had a program get stuck in an infinite loop. I've > had plenty of stack overflows, and they're reported on the mailing > lists pretty regularly, but o

Re: [Haskell-cafe] The Proliferation of List-Like Types

2008-02-20 Thread Duncan Coutts
On Wed, 2008-02-20 at 08:39 -0600, John Goerzen wrote: > * The iconv library works only on lazy ByteStrings, and does not >handle Strings or strict ByteStrings There is a very good reason for this. The right solution in this particular example is not to overload every internal string operati

Re: [Haskell-cafe] The Proliferation of List-Like Types

2008-02-21 Thread Duncan Coutts
On Wed, 2008-02-20 at 19:01 -0600, John Goerzen wrote: > On Wednesday 20 February 2008 5:13:34 pm Duncan Coutts wrote: > > On Wed, 2008-02-20 at 08:39 -0600, John Goerzen wrote: > > > * The iconv library works only on lazy ByteStrings, and does not > > >handle St

Re: [Haskell-cafe] The Proliferation of List-Like Types

2008-02-21 Thread Duncan Coutts
On Thu, 2008-02-21 at 10:06 +0100, Johan Tibell wrote: > Hi John! > > On Wed, Feb 20, 2008 at 3:39 PM, John Goerzen <[EMAIL PROTECTED]> wrote: > > 3) Would it make sense to base as much code as possible in the Haskell > >core areound ListLike definitions? Here I think of functions such > >

Re: [Haskell-cafe] The Proliferation of List-Like Types

2008-02-21 Thread Duncan Coutts
On Thu, 2008-02-21 at 05:07 +0100, Henning Thielemann wrote: > As long as it is only about speeding up list processing, one might also > consider this as optimization problem. This could be handled without > adapting much List based code in applications to a generic sequence class. > That is, if

Re: [Haskell-cafe] haddock as a markdown preprocessor

2008-02-21 Thread Duncan Coutts
On Wed, 2008-02-20 at 16:43 -0800, Conal Elliott wrote: > There was a chat today on #haskell (15:08 to 16:10) about evolving > haddock. I'd like to get comments. > > The goal is to get the full functionality of a general purpose, > programmer-friendly markup language like markdown. One example

Re: [Haskell-cafe] The Proliferation of List-Like Types

2008-02-21 Thread Duncan Coutts
On Thu, 2008-02-21 at 13:37 +0100, Johan Tibell wrote: > I would be very happy if people didn't use the .Char8 versions of > ByteString except for being able to write byte literals using pack. (I > would be even happier if Haskell had byte literals.) If people start > using ByteString in their li

Re: [Haskell-cafe] The Proliferation of List-Like Types

2008-02-21 Thread Duncan Coutts
On Thu, 2008-02-21 at 13:34 +0100, Henning Thielemann wrote: > I suppose we mean the same. My question is: Why do we use ByteString > instead of [Word8] ? Entirely because of efficiency, right? So if we could > stick to List code and only convert to ByteString at the end and the > compiler all re

Re: [Haskell-cafe] haddock as a markdown preprocessor

2008-02-21 Thread Duncan Coutts
On Thu, 2008-02-21 at 13:12 +, Alistair Bayley wrote: > On 21/02/2008, Duncan Coutts <[EMAIL PROTECTED]> wrote: > > > > To be honest I like the fact that haddock's markup is really simple and > > perhaps somewhat restrictive. A great improvement though

Re: [Haskell-cafe] haddock as a markdown preprocessor

2008-02-21 Thread Duncan Coutts
On Thu, 2008-02-21 at 16:54 -0800, Conal Elliott wrote: > I guess there was some confusion about the haddock-as-preprocessor > idea. Here's another try: > > Pare the Haddock markup language down to very few markup directives, > say just 'foo' and "Foo.Bar". (Of course, Haddock continues to read

Re: [Haskell-cafe] haddock as a markdown preprocessor

2008-02-22 Thread Duncan Coutts
On Fri, 2008-02-22 at 07:21 -0800, Keith Fahlgren wrote: > On 2/21/08 3:57 PM, Duncan Coutts wrote: > > Consequently there is no support in > > Cabal etc for those kinds of documentation. GHC, Cabal and c2hs amongst > > others use docbook but it's a horrible format

Re: [Haskell-cafe] haddock as a markdown preprocessor

2008-02-22 Thread Duncan Coutts
On Sat, 2008-02-23 at 01:28 +, Duncan Coutts wrote: > Basically I'd like to know what tool (that is packaged on every linux > distro) do I use to convert a docbook .xml file to xhtml. I took a quick > look on the FAQ linked from docbook.org/help and could not immediately > f

Re: [Haskell-cafe] How easy is it to hire Haskell programmers

2010-07-02 Thread Duncan Coutts
ll programmers. We don't know how many can do FizzBuzz or equivalent because we picked a shortlist before doing interviewing. In general we have been very impressed with both the number and quality of candidates. As Felipe says, not restricting to applicants in the same country helps. -- Dunca

Re: [Haskell-cafe] How easy is it to hire Haskell programmers

2010-07-03 Thread Duncan Coutts
On 2 July 2010 11:56, JP Moresmau wrote: > > On Fri, Jul 2, 2010 at 12:34 PM, Duncan Coutts > wrote: >> >> When we are done we intend to write up a blog post more details, e.g. >> numbers and the range/distribution of experience among candidates. I >> hope that

Re: [Haskell-cafe] How easy is it to hire Haskell programmers

2010-07-03 Thread Duncan Coutts
On Fri, 2010-07-02 at 09:43 -0400, Edward Kmett wrote: > > * How many applications did you get? > > I tend to actively recruit rather than throw open the floodgates. We did that initially. We are now very pleased that we switched track to openly advertising. We've had many excellent peo

Re: [Haskell-cafe] new Cabal user question -- installing to Haskell Platform on Windows network drive?

2010-07-28 Thread Duncan Coutts
On 28 July 2010 23:46, Peter Schmitz wrote: > I will try experimenting with editing the config file and using that hidden > option you mentioned. > ** Cabal experts: > > If anyone knows how to do this sort of thing in a better way, I would > appreciate a word. Rogan is right. You just need to e

Re: [Haskell-cafe] data.binary get reading beyond end of input bytestring?

2010-07-29 Thread Duncan Coutts
On 29 July 2010 07:53, Conrad Parker wrote: >> Something smells fishy here. I have a hard time believing that binary is >> reading more input than is available? Could you post more code please? > > The issue seems to just be the return value for "bytes consumed" from > getLazyByteString. Here's a

Re: [Haskell-cafe] data.binary get reading beyond end of input bytestring?

2010-07-29 Thread Duncan Coutts
On Thu, 2010-07-29 at 19:01 +0900, Conrad Parker wrote: > On 29 July 2010 17:46, Duncan Coutts wrote: > > On 29 July 2010 07:53, Conrad Parker wrote: > > > >>> Something smells fishy here. I have a hard time believing that binary is > >>> reading more input

Re: [Haskell-cafe] data.binary get reading beyond end of input bytestring?

2010-07-29 Thread Duncan Coutts
On Thu, 2010-07-29 at 19:17 +0900, Conrad Parker wrote: > On 29 July 2010 19:13, Duncan Coutts wrote: > > On Thu, 2010-07-29 at 19:01 +0900, Conrad Parker wrote: > >> On 29 July 2010 17:46, Duncan Coutts wrote: > >> > On 29 July 2010 07:53, Conrad Parker wrote: &g

Re: [Haskell-cafe] cabal, haddock, hscolour

2010-08-18 Thread Duncan Coutts
On 13 August 2010 15:49, Johannes Waldmann wrote: > How is the "cabal" magic that would run hscolour? > > I am using  "cabal haddock --executables  --hyperlink-source" > and this generates the API docs for all modules, > and all have source links, but the actual html-ized source > is only generate

Re: [Haskell-cafe] and from standard Prelude

2010-08-18 Thread Duncan Coutts
On 18 August 2010 10:05, Oleg Lobachev wrote: > Hello all, > > the and function, and :: [Bool] -> Bool is defined in two different ways in > the latest Prelude. > > I would expect it to be > >> and = foldr (&&) True > > However, there is a further recursive definition, and it is the one used! Th

Re: [Haskell-cafe] and from standard Prelude

2010-08-18 Thread Duncan Coutts
On 18 August 2010 13:29, Oleg Lobachev wrote: > By the way, does some good reading on streams in Haskell exist? I am > interested primarily in a theoretical foundation, which should however be > somehow related to Haskell. My guess would be the relation of streams, > represented as lazy, not c

Re: [Haskell-cafe] Re: cabal, haddock, hscolour

2010-08-18 Thread Duncan Coutts
On 18 August 2010 12:55, Johannes Waldmann wrote: > Duncan Coutts googlemail.com> writes: > >> Your .cabal file probably does not list the "other-modules" as it >> should, so Cabal does not know that the other modules exist. > > Ah. > > Strange thou

Re: [Haskell-cafe] Re: String vs ByteString

2010-08-18 Thread Duncan Coutts
On 18 August 2010 15:04, Michael Snoyman wrote: > For me, the whole point of this discussion was to > determine whether we should attempt porting to UTF-8, which as I understand > it would be a rather large undertaking. And the answer to that is, yes but only if we have good reason to believe it

Re: [Haskell-cafe] Re: cabal, haddock, hscolour

2010-08-18 Thread Duncan Coutts
On 18 August 2010 15:13, Johannes Waldmann wrote: > Duncan Coutts googlemail.com> writes: > >> >> Your .cabal file probably does not list the "other-modules" ... >> Enforcing it properly is on the TODO list. > > Please don't ... there's th

Re: [Haskell-cafe] A cabal odyssey

2010-08-18 Thread Duncan Coutts
On 18 August 2010 18:13, Andrew Coppin wrote: > Then again, all the links were broken anyway. They all had paths like > "C:\Program Files\Haskell\...whatever", and Mozilla apparently expects them > to say "file://C:/Program Files/Haskell/...whatever". It kept whining that > "the C:\ protocol is n

Re: [Haskell-cafe] A cabal odyssey

2010-08-20 Thread Duncan Coutts
On 19 August 2010 21:15, Andrew Coppin wrote: > Daniel Fischer wrote: >> Yes, when cabal runs haddock on a package, it generates a comprehensive >> index if none is present or expands it with the new docs. >> Quite cool that :) >> > > It's something I've always _wanted_ Cabal to do, but this is t

Re: [Haskell-cafe] Creating binary distributions with Cabal

2010-08-20 Thread Duncan Coutts
On 20 August 2010 10:18, Christopher Done wrote: > Does Cabal have a way to produce binary distributions from a package? No but it's not too hard to do. If you actually want an RPM or a DEB etc, then look into the cabal2rpm etc tools, they help automate the process. If you want a generic binary

Re: [Haskell-cafe] cabal-install profiling libraries

2010-08-20 Thread Duncan Coutts
On 20 August 2010 14:20, Johannes Waldmann wrote: > Here's another instance of the machine (*) telling me what to do, > instead of doing it (or am I missing something): > > I have a large set of cabal packages installed with ghc. > Then suddenly I need some package Foo with profiling. > So I switc

Re: [Haskell-cafe] Hackage package download count

2010-09-09 Thread Duncan Coutts
On 9 September 2010 14:56, Tony Hannan wrote: > Is there anywhere we can see the number of download for a particular > package, especially ones you maintain yourself? And the new hackage server implementation maintains download counts. See the server test instance here: http://sparky.haskell.org

Re: [Haskell-cafe] A new cabal odissey: cabal-1.8 breaking its own neck by updating its dependencies

2010-09-15 Thread Duncan Coutts
On 13 September 2010 20:54, Paolo Giarrusso wrote: > On Sun, Sep 12, 2010 at 20:46, Tillmann Rendel > wrote: >> Paolo Giarrusso wrote: >>> in a tracker entry you linked to, >>> http://hackage.haskell.org/trac/hackage/ticket/704, duncan argues that >>> "we also want to be able to do things like li

Re: [Haskell-cafe] Curious why "cabal upgrade parsec" not installing latest version

2010-09-17 Thread Duncan Coutts
On 17 September 2010 04:44, Peter Schmitz wrote: > This gets a little hilarious (but better to laugh than cry). > > Well, I decided to try Parsec version 3 (i.e., 3.1.0) after all [...] > I did "cabal upgrade parsec", which went great. [...] > (This is where I began laughing instead of crying

Re: [Haskell-cafe] allocation for "pure" FFI functions

2010-10-15 Thread Duncan Coutts
On Thu, 2010-10-14 at 17:45 +, Johannes Waldmann wrote: > Hi. I wonder how to do the following properly. > > I have one (large) C type, let's call it T, > and I want to sell it as an abstract type in Haskell. > > I want to use C functions as if they were of type T -> T > (pure function, re

Re: [Haskell-cafe] Re: How to make cabal pass flags to happy?

2010-10-18 Thread Duncan Coutts
On Sat, 2010-10-16 at 16:44 +0100, Thomas Schilling wrote: > I'm CC'ing Duncan, in case he has a better idea. > On 13 October 2010 19:44, Niklas Broberg wrote: > >> What I want specifically is to have happy produce a GLR parser from my > >> .ly file, and I want this to happen during 'cabal inst

Re: [Haskell-cafe] Re: How to make cabal pass flags to happy?

2010-10-20 Thread Duncan Coutts
On Wed, 2010-10-20 at 10:37 +0200, Niklas Broberg wrote: > > I think the "right solution" is for the happy source file to specify > > what kind of grammar it is / should be produced. Yes, that would mean > > modifying happy. > > Hmm, I agree with you in this particular case, regarding the grammar

Re: [Haskell-cafe] Re: problem with cabal for syb-with-class

2008-08-27 Thread Duncan Coutts
On Wed, 2008-08-27 at 12:33 +0100, Claus Reinke wrote: > >> Cabal doesn't have to pass on ghc's messages uninterpreted. That's > >> a lot like implementing a map as a list and complaining about empty > >> list instead of element not found. > > > > I see what you're saying, but in practise it's jus

Re: [Haskell-cafe] Re: two problems with Data.Binary and Data.ByteString

2008-08-28 Thread Duncan Coutts
On Thu, 2008-08-28 at 21:34 +0200, Ben Franksen wrote: > Just some raw ideas: > > What if we had a way to express 'optional dependencies' between packages in > a cabal file. Something like 'if package x is installed (and satisfies > given version constraints) then add module UseX'. > > One probl

[Haskell-cafe] REMINDER: OpenSPARC project application deadline this Friday

2008-09-02 Thread Duncan Coutts
http://haskell.org/opensparc/ The deadline for applications for the Haskell OpenSPARC project is rapidly approaching. Applications have to be sent to: [EMAIL PROTECTED] by the end of this week, Friday the 5th September. If you want any comments on your application bef

Re: [Haskell-cafe] Hackage -> MacPorts?

2008-09-03 Thread Duncan Coutts
On Wed, 2008-09-03 at 13:14 -0700, John MacFarlane wrote: > It would be great if there were an automated or semi-automated way > of generating a MacPorts Portfile from a HackageDB package, along > the lines of dons' cabal2arch. Has anyone been working on such a thing? > And, are any haskell-cafe re

Re: [Haskell-cafe] Hackage -> MacPorts?

2008-09-04 Thread Duncan Coutts
On Wed, 2008-09-03 at 17:54 -0400, David Menendez wrote: > On Wed, Sep 3, 2008 at 4:14 PM, John MacFarlane <[EMAIL PROTECTED]> wrote: > > It would be great if there were an automated or semi-automated way > > of generating a MacPorts Portfile from a HackageDB package, along > > the lines of dons' c

Re: [Haskell-cafe] Haskell and i18n (aka gettext) support

2008-09-04 Thread Duncan Coutts
On Thu, 2008-09-04 at 06:53 +0200, Gour wrote: > As potential 'solution the 'i18n' package was mentioned > (http://hackage.haskell.org/cgi-bin/hackage-scripts/package/i18n) with > the remark that its API is not the most beautiful. Seems to me that this is a good use case for implicit parameters,

Re: [Haskell-cafe] Hackage -> MacPorts?

2008-09-04 Thread Duncan Coutts
On Thu, 2008-09-04 at 12:09 -0400, David Menendez wrote: > On Thu, Sep 4, 2008 at 5:19 AM, Duncan Coutts > <[EMAIL PROTECTED]> wrote: > > That's exactly the same situation as with Gentoo. We provide a > > ghc-updater program that re-installs all the existing libs for

Re: [Haskell-cafe] Parsec 3 Description

2008-09-04 Thread Duncan Coutts
On Thu, 2008-09-04 at 19:41 +0100, Philippa Cowderoy wrote: > On Thu, 4 Sep 2008, John Van Enk wrote: > > > I'm looking for a document describing the differences between Parsec 3 and > > Parsec 2. My google-foo must be off because I can't seem to find one. Does > > any one know where to find that

Re: [Haskell-cafe] Hackage -> MacPorts?

2008-09-04 Thread Duncan Coutts
On Thu, 2008-09-04 at 20:08 -0400, David Menendez wrote: > On Thu, Sep 4, 2008 at 4:14 PM, Don Stewart <[EMAIL PROTECTED]> wrote: > > That's right, on Arch we just go for what people actually need, i.e.: > > > >1) 1 compiler, GHC > >2) GHC comes with the core+extra set, so they're implicitl

Re: the real world of Haskell books (Re: [Haskell-cafe] Online Real World Haskell, problem with Sqlite3 chapters)

2008-09-05 Thread Duncan Coutts
On Fri, 2008-09-05 at 13:04 +0100, Claus Reinke wrote: > Now that is "real world" - problems even before release!-) > > Seriously, though, what is the RWH authors' plan for tackling > the eternal frustration of Haskell book authors, a moving target? > > There used to be a time when one could gues

Re: [Haskell-cafe] Hackage policy question

2008-09-09 Thread Duncan Coutts
On Mon, 2008-09-08 at 16:26 -0700, Iavor Diatchki wrote: > Hi, > I just noticed that hackage has introduced a new policy to disallow > changes to a package without bumping the version. I understand that > this is probably a good idea for changes to the source code, but it > really would be nice to

Re: [Haskell-cafe] Hackage policy question

2008-09-10 Thread Duncan Coutts
On Wed, 2008-09-10 at 10:11 +0200, Wolfgang Jeltsch wrote: > Am Mittwoch, 10. September 2008 00:59 schrieb Duncan Coutts: > > […] > > > The .tar.gz packages are pristine and must not change, however > > the .cabal file that is kept in the hackage index could change and t

Re: [Haskell-cafe] Hackage policy question

2008-09-10 Thread Duncan Coutts
On Wed, 2008-09-10 at 10:26 +0100, Ross Paterson wrote: > On Tue, Sep 09, 2008 at 10:59:17PM +0000, Duncan Coutts wrote: > > The .tar.gz packages are pristine and must not change, however > > the .cabal file that is kept in the hackage index could change and that > > informat

Re: [Haskell-cafe] Hackage policy question

2008-09-10 Thread Duncan Coutts
On Wed, 2008-09-10 at 12:09 +0200, Ketil Malde wrote: > Duncan Coutts <[EMAIL PROTECTED]> writes: > > > So we should think about how to make it less confusing. Perhaps like > > distributors use an extra revision number we should do the same. I had > > hoped that wou

Re: [Haskell-cafe] Hackage policy question

2008-09-10 Thread Duncan Coutts
On Wed, 2008-09-10 at 11:49 -0400, Brandon S. Allbery KF8NH wrote: > On 2008 Sep 10, at 6:48, Wolfgang Jeltsch wrote: > > Am Mittwoch, 10. September 2008 11:47 schrieben Sie: > >> So we should think about how to make it less confusing. Perhaps like > >> distributors use an extra revision number we

[Haskell-cafe] Heads Up: code.haskell.org is upgrading to darcs 2

2008-09-10 Thread Duncan Coutts
This email is for darcs users in general and in particular for people who host a project on code.haskell.org. What we are doing = We are upgrading /usr/bin/darcs to version 2 on the machine that hosts code.haskell.org. That means it will be used by everyone who uses ssh to push o

Re: [Haskell-cafe] Hackage policy question

2008-09-10 Thread Duncan Coutts
On Wed, 2008-09-10 at 18:35 -0400, Brandon S. Allbery KF8NH wrote: > On 2008 Sep 10, at 17:51, Duncan Coutts wrote: > >> dependent packages don't get confused when it's re-released. If > >> we're > >> considering modifying hackage's versioni

Re: [Haskell-cafe] Hackage policy question

2008-09-10 Thread Duncan Coutts
On Wed, 2008-09-10 at 18:53 -0400, Brandon S. Allbery KF8NH wrote: > > As I understand it, epochs were mainly introduced to cope with > > un-cooperative upstream maintainers whereas here maintainers already > > have to specify a version number in the Cabal/Hackage scheme and > > there's > > Tha

Re: [Haskell-cafe] Erroneous package listings in hackage?

2008-09-12 Thread Duncan Coutts
On Fri, 2008-09-12 at 14:18 +0200, Henk-Jan van Tuyl wrote: > On Fri, 12 Sep 2008 13:21:59 +0200, Dougal Stanton > > $ cabal list | less > > ... > > * cairo > > Latest version installed: 0.9.13 > > Homepage: http://haskell.org/gtk2hs/ > > License: BSD3 > > ... > > $ cabal i

Re: [Haskell-cafe] Windows console

2008-09-13 Thread Duncan Coutts
On Sat, 2008-09-13 at 13:41 +0100, Andrew Coppin wrote: > > If you mean "how do I compile the ANSI emulator on Windows but the > > actual ANSI stuff on Unix", most of the magic is in the .cabal file: > > > I simply turn on the C-preprocessor (CPP) and then supply -DWINDOWS on > > Windows and -DUN

Re: [Haskell-cafe] Erroneous package listings in hackage?

2008-09-13 Thread Duncan Coutts
On Sat, 2008-09-13 at 12:06 +0100, Dougal Stanton wrote: > On Sat, Sep 13, 2008 at 1:51 AM, Duncan Coutts > <[EMAIL PROTECTED]> wrote: > > Perhaps for packages that are installed but not re-installable via Cabal > > (like cairo, base, ghc etc) it should say something. Do y

Re: [Haskell-cafe] Hackage checks

2008-09-13 Thread Duncan Coutts
On Sat, 2008-09-13 at 20:36 +0200, Andrea Rossato wrote: > Hi, > > the Hackage upload script performs some checks on the packages being > uploaded. In my case, a library, I need to use the cabal generated > Paths_package file to access some locale data stored in a data file > directory. > > This

Re: [Haskell-cafe] Re: [Haskell] Heads Up: code.haskell.org is upgrading to darcs 2

2008-09-14 Thread Duncan Coutts
On Sun, 2008-09-14 at 14:41 +0100, Neil Mitchell wrote: > Hi > > Ignore the previous email message, as soon as I sent the email it > started working - I guess it was just code.haskell.org server issues. Yes it was unavailable for a short time yesterday. It got rebooted by the hosting company, we'

Re: [Haskell-cafe] Hackage and HaXml situation

2008-09-18 Thread Duncan Coutts
On Thu, 2008-09-18 at 15:32 -0500, John Goerzen wrote: > Hi everyone, > > We've got a bit of a problem in the community regarding HaXml. This has > been brought up before, but never definitively resolved, and it's > causing more and more trouble. > > Over at the HaXml homepage [1], it is stated

Re: [Haskell-cafe] Library design question

2008-09-18 Thread Duncan Coutts
On Thu, 2008-09-18 at 15:43 -0300, Andre Nathan wrote: > My Graph type is the following. > > data Graph a b = Graph > { adjacencies :: Map Int (a, (Map Int b)) > , numVertices :: Int > , numEdges:: Int > } > addVertex :: Int -> a -> State (Graph a b) () > addVertex vert

Re: [Haskell-cafe] lazy strings and parallel read

2008-09-19 Thread Duncan Coutts
On Fri, 2008-09-19 at 18:46 +0200, Manlio Perillo wrote: > Don Stewart ha scritto: > > manlio_perillo: > >> Hi. > >> > >> After having read > >> http://book.realworldhaskell.org/read/concurrent-and-multicore-programming.html#id676390 > >> > >> I have a doubt about Data.ByteString.Lazy. > >> > >> Wh

Re: [Haskell-cafe] lazy strings and parallel read

2008-09-19 Thread Duncan Coutts
On Fri, 2008-09-19 at 19:50 +0200, Manlio Perillo wrote: > But if every function that reads the data uses pread, then this should > no more be a problem. > > Or I'm missing some other thing? If you used something like pread instead of hGetContents then yes that would not involve semi-closing a

[Haskell-cafe] OpenSPARC project applicant chosen

2008-09-20 Thread Duncan Coutts
I am very pleased to announce that we have chosen Ben Lippmeier for the OpenSPARC project. Congratulations Ben! Ben will spend three months hacking on GHC to make it perform well on the latest multi-core OpenSPARC chips. I would also like to thank the other people who applied. The reviewers were

Re: [Haskell-cafe] OpenSPARC project applicant chosen

2008-09-20 Thread Duncan Coutts
On Sat, 2008-09-20 at 23:50 +0300, Roman Cheplyaka wrote: > * Duncan Coutts <[EMAIL PROTECTED]> [2008-09-20 16:37:08+0100] > > If you want to follow the progress we will be using the existing ghc > > development mailing list: > > http://www.haskell.org/mailman/list

Re: [Haskell-cafe] cabal upgrade

2008-09-26 Thread Duncan Coutts
On Fri, 2008-09-26 at 10:49 +0200, Achim Schneider wrote: > % cabal update > Downloading package list from server > 'http://hackage.haskell.org/packages/archive' > > % cabal install pureMD5 > All requested packages already installed. Nothing to do. > > % cabal install pureMD5-0.2.4 > Downloading

Re: [Haskell-cafe] Hmm, what license to use?

2008-09-29 Thread Duncan Coutts
On Mon, 2008-09-29 at 14:39 -0700, Don Stewart wrote: > The big problem with the LGPL and Haskell is static linking. We can't > use anything we wish to ship commercially that relies on > LGPLd-statically linked-and-inlined Haskell code at the moment. > > So if you use LGPL for your Haskell librar

Re: [Haskell-cafe] cabal upgrade

2008-09-30 Thread Duncan Coutts
On Wed, 2008-10-01 at 01:59 +0200, Cetin Sert wrote: > A reminder: > > When I wanted to upgrade to yi 0.4.6.2, I needed to download the new > package list > > cabal update #download list of new packages > cabal upgrade #make any upgrades Note that 'cabal upgrade' upgrades every

Re: [Haskell-cafe] Hackage Build Failures

2008-09-30 Thread Duncan Coutts
On Wed, 2008-10-01 at 03:04 +0200, Cetin Sert wrote: > Hi, > > what is the best action to take if a package from hackage fails to > build? Is there a recommended/established common way to deal with > build failures/runtime bugs etc.? Most packages specify a maintainer which is conventionally an e

Re: [Haskell-cafe] cabal upgrade

2008-10-01 Thread Duncan Coutts
On Wed, 2008-10-01 at 08:58 +0100, Malcolm Wallace wrote: > >> When I wanted to upgrade to yi 0.4.6.2, I needed to download the new > >> package list > >> > >> cabal update #download list of new packages > >> cabal upgrade #make any upgrades > > I never knew there was a 'cabal up

Re: [Haskell-cafe] cabal upgrade

2008-10-01 Thread Duncan Coutts
On Wed, 2008-10-01 at 20:53 +0200, Svein Ove Aas wrote: > On Wed, Oct 1, 2008 at 7:54 PM, Duncan Coutts > > Because we actually consult the index of available packages more often > > than you think. Every time you cabal install in a local directory we > > make sure all the

Re: [Haskell-cafe] mysql (hsql-mysql-1.7) on Linux with GHC 8.3 - cabal issues

2008-10-02 Thread Duncan Coutts
On Thu, 2008-10-02 at 17:37 +0300, Anton Tayanovskyy wrote: > Hello, > > I had some difficulty building hsql and hsql-mysql (native driver) > packages under GHC 8.3 on Fedora 9. Namely, they do not install with > cabal install, because of a few API changes. Is this considered all > right as GHC 8.

Re: [Haskell-cafe] Re: Hmm, what license to use?

2008-10-03 Thread Duncan Coutts
On Fri, 2008-10-03 at 16:25 +0100, Magnus Therning wrote: > Ah, now I understand. The object for GHC would be to reduce the > system-wide use of memory rather than substitutability of DLLs then, > right? > > Why would it be interesting to have sharable objects without substitutability? Hello wo

Re: [Haskell-cafe] monadic parser with Happy and Alex

2008-10-04 Thread Duncan Coutts
On Sat, 2008-10-04 at 17:05 +0200, Manlio Perillo wrote: > Hi. > > I have completed a draft of a CSS lexer, using Alex. > http://hg.mperillo.ath.cx/haskell/webtools/file/tip/src/CSS/Lexer.x > > The lexer use the posn wrapper. > > Now I'm starting to write the parser with Happy, however for the f

Re: [Haskell-cafe] Help me prove macid can scale! (Macid stress tests results for happs-tutorial toy job board disappointing so far.)

2008-10-05 Thread Duncan Coutts
On Sun, 2008-10-05 at 15:57 -0700, Jason Dusek wrote: > I don't want to be contrarian, but I guess I can't help > myself. Does MACID have anything to say about failover and > replication? Isn't that more important than volume? HAppS does failover and replication within a cluster. They're worki

Re: [Haskell-cafe] After upgrade bytestring to 0.9.1.3, my program cannot run.

2008-10-07 Thread Duncan Coutts
On Mon, 2008-10-06 at 20:21 -0700, Don Stewart wrote: > magicloud.magiclouds: > > 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/

[Haskell-cafe] Re: [Haskell] Catching error / making library functions monadic (in failure)

2008-10-08 Thread Duncan Coutts
On Wed, 2008-10-08 at 18:07 +0200, Philip K.F. Hölzenspies wrote: > I think this is the core problem I have. Really, error should be implemented > as fail, rather than vice versa. I see why this doesn't work, because it > would type > > error :: Monad m => String -> m a > > even though the who

Re: [Haskell-cafe] parsec 3 & parsec 2

2008-10-09 Thread Duncan Coutts
On Thu, 2008-10-09 at 06:15 +0200, Alfonso Acosta wrote: > ghc-pkg hide {pkg-id} This will only make a difference to ghc --make. It makes no difference to anything built using Cabal. > On Thu, Oct 9, 2008 at 5:53 AM, Jason Dusek <[EMAIL PROTECTED]> wrote: > > I don't know anything about how to

Re: [Haskell-cafe] Libraries in home dir

2008-10-09 Thread Duncan Coutts
On Thu, 2008-10-09 at 10:08 -0300, Mauricio wrote: > Hi, > > I want to use a few libraries from hackage > and have already download and built them. Can > I install those libraries somewhere in my > home dir (I want to avoid installing as root) > so that ghc can find them? > > If so, which options

Re: [Haskell-cafe] is the a way to reinstall a package with cabal install?

2008-10-09 Thread Duncan Coutts
On Thu, 2008-10-09 at 09:42 -0700, Anatoly Yakovenko wrote: > is the a way to reinstall a package with cabal install? I want to add > profiling support to a libarary. Yes. With cabal-install-0.5.2 and later: $ cabal install foobar --reinstall --enable-library-profiling If you always want profi

Re: [Haskell-cafe] Re: Libraries in home dir

2008-10-09 Thread Duncan Coutts
On Thu, 2008-10-09 at 15:14 -0300, Mauricio wrote: > About cabal: the fact that the last versions of packages > are not available in the pointed place mean I should > not use cabal? For instance, utf8-string is using github.com > instead of the darcs page pointed in its hackage page. Does > that m

Re: [Haskell-cafe] Cabal: error on configure

2008-10-09 Thread Duncan Coutts
On Tue, 2008-10-07 at 15:50 -0400, David Barton wrote: > OK, I suspect this is a real newbie error, but please have mercy. I have > downloaded and installed cabal (at least it responds to the --help command > from the command line). Yet when I do, say (to give a real example): > > cabal config

Re: [Haskell-cafe] Problem with package consistency on Hackage

2008-10-10 Thread Duncan Coutts
On Fri, 2008-10-10 at 08:31 -0500, Antoine Latter wrote: > Folks, > > I'm not sure who to email about this, but hopefully someone on the cafe knows: > > On the machine which builds the Hackage packages the 'binary' package > is built against 'bytestring-0.9.1.2', however the package I just > uplo

Re: [Haskell-cafe] Still stacking monad transformers

2008-10-12 Thread Duncan Coutts
On Sun, 2008-10-12 at 18:08 +0100, Andrew Coppin wrote: > I am becoming extremely frustrated now. The task I want to perform is > simple, yet I simply cannot make Haskell do what I want. > > I've given up hope of ever getting my program to handle infinite result > sets. That means I can make do

[Haskell-cafe] Re: 2008-10-12 Hackage status with GHC 6.10 release candidate

2008-10-13 Thread Duncan Coutts
On Mon, 2008-10-13 at 10:54 -0700, Don Stewart wrote: > marlowsd: > > Don Stewart wrote: > > > > >Note that these builds are with "soft deps", provided on hackage, > > > > > >base < 4 > > >parsec < 3 > > >HaXml == 1.13.* > > >QuickCheck < 2 > > > > > >which train cabal-install to b

Re: [Haskell-cafe] Hackage and GUI (was Hackage status with GHC 6.10 release candidate)

2008-10-13 Thread Duncan Coutts
On Mon, 2008-10-13 at 16:15 +0200, Hans van Thiel wrote: > What's the status of Gtk2Hs with regard to Cabal? Is it correct that not > one of the applications on Hackage, and there are some, uses or can use > a GUI at this point in time? Gtk2Hs still does not use Cabal as its build system. With th

Re: [Haskell-cafe] There is something wrong in derive-0.1.2 package.

2008-10-13 Thread Duncan Coutts
On Tue, 2008-10-14 at 12:58 +0800, Magicloud wrote: > Hi, > I wanted to install it with cabal. Well > $ cabal install derive > Resolving dependencies... > cabal: Couldn't read cabal file "./derive/0.1.2/derive.cabal" > As I traced a little, it seemed that line: 'build-depends: base == > 4.

[Haskell-cafe] Re: 2008-10-13 Hackage status with GHC 6.10 release candidate

2008-10-13 Thread Duncan Coutts
On Mon, 2008-10-13 at 22:08 -0700, Don Stewart wrote: > Using GHC 6.10 RC from today, Cabal 1.6 and cabal-install 1.16, of 682 > libraries and apps tried in total, Note that's cabal-install-0.6 :-) > 1 UnpackFailed I've diagnosed this one. It will be fixed in the next cabal-install point

Re: [Haskell-cafe] There is something wrong in derive-0.1.2 package.

2008-10-13 Thread Duncan Coutts
On Tue, 2008-10-14 at 13:51 +0800, Magicloud wrote: > Sigh again, something that always makes me think that cabal is unusable > ~/.cabal/lib/HTTP-3001.1.3/ghc-6.8.3/libHSHTTP-3001.1.3.a(Browser.o)(.text+0x5aa6): > In function `rp46_info': > : undefined reference to > `mtlzm1zi1zi0zi1_Control

Re: [Haskell-cafe] I do not want to be a bitch, but ghc-6.8.3 and haskell binary policy are really horrible.

2008-10-14 Thread Duncan Coutts
On Wed, 2008-10-15 at 09:25 +0800, Magicloud wrote: > Thank you for your reply. > So the main information I got is that cabal is not safe. And my problems > are all related to cabal, I think, dependency, ABI version You're quite right that Cabal does not track ABI versions. So it is quite pos

Re: [Haskell-cafe] Monadic Floating Point [was: Linking and unsafePerformIO]

2008-10-15 Thread Duncan Coutts
On Thu, 2008-10-16 at 01:24 +0200, Ariel J. Birnbaum wrote: > On Wednesday 15 October 2008 05:21:04 John Dorsey wrote: > > Should all floating point numerals be in the IO Monad? > > I'm deviating from the thread's topic, but I tend to agree with this one. > Maybe not IO directly, but some kind of

Re: [Haskell-cafe] Re: Ubuntu Haskell

2008-10-16 Thread Duncan Coutts
On Tue, 2008-10-14 at 11:25 +0100, Magnus Therning wrote: > > It seems to me that it adds confusion (two ways of installing things > > rather than one) while reducing flexibility and 'freshness' of > > installation. > > To me it adds simplicity. I might be developing an in-house tool at > work,

Re: [Haskell-cafe] package question/problem

2008-10-18 Thread Duncan Coutts
On Fri, 2008-10-17 at 18:23 -0500, Galchin, Vasili wrote: > Hello, > > I am trying to "cabal install" HSQL. I am using ghc 6.8.2. The simple answer is that the package is unmaintained and has not been updated to work with ghc 6.8.x. You can either use HDBC instead or fix HSQL by applying one

Re: [Haskell-cafe] package question/problem

2008-10-19 Thread Duncan Coutts
On Sat, 2008-10-18 at 23:38 -0500, Galchin, Vasili wrote: > Hi Duncan, > > I was under the impression that HDBC doesn't support myqsl?? I believe it works via ODBC. But perhaps you can persuade Frederik Eaton to make new working releases of HSQL. Duncan

Re: [Haskell-cafe] is 256M RAM insufficient for a 20 millionelement Int/Int map?

2008-10-19 Thread Duncan Coutts
On Sun, 2008-10-19 at 16:05 -0700, Don Stewart wrote: > I'd like them strict and specialised, > > So that: > > data IntMap a = Nil > | Tip {-# UNPACK #-} !Key a > | Bin {-# UNPACK #-} !Prefix {-# UNPACK #-} !Mask !(IntMap > a) !(IntMap a) > > applied as

Re: [Haskell-cafe] Build without install, using cabal

2008-10-21 Thread Duncan Coutts
On Mon, 2008-10-20 at 17:04 -0200, Mauricio wrote: > Hi, > > I would like to include a few source files > as 'executable' sections in a .cabal package > description. However, although I do want to > use main=mainDefault features, I do not want > those packages to be installed when I run > 'Setup.h

Re: [Haskell-cafe] Cabal warning

2008-10-21 Thread Duncan Coutts
On Wed, 2008-10-22 at 00:05 +0200, Henk-Jan van Tuyl wrote: > L.S., > > I keep getting the following warning for each "cabal install" command: > Warning: Error parsing config file C:\Documents and > Settings\[User]\Application Data\cabal\config: On line 1: GHC > Warning: Using default

Re: [Haskell-cafe] Re: ghc error: requested module name differs from name found in interface file

2008-10-21 Thread Duncan Coutts
On Tue, 2008-10-21 at 09:41 -0500, Larry Evans wrote: > Just that one little piece of information, that |cabal install| , by > default, installs in ~/.cabal and then enables ghc to look there for > packages, would have saved an awful lot of time :( Where would you like that information to have bee

Re: [Haskell-cafe] Help converting Perl to Haskell

2008-10-21 Thread Duncan Coutts
On Tue, 2008-10-21 at 20:33 -0700, Jason Dagit wrote: > Correct me if I'm wrong, but if I want to make this work on windows I > can't use System.Posix, right? If so, what is the portable way to set > environment variables? I see[1] that getEnv exists in > System.Environment, but setEnv is in Sys

Re: [Haskell-cafe] Cabal warning

2008-10-22 Thread Duncan Coutts
On Tue, 2008-10-21 at 23:36 -0700, Peter Higley wrote: > I had the same problem on a Mac system, change "GHC" to "ghc" and > things will work. > > I didn't even think that it was an actual bug! Ticket #379 reports > the problem. Thanks for reporting that. Duncan ___

Re: [Haskell-cafe] any idea why cabal install cabal-install cant update itself in windows?

2008-10-23 Thread Duncan Coutts
On Wed, 2008-10-22 at 22:48 -0500, Austin Seipp wrote: > Windows will not let you modify/delete binaries if they're running as a > process, and it won't let you delete .DLL files that're in use by > applications either (mapped to shared memory, that is.) So cabal > install cannot overwrite the caba

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