Re: [Haskell-cafe] Mutable data within a (non-IO) monad

2009-10-02 Thread Gregory Crosswhite
Sorry to reply to my own posting, but... AHA! I see now what's going on. The purpose of the rank-2 qualifier is to prevent STRefs from leaking outside of the runST call, and what the code does at the lowest level is that it passes around a token "state" object to force the compiler to cor

Re: [Haskell-cafe] Market Place for Haskell development teams?

2009-10-02 Thread Brandon S. Allbery KF8NH
On Oct 2, 2009, at 18:46 , Edward Kmett wrote: On Fri, Oct 2, 2009 at 10:54 AM, John A. De Goes wrote: On Oct 1, 2009, at 12:13 AM, Curt Sampson wrote: And as far as something like dealing with a changing language and libraries, the mainstream already has well-established and popular techniqu

[Haskell-cafe] Re: ANNOUNCE: SourceGraph 0.5.2.0

2009-10-02 Thread Ivan Lazar Miljenovic
Christian Maeder writes: > Ivan Lazar Miljenovic wrote: > installation went well, but I get a rather uninformative error message > for 505 source files: > > cabal build: > > [505 of 505] Compiling Main :o There is no way that there's 505 source files in SourceGraph... and I just did a cle

[Haskell-cafe] Mutable data within a (non-IO) monad

2009-10-02 Thread Gregory Crosswhite
Hey everyone, I am thinking about creating a particular data structure with an immutable and mutable version. The key of my problem is that I would like the user to be able to work with a mutable version of the data within a non-IO monad and then get an immutable value at the end, allowi

Re: [Haskell-cafe] Market Place for Haskell development teams?

2009-10-02 Thread Edward Kmett
On Fri, Oct 2, 2009 at 10:54 AM, John A. De Goes wrote: > On Oct 1, 2009, at 12:13 AM, Curt Sampson wrote: > > And as far as something like dealing with a changing language and >> libraries, the mainstream already has well-established and popular >> techniques for doing just: agile development.

Re: [Haskell-cafe] Market Place for Haskell development teams?

2009-10-02 Thread Robert Greayer
Fairly late to the party on this discussion, but this captured my attention: On Tue, Sep 29, 2009 at 11:35 AM, Curt Sampson wrote: > > This may be somewhat anecdotal evidence, but I disagree with both > of your statements here. I've rarely known anybody to use Java > cross-platform in a non-triv

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

2009-10-02 Thread Ben Franksen
Hong Yang wrote: > Good libraries are not enough for a language to go beyond mere existence. > There must exist good documents, i.e., good tutorials, good books, and > good explanations and examples in the libraries, etc, that are easy for > people to learn and use. In my humble opinion, Haskell ha

Re: [Haskell-cafe] Haskell for Physicists

2009-10-02 Thread Stephen Tetley
Hi Edgar No-one seems to have pointed you to the Maestro: http://users.info.unicaen.fr/~karczma/arpap/ The quantum mechanics one might be the most directly useful, but they are all great reads: http://users.info.unicaen.fr/~karczma/arpap/hasiqm.pdf Best wishes Stephen 2009/9/30 : > Hi, > > I

Re: [Haskell-cafe] Designing a DSL?

2009-10-02 Thread Jake McArthur
Günther Schmidt wrote: And that I find to be the really tricky part, how do I *design* a DSL? My favorite approach is something like as described in these: http://lukepalmer.wordpress.com/2008/07/18/semantic-design/ http://conal.net/papers/type-class-morphisms/ It takes a little bit of ti

[Haskell-cafe] Designing a DSL?

2009-10-02 Thread Günther Schmidt
Hi, there are numerous examples on how to implement a DSL, but I haven't been able to figure out how to "design" one. I mean I have a pretty good idea of the problem domain, I've coded it over and over again until I got it right. Now I'd like to express that part as a DSL instead of "hard

[Haskell-cafe] Re: ANNOUNCE: SourceGraph 0.5.2.0

2009-10-02 Thread Christian Maeder
Ivan Lazar Miljenovic wrote: > Yes, this is yet another SourceGraph announcement, this time for version > 0.5.2.0 [1]. > > [1] http://hackage.haskell.org/package/SourceGraph-0.5.2.0 installation went well, but I get a rather uninformative error message for 505 source files: cabal build: [50

Re: [Haskell-cafe] Market Place for Haskell development teams?

2009-10-02 Thread John Van Enk
> "Sorry boss, but we're just not going to be able to meet that deadline, > because, well, a language extension we were using was dropped from the > language, and the syntax for some core operators was changed. Not only is > our code broken, but many of the libraries we were using are broken. Don't

Re: [Haskell-cafe] Market Place for Haskell development teams?

2009-10-02 Thread John A. De Goes
I'm not saying Haskell is unstable. I'm saying that the attitude expressed in the following quote is at odds with the needs of business: "And as far as something like dealing with a changing language and libraries, the mainstream already has well-established and popular techniques for doi

Re: [Haskell-cafe] Market Place for Haskell development teams?

2009-10-02 Thread John A. De Goes
On Oct 1, 2009, at 9:56 AM, Curt Sampson wrote: The main whinging seems to be about libraries, of which we have "only" 1585 on hackage. It's not just about the _number_ of libraries, but the _usefulness_ of them for solving real-world problems. Haskell has a large number of libraries that

Re: [Haskell-cafe] Market Place for Haskell development teams?

2009-10-02 Thread minh thu
2009/10/2 John A. De Goes : > On Oct 1, 2009, at 12:13 AM, Curt Sampson wrote: > >> And as far as something like dealing with a changing language and >> libraries, the mainstream already has well-established and popular >> techniques for doing just: agile development. > > A project manager's worst

Re: [Haskell-cafe] Market Place for Haskell development teams?

2009-10-02 Thread John A. De Goes
On Oct 1, 2009, at 12:13 AM, Curt Sampson wrote: And as far as something like dealing with a changing language and libraries, the mainstream already has well-established and popular techniques for doing just: agile development. A project manager's worst nightmare: "Sorry boss, but we're just

Re: [Haskell-cafe] Haskell for Physicists

2009-10-02 Thread John D. Ramsdell
"Haskell for closing the gap between specification and code" On Wed, Sep 30, 2009 at 1:42 PM, wrote: > Hi, > > I will give a seminar to physicists at USP (Universidade de São Paulo, > Brazil) university and they asked me for a good title, something that can > attract physicists. Anyone has som

[Haskell-cafe] ANNOUNCE: SourceGraph 0.5.2.0

2009-10-02 Thread Ivan Lazar Miljenovic
Yes, this is yet another SourceGraph announcement, this time for version 0.5.2.0 [1]. [1] http://hackage.haskell.org/package/SourceGraph-0.5.2.0 The changes in this release are as follows: * Shift overall analysis to the top and per-module analysis to the end, as suggested by Duncan Coutts. *

Re: [Haskell-cafe] Market Place for Haskell development teams?

2009-10-02 Thread Thomas Hartman
correction, happstutorial is now tutorial.happstack.com. 2009/10/2 Thomas Hartman : > Hey, first of all, in terms of a platform for promoting haskell > commercially, happstutorial.com actually implements a job board. > > Yeah, it's primitive and not feature complete, but on hackage, open > source,

Re: [Haskell-cafe] Market Place for Haskell development teams?

2009-10-02 Thread Thomas Hartman
Hey, first of all, in terms of a platform for promoting haskell commercially, happstutorial.com actually implements a job board. Yeah, it's primitive and not feature complete, but on hackage, open source, and ready for anyone who would like to work on it. (Currently maintained by creighton hogg.)