[Haskell-cafe] Re: building encoding on Windows?

2010-04-01 Thread John Lato
From: Andrew Coppin andrewcop...@btinternet.com A new version is due to be release pretty soon (somewhere begin april). It has Mingw and Msys included, and also some pre-built binaries like cabal and haddock. Plain GHC has included Haddock for a while now. It seems to me that including the

Re: [Haskell-cafe] [OT?] Haskell-inspired functions for BASH

2010-04-01 Thread Joachim Breitner
Hi, Am Mittwoch, den 31.03.2010, 20:05 -0400 schrieb Patrick LeBoutillier: Basically I'm looking for a bit of feedback/info: - Does anyone know if there are already similar projets out there? just similar, not the same:

[Haskell-cafe] OT: the format checker for ICFP 2010 papers, help!

2010-04-01 Thread Iustin Pop
This is off-topic, apologies in advance, but I hope people here have experience with this. I submitted a paper for ICFP but the paper checker says: “Margins too small: text block bigger than maximum 7in x 9in on pages 1–6 by 4–5% in at least one dimension”. Now, I've used the standard class file

[Haskell-cafe] Integers v ints

2010-04-01 Thread Jens Blanck
I was wondering if someone could give me some references to when and why the choice was made to default integral numerical literals to Integer rather than to Int in Haskell. Also, if you are aware of similar discussions in other languages. I'd like to use this information to make an analogous

RE: [Haskell-cafe] Re: why doesn't time allow diff of localtimes ?

2010-04-01 Thread Bayley, Alistair
bri...@aracnet.com Maciej Piechotka uzytkown...@gmail.com wrote: On Wed, 2010-03-31 at 19:29 -0700, bri...@aracnet.com wrote: wagne...@seas.upenn.edu wrote: Two values of LocalTime may well be computed with respect to different timezones, which makes the operation you ask

Re: [Haskell-cafe] Integers v ints

2010-04-01 Thread Ivan Lazar Miljenovic
Jens Blanck jens.bla...@gmail.com writes: I was wondering if someone could give me some references to when and why the choice was made to default integral numerical literals to Integer rather than to Int in Haskell. My guess is precision: some numeric calculations (even doing a round on some

Re: [Haskell-cafe] benchmarking pure code

2010-04-01 Thread Paul Brauner
Ok, thank you for all your answers. I'm going to use NFData as advised by everyone. Paul On Wed, Mar 31, 2010 at 10:38:50AM -0700, Bryan O'Sullivan wrote: On Wed, Mar 31, 2010 at 4:12 AM, Paul Brauner paul.brau...@loria.fr wrote: Thank you, I will look at that. But it seems that criterion

[Haskell-cafe] Intro to Haskell Crypto Libs

2010-04-01 Thread Günther Schmidt
Hi all, I'm just starting with Haskells Crypto Libs. Is there a good intro to the subject? I intend to use it for license key generation. Günther ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org

Re: [Haskell-cafe] Where are the haskell elders?

2010-04-01 Thread John Goerzen
Ivan Miljenovic wrote: 2010/3/30 Don Stewart d...@galois.com: I notice that posts from the Haskell elders are pretty rare now. Only every now and then we hear from them. How come? Because there is too much noise on this list, Günther And they have better things to do than answer stupid

Re: [Haskell-cafe] Intro to Haskell Crypto Libs

2010-04-01 Thread briand
On Thu, 01 Apr 2010 14:14:42 +0200 Günther Schmidt gue.schm...@web.de wrote: Hi all, I'm just starting with Haskells Crypto Libs. Is there a good intro to the subject? I intend to use it for license key generation. Applied Cryptography http://www.schneier.com/book-applied.html Brian

[Haskell-cafe] Re: Where are the haskell elders?

2010-04-01 Thread Günther Schmidt
Hi all, it could simply be because the medium has changed. I mean a lot of people now seem to have their own websites or blogs. Which would make sense when you want to present a more elaborate piece of work. Is there a listing of sorts for all Haskell-relevant blogs? Günther

RE: [Haskell-cafe] Re: Where are the haskell elders?

2010-04-01 Thread Sittampalam, Ganesh
Günther Schmidt wrote: Is there a listing of sorts for all Haskell-relevant blogs? http://planet.haskell.org Ganesh === Please access the attached hyperlink for an important electronic communications disclaimer:

Re: [Haskell-cafe] OT: the format checker for ICFP 2010 papers, help!

2010-04-01 Thread Wouter Swierstra
Hi Iustin, cc-Stephanie, I submitted a paper for ICFP but the paper checker says: “Margins too small: text block bigger than maximum 7in x 9in on pages 1–6 by 4–5% in at least one dimension”. Now, I've used the standard class file and template, didn't alter any of the margins/columns

[Haskell-cafe] new focus for Happstack

2010-04-01 Thread Jeremy Shaw
Hello, I've been thinking a lot recently about the direction and future of the Happstack project. These days we hear a lot about technologies to allow servers to push data, such as Comet, Ajax Push, Reverse Ajax, Two-way-web, HTTP Streaming, and HTTP server push among others. HTML 5 includes

Re: [Haskell-cafe] [OT?] Haskell-inspired functions for BASH

2010-04-01 Thread Jeremy Shaw
How about: http://www.cse.unsw.edu.au/~dons/h4sh.html It brings a lot of familiar Haskell functions to the command-line. And *is* actually written in Haskell ;) - jeremy On Wed, Mar 31, 2010 at 6:05 PM, Patrick LeBoutillier patrick.leboutill...@gmail.com wrote: Hi all, I've been studying

Re: [Haskell-cafe] [OT?] Haskell-inspired functions for BASH

2010-04-01 Thread Thomas Davie
Unfortunately though, h4sh seems to be broken, for one, there's no fps package (apparently required), and hsplugins won't build with 6.12.1. Bob On 1 Apr 2010, at 15:41, Jeremy Shaw wrote: How about: http://www.cse.unsw.edu.au/~dons/h4sh.html It brings a lot of familiar Haskell

Re: [Haskell-cafe] [OT?] Haskell-inspired functions for BASH

2010-04-01 Thread Jeremy Shaw
fps is what we now call bytestring. Alas, hsplugins is dead. hsplugins is useful, but needs to be rewritten for modern GHC :( - jeremy On Thu, Apr 1, 2010 at 9:02 AM, Thomas Davie tom.da...@gmail.com wrote: Unfortunately though, h4sh seems to be broken, for one, there's no fps package

[Haskell-cafe] Re: new focus for Happstack

2010-04-01 Thread Michael Snoyman
Lots of fun, thanks ;) On Thu, Apr 1, 2010 at 7:31 AM, Jeremy Shaw jer...@n-heptane.com wrote: Hello, I've been thinking a lot recently about the direction and future of the Happstack project. These days we hear a lot about technologies to allow servers to push data, such as Comet, Ajax

Re: [Haskell-cafe] new focus for Happstack

2010-04-01 Thread John A. De Goes
Although you are joking, I've said it before and I'll say it again: server-side web development is dead. Everything that can be pushed to the client will be. Which leaves the server mainly for low-level persistence, data analysis, and anything requiring security. Static template-driven web

Re: [Haskell-cafe] OT: the format checker for ICFP 2010 papers, help!

2010-04-01 Thread Thomas Schilling
Do you perhaps have some text that run into the margins? If I have references of the form Longname~\emph{et~al.}~\cite{foobar} Latex does not know how to split this up the text extends into the margins. A similar problem might occur for verbatim sections. I submitted a paper based on the

Re: [Haskell-cafe] Integers v ints

2010-04-01 Thread Jens Blanck
On 1 April 2010 10:53, Ivan Lazar Miljenovic ivan.miljeno...@gmail.comwrote: Jens Blanck jens.bla...@gmail.com writes: I was wondering if someone could give me some references to when and why the choice was made to default integral numerical literals to Integer rather than to Int in

Re: [Haskell-cafe] Where are the haskell elders?

2010-04-01 Thread gladstein
Perhaps without spewing it to thousands of readers while you're at it? Ahem. ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Re: GSOC Haskell Project

2010-04-01 Thread Mihai Maruseac
So, should I change the topic of the project to stack traces instead of visual GUI representation? If this were the case, I will have to find a way to represent those traces in a way that even a beginner can read and understand (my GUI approach was for the beginners). -- Mihai Maruseac On Wed,

[Haskell-cafe] ANN: fastirc 0.2.0

2010-04-01 Thread Ertugrul Soeylemez
[For some reason, my Mail to the 'haskell' list was rejected. I have contacted the mailing list owner and am posting here instead.] Hello there fellow Haskellers, I'm developing a library called 'fastirc' for fast and convenient Internet Relay Chat (IRC) software development. It uses

Re: [Haskell-cafe] OT: the format checker for ICFP 2010 papers, help!

2010-04-01 Thread Iustin Pop
On Thu, Apr 01, 2010 at 05:25:44PM +0100, Thomas Schilling wrote: Do you perhaps have some text that run into the margins? If I have references of the form Longname~\emph{et~al.}~\cite{foobar} Latex does not know how to split this up the text extends into the margins. A similar problem might

Re: [Haskell-cafe] [OT?] Haskell-inspired functions for BASH

2010-04-01 Thread Gwern Branwen
On Thu, Apr 1, 2010 at 11:13 AM, Jeremy Shaw jer...@n-heptane.com wrote: fps is what we now call bytestring. Alas, hsplugins is dead. hsplugins is useful, but needs to be rewritten for modern GHC :( - jeremy I never looked into hsplugins too carefully. Did it offer anything that Hint doesn't

Re: [Haskell-cafe] [OT?] Haskell-inspired functions for BASH

2010-04-01 Thread Jeremy Shaw
On Thu, Apr 1, 2010 at 10:59 AM, Gwern Branwen gwe...@gmail.com wrote: On Thu, Apr 1, 2010 at 11:13 AM, Jeremy Shaw jer...@n-heptane.com wrote: fps is what we now call bytestring. Alas, hsplugins is dead. hsplugins is useful, but needs to be rewritten for modern GHC :( - jeremy I never

Re: [Haskell-cafe] Re: GSOC Haskell Project

2010-04-01 Thread Thomas Schilling
The DrScheme debugger shows backtraces as arrows in the source code. It took some getting used to, but it doesn't seem like a bad idea. I believe Leksah has some sort of graphical frontend for the GHCi debugger, but I haven't tried it out myself yet. Maybe you can build on top of that. Stack

Re: [Haskell-cafe] Re: GSOC Haskell Project

2010-04-01 Thread Max Bolingbroke
I still believe that it would much simpler to get some stack traces out of GHC by just reporting what chain of thunks we are currently forcing when we get an error. This just requires a way of reifying the existing STG stack in some user-readable way. What it doesn't give you is lexical call

Re: [Haskell-cafe] Re: GSOC Haskell Project

2010-04-01 Thread Mihai Maruseac
Hmm, interesting. If I intend to give it a try, will there be a mentor for a GSOC project? Or should I start doing it alone? On Thu, Apr 1, 2010 at 8:37 PM, Max Bolingbroke batterseapo...@hotmail.com wrote: I still believe that it would much simpler to get some stack traces out of GHC by just

Re: [Haskell-cafe] Re: GSOC Haskell Project

2010-04-01 Thread Thomas Schilling
On 1 Apr 2010, at 18:39, Mihai Maruseac wrote: Hmm, interesting. If I intend to give it a try, will there be a mentor for a GSOC project? Or should I start doing it alone? I'm sure Simon Marlow could mentor you except maybe if there are too many GHC-related GSoC projects. I could do mentor

[Haskell-cafe] ANN: spec2code

2010-04-01 Thread Greg Fitzgerald
After 5 years of RD, I’m proud to announce the spec2code compiler. With spec2code, developers no longer need to acknowledge the mundane details of programming, such as memory allocation, bounds-checking, byte ordering, inheritance models or performance tuning. spec2code uses the latest techniques

[Haskell-cafe] The 8 Most Important GSoC Projects

2010-04-01 Thread Don Stewart
While at ZuriHac, a few of us GSoC mentors got together to discuss what we think the most important student projects for the summer should be. Here's the list: http://donsbot.wordpress.com/2010/04/01/the-8-most-important-haskell-org-gsoc-projects/ Please consider applying to work on these

Re: [Haskell-cafe] OT: the format checker for ICFP 2010 papers, help!

2010-04-01 Thread Wouter Swierstra
I just thought I'd pass on Stephanie's response, as she couldn't post to the list: It looks like the SIGPLAN class file has gotten out of sync with the paper requirements and is producing a slightly too large textblock. I just checked the template (filled out with random text) against the

[Haskell-cafe] ANN: New wxHaskell

2010-04-01 Thread Daniel Fischer
I've uploaded a new wx-suite, wxdirect-0.12.1.3, wxcore-0.12.1.4, wx-0.12.1.4, wx now builds with ghc-6.10 and ghc-6.12, sorry for breaking 6.10 earlier. ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org

Re: [Haskell-cafe] Re: GSOC Haskell Project

2010-04-01 Thread Max Bolingbroke
On 1 April 2010 18:58, Thomas Schilling nomin...@googlemail.com wrote: On 1 Apr 2010, at 18:39, Mihai Maruseac wrote: Hmm, interesting. If I intend to give it a try, will there be a mentor for a GSOC project? Or should I start doing it alone? I'm sure Simon Marlow could mentor you except

[Haskell-cafe] Announce: hothasktags

2010-04-01 Thread Luke Palmer
Hi, I'd like to draw attention to a little script I wrote. I tend to use qualified imports and short names like new and filter. This makes hasktags pretty much useless, since it basically just guesses which one to go to. hothasktags is a reimplementation of hasktags that uses haskell-src-exts

Re: [Haskell-cafe] Re: GSOC Haskell Project

2010-04-01 Thread Simon Marlow
On 01/04/10 21:41, Max Bolingbroke wrote: On 1 April 2010 18:58, Thomas Schillingnomin...@googlemail.com wrote: On 1 Apr 2010, at 18:39, Mihai Maruseac wrote: Hmm, interesting. If I intend to give it a try, will there be a mentor for a GSOC project? Or should I start doing it alone? I'm

[Haskell-cafe] Immix GC as a Soc proposal

2010-04-01 Thread Marco Túlio Gontijo e Silva
Hi. I've written a Google Summer of Code proposal for implementing the Immix Garbage Collector in GHC[0]. It's not on dons list of the 8 most important projects[1], but I only saw that list after the proposal is done. I'd like to hear comments about it, specially about its relevance, since it's

Re: [Haskell-cafe] Immix GC as a Soc proposal

2010-04-01 Thread Thomas Schilling
In my opinion the project would be worthwhile even if it's not in the Top 8. Mentors vote on the accepted projects based both on the priority of the project and the applying student, so it's probably not a bad idea to apply for other projects as well so you don't put all your stakes on just a

Re: [Haskell-cafe] The 8 Most Important GSoC Projects

2010-04-01 Thread Stephen Tetley
Hello All I had a little experiment along the lines of A Package Versioning Policy Checker a few months ago. I got as far as using Haskell-src-exts to extract module export list, but didn't work out out a hashing scheme for the actual type signatures. The project is minimal, but it does have

[Haskell-cafe] replicateM over vectors

2010-04-01 Thread Scherrer, Chad
Hi, I'd like to be able to do replicateM, but over a vector instead of a list. Right now I'm doing this: import qualified Data.Vector.Generic as G import qualified Data.Vector.Unboxed.Mutable as M replicateM n action = do mu - M.unsafeNew n let go !i | i n = action = M.unsafeWrite mu i

Re: [Haskell-cafe] Re: GSOC Haskell Project

2010-04-01 Thread Mihai Maruseac
Then I will apply to it. Thanks for this opportunity. I will get into a documentation period for the next days and will come back with a full application. -- Mihai On Thu, Apr 1, 2010 at 11:53 PM, Simon Marlow marlo...@gmail.com wrote: On 01/04/10 21:41, Max Bolingbroke wrote: On 1 April

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

2010-04-01 Thread Thomas Tuegel
Hello community! I've been working on a proposal for Google Summer of Code 2010 to work on improving Cabal's test support, as described on the Haskell SoC Trac [1]. Today I'm looking for feedback to see if what I intend is what people want/need. As you read this, I kindly ask that you consider:

Re: [Haskell-cafe] Haskell.org re-design

2010-04-01 Thread Christopher Done
On 31 March 2010 12:01, Johan Tibell johan.tib...@gmail.com wrote: - There are several news streams going on at once. Perhaps Headlines and Events could be merged into one stream. After watching the Hackage RSS feed every day I don't know if it's interesting enough to put on a front page.

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

2010-04-01 Thread Rogan Creswick
On Thu, Apr 1, 2010 at 3:52 PM, Thomas Tuegel ttue...@gmail.com wrote: I propose to build a test suite as its own executable, but to avoid the problem of granularity by producing an output file detailing the success or failure of individual tests and any relevant error messages.  The format

Re: [Haskell-cafe] replicateM over vectors

2010-04-01 Thread Don Stewart
Chad.Scherrer: Hi, I'd like to be able to do replicateM, but over a vector instead of a list. Right now I'm doing this: import qualified Data.Vector.Generic as G import qualified Data.Vector.Unboxed.Mutable as M replicateM n action = do mu - M.unsafeNew n let go !i | i n =

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

2010-04-01 Thread Ivan Lazar Miljenovic
Thomas Tuegel ttue...@gmail.com writes: There have been two separate suggestions (of which I am aware) of ways to integrate tests into Cabal. One is to build the tests into their own executable which uses an error code on exit to indicate test failure. I personally prefer this suggestion:

Re: [Haskell-cafe] The 8 Most Important GSoC Projects

2010-04-01 Thread Ivan Lazar Miljenovic
Stephen Tetley stephen.tet...@gmail.com writes: I had a little experiment along the lines of A Package Versioning Policy Checker a few months ago. I got as far as using Haskell-src-exts to extract module export list, but didn't work out out a hashing scheme for the actual type signatures.

Re: [Haskell-cafe] replicateM over vectors

2010-04-01 Thread Roman Leshchinskiy
On 02/04/2010, at 12:16, Don Stewart wrote: Chad.Scherrer: Hi, I'd like to be able to do replicateM, but over a vector instead of a list. Right now I'm doing this: The operation you are looking for is called newWith. It probably should be called replicate. Roman? Can we generate frozen

Re: [Haskell-cafe] The 8 Most Important GSoC Projects

2010-04-01 Thread Don Stewart
ivan.miljenovic: Stephen Tetley stephen.tet...@gmail.com writes: I had a little experiment along the lines of A Package Versioning Policy Checker a few months ago. I got as far as using Haskell-src-exts to extract module export list, but didn't work out out a hashing scheme for the actual

Re: [Haskell-cafe] The 8 Most Important GSoC Projects

2010-04-01 Thread Ivan Lazar Miljenovic
Don Stewart d...@galois.com writes: Well, you can 'script' GHC: [snip] To at least get the fully qualified types exported from a module. Which increases the portability _how_ precisely? :p -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com IvanMiljenovic.wordpress.com

Re: [Haskell-cafe] replicateM over vectors

2010-04-01 Thread Don Stewart
rl: replicate :: Int - a - New a replicate n x = Generic.New.unstream (Fusion.Stream.replicate n x) and then either Mutable.run (replicate n x) to get a mutable vector or new (replicate n x) Hmm, but here 'a' is pure. I don't think he wants newWith :: (PrimMonad m, MVector

Re: [Haskell-cafe] The 8 Most Important GSoC Projects

2010-04-01 Thread Don Stewart
ivan.miljenovic: Don Stewart d...@galois.com writes: Well, you can 'script' GHC: [snip] To at least get the fully qualified types exported from a module. Which increases the portability _how_ precisely? :p Portability? You already have GHC on the machine, right? You don't

Re: [Haskell-cafe] The 8 Most Important GSoC Projects

2010-04-01 Thread Ivan Lazar Miljenovic
Don Stewart d...@galois.com writes: Portability? You already have GHC on the machine, right? You don't necessarily need the GHC API to get something prototyped quickly. I meant in the sense of writing this as a tool, which will also work if the user prefers JHC, YHC, etc. over GHC. -- Ivan

Re: [Haskell-cafe] The 8 Most Important GSoC Projects

2010-04-01 Thread Jason Dagit
On Thu, Apr 1, 2010 at 7:10 PM, Ivan Lazar Miljenovic ivan.miljeno...@gmail.com wrote: Don Stewart d...@galois.com writes: Portability? You already have GHC on the machine, right? You don't necessarily need the GHC API to get something prototyped quickly. I meant in the sense of writing

Re: [Haskell-cafe] replicateM over vectors

2010-04-01 Thread Roman Leshchinskiy
On 02/04/2010, at 13:01, Don Stewart wrote: rl: replicate :: Int - a - New a replicate n x = Generic.New.unstream (Fusion.Stream.replicate n x) and then either Mutable.run (replicate n x) to get a mutable vector or new (replicate n x) Hmm, but here 'a' is pure. I don't

Re: [Haskell-cafe] Haskell.org re-design

2010-04-01 Thread Twan van Laarhoven
Christopher Done wrote: That's true, it's a nice idea but in practice it's hard to know where to focus. I've gone with a left nav. I've built up the HTML which is cross-browser (ie6/7/8/opera/firefox/safari/chrome compat), still need to add some bits but I can tomorrow import it into a wikimedia

Re: [Haskell-cafe] Haskell.org re-design

2010-04-01 Thread Ben Millwood
On Fri, Apr 2, 2010 at 12:40 AM, Christopher Done chrisd...@googlemail.com wrote: That's true, it's a nice idea but in practice it's hard to know where to focus. I've gone with a left nav. I've built up the HTML which is cross-browser (ie6/7/8/opera/firefox/safari/chrome compat), still need to

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

2010-04-01 Thread Jason Dagit
On Thu, Apr 1, 2010 at 6:13 PM, Rogan Creswick cresw...@gmail.com wrote: On Thu, Apr 1, 2010 at 3:52 PM, Thomas Tuegel ttue...@gmail.com wrote: At this point, the package author need only run: $ ./Setup configure $ ./Setup build $ ./Setup test My general feeling has been that Setup

Re: [Haskell-cafe] Haskell.org re-design

2010-04-01 Thread Ben Millwood
On Fri, Apr 2, 2010 at 4:36 AM, Ben Millwood hask...@benmachine.co.uk wrote: The easiest thing to do on visiting the website is read about why Haskell is so great, and where to find out how to use it. Uhm, I meant the easiest thing *should be* reading about... Sorry about that.

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

2010-04-01 Thread Ivan Lazar Miljenovic
Jason Dagit da...@codersbase.com writes: What I don't understand is how it's possible for the discrepancy to happen. It's as if ./Setup and cabal-install use different algorithms for dependency resolution, but as I understand it, both should be using the Cabal library for that. My only other

[Haskell-cafe] (no subject)

2010-04-01 Thread Vasili I. Galchin
* * * * * * * More o BigCharts o Virtual Stock Exchange o FiLife.com o WSJ Asia o WSJ Europe o WSJ Portuguese o WSJ Spanish o WSJ Chinese o WSJ Japanese o WSJ Radio