Re: [Haskell-cafe] Hackage 2 switchover imminent

2013-09-26 Thread Duncan Coutts
On 24 September 2013 22:38, Duncan Coutts dun...@well-typed.com wrote: Hi everyone, Having been running the Hackage 2 alpha beta for several months we intend to do the final switchover tomorrow (Wednesday 25th Sept). This will involve disabling uploads to the old server for a few hours

Re: [Haskell-cafe] Hackage 2 switchover imminent

2013-09-25 Thread Duncan Coutts
On 24 September 2013 22:38, Duncan Coutts dun...@well-typed.com wrote: For issues with accounts or permissions please contact the administrators by email at adm...@hackage.haskell.org Sorry, that should be: ad...@hackage.haskell.org Ie singular admin, not plural. I got myself confused because

[Haskell-cafe] Hackage 2 switchover imminent

2013-09-24 Thread Duncan Coutts
tracker: https://github.com/haskell/hackage-server/issues For issues with accounts or permissions please contact the administrators by email at adm...@hackage.haskell.org -- Duncan Coutts, Haskell Consultant Well-Typed LLP, http://www.well-typed.com

Re: [Haskell-cafe] Which builder to choose?

2013-09-20 Thread Duncan Coutts
On Fri, 2013-09-20 at 14:57 +0200, Alejandro Serrano Mena wrote: Hi, I'm looking at the packages blaze-builder and bytestring, and both provide builders for ByteString. Which one should I use? In which situations is one more convenient than the other? I'd say the usual answer here would be

Re: [Haskell-cafe] [Haskell] Hackage 2 now available for beta testing

2013-09-10 Thread Duncan Coutts
On Tue, 2013-09-10 at 12:10 +0100, Ross Paterson wrote: On Mon, Sep 09, 2013 at 07:23:59PM +0100, Duncan Coutts wrote: Well-Typed and the Industrial Haskell Group (IHG) are very pleased to announce that Hackage 2 is now available for public beta testing. The plan is to do the final

[Haskell-cafe] Hackage 2 now available for beta testing

2013-09-09 Thread Duncan Coutts
on freenode. [code]:https://github.com/haskell/hackage-server [github wiki]: https://github.com/haskell/hackage-server/wiki [cabal-devel]: http://www.haskell.org/mailman/listinfo/cabal-devel -- Duncan Coutts, Haskell Consultant Well-Typed LLP, http://www.well-typed.com

Re: [Haskell-cafe] Hackage upload problem

2013-08-07 Thread Duncan Coutts
On Wed, 2013-08-07 at 14:32 +0200, Thomas Hallgren wrote: Hi, I get the following error when I try to upload gf-3.5.tar.gz [1] to Hackage. 400 Error in upload could not extract gf-3.5 directory from gf-3.5.tar.gz I get the same error when I try to Check the previous

Re: [Haskell-cafe] Contracts

2013-08-07 Thread Duncan Coutts
projects (Dan Rosen's repositories, for instance). Is there anything in between - mature, but not abandoned? We did an implementation of the contracts idea for one of our customers which is available (under AGPL or commercial license) on github: https://github.com/netrium/Netrium -- Duncan

Re: [Haskell-cafe] Contracts

2013-08-07 Thread Duncan Coutts
On Wed, 2013-08-07 at 17:48 +0100, Colin Adams wrote: I thought the OP was talking about software contracts (as in Eiffel / Design By Contract ). Oh oops, you're right. SPJ has too many papers about contracts! :-) On 7 August 2013 16:15, Duncan Coutts dun...@well-typed.com wrote: On Mon

[Haskell-cafe] Well-Typed are hiring: Haskell developer

2013-07-11 Thread Duncan Coutts
fit for the job, and attach your CV. Please also indicate how soon you might be able to start. We are more than happy to answer informal enquiries. Contact Duncan Coutts, Ian Lynagh or Andres Löh for further information, either by email or IRC. To ensure we can properly consider your application

Re: [Haskell-cafe] Stream fusion and span/break/group/init/tails

2013-04-29 Thread Duncan Coutts
On Thu, 2013-04-25 at 00:52 +0200, Gábor Lehel wrote: On Wed, Apr 24, 2013 at 7:56 PM, Bryan O'Sullivan b...@serpentine.comwrote: On Wed, Apr 24, 2013 at 10:47 AM, Duncan Coutts duncan.cou...@googlemail.com wrote: I address it briefly in my thesis [1], Section 4.8.2. I think it's

Re: [Haskell-cafe] Stream fusion and span/break/group/init/tails

2013-04-29 Thread Duncan Coutts
On Mon, 2013-04-29 at 20:19 +0200, Gábor Lehel wrote: Thanks for the explanation. I looked at your thesis previously, but only read through a couple of sections (including the one about concatMap). I might go through the state machine parts as well now that I know the significance/relevance.

[Haskell-cafe] Haskell training in San Francisco Bay Area and New York

2013-04-25 Thread Duncan Coutts
: June 10-11th, 2013 * Advanced Course: June 12-13th, 2013 * Early bird discount before April 29th -- Duncan Coutts, Haskell Consultant Well-Typed LLP, http://www.well-typed.com/ ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http

Re: [Haskell-cafe] Stream fusion and span/break/group/init/tails

2013-04-24 Thread Duncan Coutts
On Sun, 2013-04-21 at 18:07 -0700, Edward Z. Yang wrote: Hello all, (cc'd stream fusion paper authors) I noticed that the current implementation of stream fusion does not support multiple-return stream combinators, e.g. break :: (a - Bool) - [a] - ([a], [a]). I thought a little bit about

Re: [Haskell-cafe] Stream fusion and span/break/group/init/tails

2013-04-24 Thread Duncan Coutts
On Wed, 2013-04-24 at 10:56 -0700, Bryan O'Sullivan wrote: On Wed, Apr 24, 2013 at 10:47 AM, Duncan Coutts duncan.cou...@googlemail.com wrote: I address it briefly in my thesis [1], Section 4.8.2. I think it's a fundamental limitation of stream fusion. See also concat, where

Re: [Haskell-cafe] unsafeInterleaveST (and IO) is really unsafe

2013-04-18 Thread Duncan Coutts
On Mon, 2013-04-15 at 20:44 +0200, David Sabel wrote: A very interesting discussion, I may add my 2 cents: making unsafeInterleaveIO nondeterministic indeed seems to make it safe, more or less this was proved in our paper:

Re: [Haskell-cafe] cabal sdist warns about optimization levels

2013-01-13 Thread Duncan Coutts
On 13 January 2013 20:27, Petr P petr@gmail.com wrote: to the cabal file. Now cabal sdist complains with: 'ghc-options: -O2' is rarely needed. Check that it is giving a real benefit and not just imposing longer compile times on your users. I wonder: (1) Is there a way how to

Re: [Haskell-cafe] Cabal dependencies

2012-10-06 Thread Duncan Coutts
On 6 October 2012 17:25, José Lopes jose.lo...@ist.utl.pt wrote: OK. But, wouldn't it be possible for xmobar to use mtl-2.0.1.0 and for parsec to use mtl-2.1.1, while xmobar would use this parsec version? In this case, I am assuming that mtl-2.0.1.0 and mtl-2.1.1 are considered two different

Re: [Haskell-cafe] ANN: cabal-install-1.16.0 (and Cabal-1.16.0.1)

2012-10-03 Thread Duncan Coutts
On 3 October 2012 18:22, José Lopes jose.lo...@ist.utl.pt wrote: Hey, I have debian 6.0.5 with GHC version 6.12.1 and base version 4.2.0.0 (although base 3.0.3.2 is also installed). I've pushed a fix for this. We'll wait a couple days to give a chance for other issues to be discovered, and

Re: [Haskell-cafe] not enough fusion?

2012-06-25 Thread Duncan Coutts
On 25 June 2012 02:04, Johannes Waldmann waldm...@imn.htwk-leipzig.de wrote: Dear all, while doing some benchmarking (*) I noticed that function  s1  is considerably faster than  s2 (but I wanted  s2  because it looks more natural) (for n = 1,  s1 takes 20 s, s2 takes 13 s; compiled by

Re: [Haskell-cafe] vector operations

2012-05-29 Thread Duncan Coutts
On 29 May 2012 11:49, Evan Laforge qdun...@gmail.com wrote: Good question.. I copied both to a file and tried ghc-core, but it inlines big chunks of Data.Vector and I can't read it very well, but it looks like the answer is no, it still builds the the list of sums. I guess the next step is to

Re: [Haskell-cafe] Offer to mirror Hackage

2012-04-24 Thread Duncan Coutts
how to do this could configure it. In trying to answer the above question I found this long email thread from 1.5 years ago. Duncan said the following: On Thu, Dec 9, 2010 at 6:47 PM, Duncan Coutts duncan.cou...@googlemail.com wrote: That's certainly what we've been planning

Re: [Haskell-cafe] Announce: Hackager - new version of hackage-test

2012-04-23 Thread Duncan Coutts
Good work David. I used to do something like this for Cabal regression testing but the method I used didn't scale well as hackage grew. I'll look into using your tool next time for testing a major Cabal / cabal-install release. Duncan On 23 April 2012 21:37, David Terei dave.te...@gmail.com

Re: [Haskell-cafe] Hackage 2 maintainership

2012-02-15 Thread Duncan Coutts
On 14 February 2012 10:43, Kirill Zaborsky qri...@gmail.com wrote: I apologize, But does hackage.haskell.org being down for some hours already has something with the process of bringing up Hackage 2? No, completely independent. The server was down for a few hours (and I think restored in the

Re: [Haskell-cafe] Hackage 2 maintainership

2012-02-13 Thread Duncan Coutts
Hi Ben, On 13 February 2012 23:44, Ben Gamari bgamari.f...@gmail.com wrote: Hey all, Those of you who follow the Haskell subreddit no doubt saw today's post regarding the status of Hackage 2. As has been said many times in the past, the primary blocker at this point to the adoption of

Re: [Haskell-cafe] Hackage 2 maintainership

2012-02-13 Thread Duncan Coutts
On 14 February 2012 01:53, Duncan Coutts duncan.cou...@googlemail.com wrote: Hi Ben, On 13 February 2012 23:44, Ben Gamari bgamari.f...@gmail.com wrote: Hey all, Those of you who follow the Haskell subreddit no doubt saw today's post regarding the status of Hackage 2. As has been said many

Re: [Haskell-cafe] [Haskell] Support tools for development with Cabal and Darcs

2012-02-10 Thread Duncan Coutts
On 10 February 2012 12:06, Henning Thielemann lemm...@henning-thielemann.de wrote: I have uploaded three packages to Hackage that shall simplify maintaining cabal packages under darcs revision control. They simplify tasks like uploading packages after some tests, cabal version handling,

Re: [Haskell-cafe] [Haskell] Support tools for development with Cabal and Darcs

2012-02-10 Thread Duncan Coutts
On 10 February 2012 14:00, Henning Thielemann lemm...@henning-thielemann.de wrote: On Fri, 10 Feb 2012, Duncan Coutts wrote: Would you mind giving me a breif explanation of the compiling multiple local packages in the right order feature? I'd like to understand what is missing in cabal

Re: [Haskell-cafe] Mersenne-random and standard random API

2012-02-09 Thread Duncan Coutts
On 9 February 2012 10:59, Aleksey Khudyakov alexey.sklad...@gmail.com wrote: So is it possible to use the fast and efficient mersenne generator with the convenient and general random API? I think design of Random type class basically precludes efficient generators with large periods and

Re: [Haskell-cafe] ST not strict enough?

2011-11-18 Thread Duncan Coutts
On 18 November 2011 13:17, Daniel Fischer daniel.is.fisc...@googlemail.com wrote: On Friday 18 November 2011, 13:05:06, Yves Parès wrote: ...so there is no way to do that inside the function passed to modifySTRef? In other words, there is no way to ensure inside a function that its result will

[Haskell-cafe] Parallel GHC project: new opportunity for an organisation to participate

2011-06-08 Thread Duncan Coutts
directly with the participating organisations and the Simons at GHC HQ. If you think your organisation may be interested then get in touch with me via i...@well-typed.com [1] http://research.microsoft.com/en-us/um/people/simonpj/papers/parallel/remote.pdf -- Duncan Coutts, Haskell Consultant Well

Re: [Haskell-cafe] Status update on {code, trac, projects, planet, community}.haskell.org

2011-02-18 Thread Duncan Coutts
On Thu, 2011-02-17 at 19:30 +0100, Henning Thielemann wrote: Duncan Coutts schrieb: Several people have asked about the new host key. Yes, there is a new RSA host key for the community server, the fingerprint of which is: 21:b8:59:ff:39:69:58:7a:51:ef:c1:d8:c6:24:6e:f7 ssh

Re: [Haskell-cafe] Status update on {code, trac, projects, planet, community}.haskell.org

2011-02-16 Thread Duncan Coutts
On Wed, 2011-02-16 at 02:12 +, Duncan Coutts wrote: We have not yet re-enabled user login accounts, nor re-enabled access to code repositories. We will send a further update when these are re-enabled, or procedures for people to re-enable them are finalised. Logging

Re: [Haskell-cafe] Status update on {code, trac, projects, planet, community}.haskell.org

2011-02-15 Thread Duncan Coutts
On Wed, 2011-02-02 at 01:33 +, Duncan Coutts wrote: All, As you will be aware, some of the *.haskell.org websites have been down recently, specifically: code.haskell.org trac.haskell.org projects.haskell.org planet.haskell.org community.haskell.org [...] We have not yet re

Re: [Haskell-cafe] Cabal license combinations

2011-02-10 Thread Duncan Coutts
On Wed, 2011-02-09 at 03:47 +1300, Vivian McPhail wrote: license: Foo, Bar Could this be computed automatically from the source files by Cabal? I would not want to rely on that. Looking specifically at hmatrix, there are three kinds of modules i) bindings to GSLGPL

Re: [Haskell-cafe] [Cabal-devel] Cabal license combinations

2011-02-10 Thread Duncan Coutts
On Wed, 2011-02-09 at 18:35 -0500, Dan Knapp wrote: I haven't heard anyone mention this yet, and it's a biggie, so I guess I'd better de-lurk and explain it. The issue is this: There is a legal distinction between static and dynamic linking, or at least some licenses (the GPL is the one I'm

Re: [Haskell-cafe] Cabal license combinations

2011-02-10 Thread Duncan Coutts
On Thu, 2011-02-10 at 19:00 +1300, Vivian McPhail wrote: It seems then that a package should be the least restrictive combination of all the licenses in all the contained modules. Omit the words least restrictive and I think you are correct. To combine licences, just aggregate them.

Re: [Haskell-cafe] [Cabal-devel] Cabal license combinations

2011-02-10 Thread Duncan Coutts
On Thu, 2011-02-10 at 12:44 +0100, Stefan Kersten wrote: On 10.02.11 12:12, Duncan Coutts wrote: We are already working on a feature that will show the full set of licenses that the end user must comply with (a patch has been submitted and it's been through one round of review so far

Re: [Haskell-cafe] Cabal license combinations

2011-02-08 Thread Duncan Coutts
On Mon, 2011-02-07 at 14:42 +, Malcolm Wallace wrote: It seems then that a package should be the least restrictive combination of all the licenses in all the contained modules. Omit the words least restrictive and I think you are correct. To combine licences, just aggregate them.

Re: [Haskell-cafe] Status update on {code, trac, projects, planet, community}.haskell.org

2011-02-07 Thread Duncan Coutts
On Wed, 2011-02-02 at 01:33 +, Duncan Coutts wrote: As you will be aware, some of the *.haskell.org websites have been down recently, specifically: code.haskell.org trac.haskell.org projects.haskell.org planet.haskell.org community.haskell.org [...] We have not yet re-enabled user

Re: [Haskell-cafe] Status update on {code, trac, projects, planet, community}.haskell.org

2011-02-03 Thread Duncan Coutts
On Thu, 2011-02-03 at 10:37 +0200, Roman Cheplyaka wrote: * Duncan Coutts duncan.cou...@googlemail.com [2011-02-02 01:33:22+] These are all hosted on the community server. The community server was hacked on the 26th January and we took it offline. The server was running an old version

[Haskell-cafe] Status update on {code, trac, projects, planet, community}.haskell.org

2011-02-01 Thread Duncan Coutts
All, As you will be aware, some of the *.haskell.org websites have been down recently, specifically: code.haskell.org trac.haskell.org projects.haskell.org planet.haskell.org community.haskell.org These are all hosted on the community server. The community server was hacked on the 26th January

Re: [Haskell-cafe] Cabal ignores ld-options? - 2011 remix

2011-01-31 Thread Duncan Coutts
On Mon, 2011-01-31 at 01:13 -0500, Ryan Newton wrote: Ok, I've made some progress in the direction Duncan suggested. I can filter out the extra library before the postConf hook gets it. And calling make from the hooks is pretty easy. I've got a hack working that does allow full

Re: [Haskell-cafe] Cabal ignores ld-options? - 2011 remix

2011-01-30 Thread Duncan Coutts
On Sun, 2011-01-30 at 05:20 -0500, Ryan Newton wrote: I am trying to link a .a file built by a separate makefile into my library. GHC has no problem with it, but I need to convince cabal to do it for the package to be hackage-friendly. There's a thread about this back in 2007:

Re: [Haskell-cafe] Lazy cons, Stream-Fusion style?

2011-01-02 Thread Duncan Coutts
On 2 January 2011 13:35, Stephen Tetley stephen.tet...@gmail.com wrote: Hello all Can a lazy cons be implemented for (infinite) Streams in the Stream-Fusion style? In the standard stream fusion style, all stream operations are strict in the stream itself (that is, the pair of stepper function

Re: [Haskell-cafe] cabal dependency on code repositories.

2010-12-19 Thread Duncan Coutts
On 19 December 2010 17:44, Greg Weber g...@gregweber.info wrote: Michael Snoyman and I were discussing the need for beta releases of Yesod and he encourage me to post this to the cafe. Beta releases could be built into the hackage system. However, this can be viewed as a more general problem

Re: [Haskell-cafe] Cabal message problem.

2010-12-16 Thread Duncan Coutts
On 16 December 2010 13:38, Daniel Fischer daniel.is.fisc...@googlemail.com wrote: The problem is that without upper bounds, things will break a lot when packages undergo API changes, but probably more often things will also work with the new API. So with upper bounds, you prevent breakage at

Re: [Haskell-cafe] Conditional compilation for different versions of GHC?

2010-12-13 Thread Duncan Coutts
On 1 December 2010 03:54, Michael Snoyman mich...@snoyman.com wrote: On Wed, Dec 1, 2010 at 4:07 AM, Thomas Schilling nomin...@googlemail.com wrote: I think a nicer way to solve that issue is to use Cabal's MIN_VERSION macros.  1. Add CPP to your extensions.  This will cause cabal to

Re: [Haskell-cafe] gtk2hs and hmake websites

2010-12-12 Thread Duncan Coutts
On 12 December 2010 20:55, Florian Weimer f...@deneb.enyo.de wrote: So the net effect will be a migration from haskell.org to haskell.cs.yale.edu, and not to community.haskell.org.  I think that's pretty odd, but people will have their reasons for doing it this way. I addition to what Thomas

Re: [Haskell-cafe] Offer to mirror Hackage

2010-12-09 Thread Duncan Coutts
On 9 December 2010 21:04, Richard O'Keefe o...@cs.otago.ac.nz wrote: On 10/12/2010, at 12:18 AM, Markus Läll wrote: My take on the issue is that we should make it possible to easily mirror hackage (what the OP asked for), so that people could use it when they wanted to, and have a list of

Re: [Haskell-cafe] hackage dependencies for cabal setup scripts

2010-12-08 Thread Duncan Coutts
On 8 December 2010 17:02, Sönke Hahn sh...@cs.tu-berlin.de wrote: Hi! If you write a cabal setup script with user hooks, is there a way to tell cabal-install that the setup script itself depends on some package from hackage? (The dependency would be cabal-macosx in my case.) No, the Cabal

Re: [Haskell-cafe] Offer to mirror Hackage

2010-12-07 Thread Duncan Coutts
On 4 December 2010 16:31, Dan Knapp dan...@gmail.com wrote: With Hackage down, now seemed like a good time to push this issue again.  It's such an important site to us that it's really rather a shame there are no mirrors of it.  I have a personal-and-business server in a data center in Newark,

Re: [Haskell-cafe] Cabal, xmonad-contrib, X11-xft, pkg-config ... questioning my sanity

2010-12-06 Thread Duncan Coutts
On 6 December 2010 11:02, Jacek Generowicz jacek.generow...@cern.ch wrote: It a appears that a program which does not exist on my computer seems to insist on a package version which does not exist in my universe, I'm starting to wonder whether I have lost my marbles. Could some kind soul

Re: [Haskell-cafe] Cabal, xmonad-contrib, X11-xft, pkg-config ... questioning my sanity

2010-12-06 Thread Duncan Coutts
On 6 December 2010 14:48, Jacek Generowicz jacek.generow...@cern.ch wrote: Another thing that would probably have made it easier to understand: the message is strictly correct, but is *too* specific: it talks about pkg-config version =0.9.0 not being found, while the problem was that *no

Re: [Haskell-cafe] build-type: configure on windows

2010-11-11 Thread Duncan Coutts
On 11 November 2010 11:23, Nils Schweinsberg m...@n-sch.de wrote: Configuring pcre-light-0.4... cabal: Missing dependency on a foreign library: * Missing C library: pcre On 11 November 2010 12:41, Stephen Tetley stephen.tet...@gmail.com wrote: Do you have the headers installed as

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, since

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 niklas.brob...@gmail.com wrote: What I want specifically is to have happy produce a GLR parser from my .ly file, and I want this to happen

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, returns a

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 ps.hask...@gmail.com 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

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 p.giarru...@gmail.com wrote: On Sun, Sep 12, 2010 at 20:46, Tillmann Rendel ren...@mathematik.uni-marburg.de wrote: Paolo Giarrusso wrote: in a tracker entry you linked to, http://hackage.haskell.org/trac/hackage/ticket/704, duncan argues that we

Re: [Haskell-cafe] Hackage package download count

2010-09-09 Thread Duncan Coutts
On 9 September 2010 14:56, Tony Hannan tonyhann...@gmail.com 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:

Re: [Haskell-cafe] A cabal odyssey

2010-08-20 Thread Duncan Coutts
On 19 August 2010 21:15, Andrew Coppin andrewcop...@btinternet.com 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

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

2010-08-20 Thread Duncan Coutts
On 20 August 2010 10:18, Christopher Done chrisd...@googlemail.com 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

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

2010-08-20 Thread Duncan Coutts
On 20 August 2010 14:20, Johannes Waldmann waldm...@imn.htwk-leipzig.de 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

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

2010-08-18 Thread Duncan Coutts
On 13 August 2010 15:49, Johannes Waldmann waldm...@imn.htwk-leipzig.de 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

Re: [Haskell-cafe] and from standard Prelude

2010-08-18 Thread Duncan Coutts
On 18 August 2010 10:05, Oleg Lobachev lobac...@mathematik.uni-marburg.de 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

Re: [Haskell-cafe] and from standard Prelude

2010-08-18 Thread Duncan Coutts
On 18 August 2010 13:29, Oleg Lobachev lobac...@mathematik.uni-marburg.de 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

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

2010-08-18 Thread Duncan Coutts
On 18 August 2010 12:55, Johannes Waldmann waldm...@imn.htwk-leipzig.de wrote: Duncan Coutts duncan.coutts at 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 though that it seems

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

2010-08-18 Thread Duncan Coutts
On 18 August 2010 15:04, Michael Snoyman mich...@snoyman.com 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

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

2010-08-18 Thread Duncan Coutts
On 18 August 2010 15:13, Johannes Waldmann waldm...@imn.htwk-leipzig.de wrote: Duncan Coutts duncan.coutts at 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 the design principle

Re: [Haskell-cafe] A cabal odyssey

2010-08-18 Thread Duncan Coutts
On 18 August 2010 18:13, Andrew Coppin andrewcop...@btinternet.com 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

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 con...@metadecks.org 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

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 duncan.cou...@googlemail.com wrote: On 29 July 2010 07:53, Conrad Parker con...@metadecks.org 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 duncan.cou...@googlemail.com wrote: On Thu, 2010-07-29 at 19:01 +0900, Conrad Parker wrote: On 29 July 2010 17:46, Duncan Coutts duncan.cou...@googlemail.com wrote: On 29 July 2010 07:53, Conrad

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 ps.hask...@gmail.com 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

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 jpmores...@gmail.com wrote: On Fri, Jul 2, 2010 at 12:34 PM, Duncan Coutts dun...@well-typed.com 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

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 people

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

2010-07-02 Thread Duncan Coutts
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. -- Duncan Coutts, Haskell Consultant Well-Typed LLP, http://www.well-typed.com

Re: [Haskell-cafe] Re: Mining Twitter data in Haskell and Clojure

2010-06-24 Thread Duncan Coutts
On 24 June 2010 13:10, Simon Marlow marlo...@gmail.com wrote: On 17/06/2010 06:23, braver wrote: I'll work with Simon to investigate the runtime, but would welcome any ideas on further speeding up cafe4. An update on this: with the help of Alex I tracked down the problem (an integer

Re: [Haskell-cafe] Rewriting a famous library and using the same name: pros and cons

2010-06-23 Thread Duncan Coutts
On 23 June 2010 19:57, Gregory Crosswhite gcr...@phys.washington.edu wrote: cabal is the only mechanism that the vast majority of Haskell-users know how to use these days. Resolving diamond dependencies safely relies on knowing tha tthe use of different libraries is entirely internal to the

Re: [Haskell-cafe] Rewriting a famous library and using the same name: pros and cons

2010-06-23 Thread Duncan Coutts
On Wed, 2010-06-23 at 21:05 -0400, Gregory Crosswhite wrote: On 6/23/10 8:06 PM, Duncan Coutts wrote: Consider an example where we want to avoid using two versions of a dependency: The htar program depends on the tar and zlib packages. The tar and zlib packages depend on bytestring

Re: [Haskell-cafe] Has anybody tried to upgrade Cabal on HP (Win 7)

2010-06-18 Thread Duncan Coutts
On 18 June 2010 15:48, Daniel Kahlenberg d.kahlenb...@googlemail.com wrote: Hello, I recently installed HP 2010.1.0.0 within Windows 7 and wanted to upgrade the Cabal package to 1.8.0.6 today, sadly I got stuck on a failure building the directory package. So I tried to isolate the messages

Re: [Haskell-cafe] How to set a GHC option for a single module and a specific version of GHC?

2010-06-07 Thread Duncan Coutts
On 5 June 2010 09:28, Bernie Pope florbit...@gmail.com wrote: Hi, I'm looking for a way to set a GHC compile option on a specific module (not every module in the program) but only for a specific version of GHC. Ideally within the confines of cabal, and in a portable way. GHC provides the

Re: [Haskell-cafe] cabal: problem building ffi shared library and significance of __stginit

2010-05-19 Thread Duncan Coutts
On Tue, 2010-05-18 at 17:31 -0400, Anthony LODI wrote: Hello, I'm trying to build some haskell code as a .so/.dll so that it can ultimately be used by msvc. I have it working when I compile by hand (listed below) but I can't get the exact same thing built/linked with cabal. On linux

Re: [Haskell-cafe] Windows 7 Permission Denied Problem on Cabal

2010-05-17 Thread Duncan Coutts
On 17 May 2010 09:37, Phyx loneti...@gmail.com wrote: The other approach I like much better is instead of doing global installs, do user installs. In fact, I made it my default. Which solves any permission error, but means every user on that machine has to install the libs separately which

[Haskell-cafe] Well-Typed are hiring

2010-05-10 Thread Duncan Coutts
for the job. We are more than happy to answer informal enquiries. Contact Duncan Coutts or Ian Lynagh for further information, either by email or IRC. The deadline for applications is Friday 11 June 2010. -- Duncan Coutts, Haskell Consultant Well-Typed LLP, http://www.well-typed.com

Re: [Haskell-cafe] Re: GSoC: Improving Cabal's Test Support

2010-04-28 Thread Duncan Coutts
On 28 April 2010 09:24, Richard G. richa...@richardg.name wrote: I think that formatted plain-text output would be much better than XML, something that is human-readable and relatively easy to parse via machine.  Something similar to the GHC error output would work well because developers are

Re: [Haskell-cafe] Re: GSoC: Improving Cabal's Test Support

2010-04-28 Thread Duncan Coutts
On Wed, 2010-04-28 at 09:55 -0700, Rogan Creswick wrote: On Wed, Apr 28, 2010 at 8:19 AM, Duncan Coutts duncan.cou...@googlemail.com wrote: Yes, it means the testing agent (cabal-install or some other program/system) can do more than simply run all the tests. It means it can enumerate

[Haskell-cafe] ANNOUNCE: c2hs 0.16.2

2010-04-23 Thread Duncan Coutts
All, c2hs version 0.16.2 is out and is available from hackage http://hackage.haskell.org/package/c2hs The only significant change in this release is that it works with ghc-6.12. Note that it is not currently possible to bind to C functions that use long double as the corresponding Haskell type

Re: [Haskell-cafe] Cabal dependency hell

2010-04-12 Thread Duncan Coutts
On Sun, 2010-04-11 at 18:43 +0200, Maciej Piechotka wrote: * Build reporting in the hackage server The idea here is that cabal sends back anonymous reports to the server to say if a package compiled or not, and against what versions of dependencies. This would

Re: [Haskell-cafe] Cabal dependency hell

2010-04-12 Thread Duncan Coutts
On Sun, 2010-04-11 at 14:28 -0700, Jason Dagit wrote: I've noticed another type of diamond dependency problem. Suppose I build and install Foo today and it depends on Bar 2.0.0. In a week, I install Bar 2.0.1. Next I installed Baz that also depends on Bar, and it gets Bar 2.0.1. When I

Re: [Haskell-cafe] Cabal update problem

2010-04-12 Thread Duncan Coutts
On Fri, 2010-02-19 at 12:21 +0100, Maciej Podgurski wrote: Hi, after updating to cabal-install-0.8.0/Cabal-1.8.0.2 with GHC 6.10.4, I always get an error when updating the package list: cabal update Downloading the latest package list from hackage.haskell.org cabal:

[Haskell-cafe] Re: GSoC proposal: Extend Cabal Preprocessors.

2010-04-11 Thread Duncan Coutts
On Thu, 2010-04-08 at 22:10 -0400, Diego Echeverri wrote: Hi! I finish writing my proposal (maybe a bit too late). I would be glad to read any feedback. Hi Diego, Generally a good proposal. It would be great for Cabal's Simple build system to be able deal with pre-processor chaining and

Re: [Haskell-cafe] Cabal-install

2010-04-11 Thread Duncan Coutts
On Mon, 2010-03-08 at 17:33 +, Andrew Coppin wrote: Miguel Mitrofanov wrote: See http://www.haskell.org/cabal/ for more information. ^ | + Oh, sure, like I haven't already tried *that*. ;-) BTW, for future reference, the

Re: [Haskell-cafe] Cabal dependency hell

2010-04-11 Thread Duncan Coutts
On Mon, 2010-03-08 at 13:33 +, Maciej Piechotka wrote: While I love Haskell it's packaging system have some problems - especially with parsec. Currently I'm not able to install an practically anything using cabal due to version mismatches (or at least packages linking to both version of

Re: [Haskell-cafe] Multiple versions of a cabal package Or what's the right way to update?

2010-04-11 Thread Duncan Coutts
On Sun, 2010-03-14 at 17:50 +0100, david fries wrote: Dear Caféistas I desperately need your collective knowledge I have been working on porting the haskell-platform to the FreeBSD operating system for a while now and some versioning issues have come up. FreeBSD is still running on

Re: [Haskell-cafe] passing cpp options to c2hs from cabal

2010-04-11 Thread Duncan Coutts
On Mon, 2010-03-01 at 10:07 -0500, Chris Casinghino wrote: This works great, thanks! As a footnote: I doubt I will be the only one is confused because cc-options get passed to c2hs but cpp-options don't. Perhaps the cabal designers should revisit this choice. I mostly agree. What is a bit

Re: [Haskell-cafe] Alternative dependencies in Cabal file

2010-04-11 Thread Duncan Coutts
On Fri, 2010-03-19 at 00:34 +0100, Henning Thielemann wrote: Matthias Reisner schrieb: Thanks, I missed that the flags are set dynamically if a dependency cannot be satisfied. Only cabal-install does this, plain Cabal only takes flags that were set by the user. No, plain Cabal does it

Re: [Haskell-cafe] developing against privately patched libraries, and cabal

2010-04-11 Thread Duncan Coutts
On Sun, 2010-03-21 at 13:15 -0400, Leon Smith wrote: As somebody who's hacked on cabal-install a bit (but don't have a worthwhile patch to contribute (yet?)), I can tell you that versions support a tag structure, at least internally, but I haven't seen a non-empty tags field and don't know

Re: [Haskell-cafe] libraries and executables in cabal

2010-04-11 Thread Duncan Coutts
On Thu, 2010-03-25 at 14:52 +0100, Paul Brauner wrote: Hi, i'm working on a project made of - lots of modules - one excutable importing these modules - another excutable importing these same modules I don't especially want to expose those modules as libraries, especially on

  1   2   3   4   5   6   7   8   9   10   >