[Haskell-cafe] first the platform, the cabal

2009-09-20 Thread Peter J. Veger
I just installed the Haskell Platform 2009.2.0.2 on Windows. There is no cabal.exe, only Cabal-1.6.0.3 How to continue: build cabal? Then what to download from where and what to execute? greetings, Peter J. Veger, Best Netherlands ___

[Haskell-cafe] TFM09: Call for Participation (FMWeek, Eindhoven, November 2009)

2009-09-20 Thread J.N. Oliveira
TFM2009 2nd Int. FME Conference on Teaching Formal Methods Friday, November 6th 2009, co-located with FM2009 : 16th Int. Symposium on Formal Methods Eindhoven, the Netherlands, November 2 -

Re: [Haskell-cafe] Re: Is it safe to use unsafePerformIO here?

2009-09-20 Thread Cristiano Paris
On Sat, Sep 19, 2009 at 6:53 PM, Ben Franksen ben.frank...@online.de wrote: Cristiano Paris wrote: Daniel Fischer wrote: I would separate the reading of headers and bodies, reopening the files whose body is needed, for some (maybe compelling) reason he wants to do it differently. Yes,

Re: [Haskell-cafe] first the platform, the cabal

2009-09-20 Thread Martin Huschenbett
Hello Peter, cabal.exe is locatated in extralibs\bin. On my machine the installer added this directory to the PATH, too. Regards, Martin. Peter J. Veger schrieb: I just installed the Haskell Platform 2009.2.0.2 on Windows. There is no cabal.exe, only Cabal-1.6.0.3 How to continue: build

Re: [Haskell-cafe] How to generate random string?

2009-09-20 Thread mf-hcafe-15c311f0c
does this compile at all? i don't think i understand the first line. anyway, a few hints: - if you want to have all numbers between 0..n in your output for some n, just in random order, google for permutation. - perhaps you can generate the output in an ordered fashion first, eg.

[Haskell-cafe] Building com-1.2.3

2009-09-20 Thread Andrew Coppin
C:\com-1.2.3runhaskell Setup configure Configuring com-1.2.3... Setup: Missing dependencies on foreign libraries: * Missing header file: include/WideStringSrc.h * Missing C libraries: kernel32, user32, ole32, oleaut32, advapi32 This problem can usually be solved by installing the system packages

[Haskell-cafe] [ANN] histogram-fill, library for creating hitograms

2009-09-20 Thread Khudyakov Alexey
Hello. I'm glad to announce library for filling histograms. Its purpose to provide generic and convenient API and be fast. Features list: * Allows to fill many histograms at once. I used it to fill about hundred. * It provide support for arbitrary binning algorithm. Currently there are

Re: [Haskell-cafe] [ANN] histogram-fill, library for creating hitograms

2009-09-20 Thread Don Stewart
alexey.skladnoy: Hello. I'm glad to announce library for filling histograms. Its purpose to provide generic and convenient API and be fast. Features list: * Allows to fill many histograms at once. I used it to fill about hundred. * It provide support for arbitrary binning

Re: [Haskell-cafe] first the platform, the cabal

2009-09-20 Thread Don Stewart
veger: I just installed the Haskell Platform 2009.2.0.2 on Windows. There is no cabal.exe, only Cabal-1.6.0.3 How to continue: build cabal? Then what to download from where and what to execute? It does come with the cabal executable. Maybe it isn't in your path? -- Don

Re: [Haskell-cafe] Haskell Weekly News: Issue 131 - September 19, 2009

2009-09-20 Thread Andrew Coppin
Joe Fredette wrote: Haskell Weekly News http://sequence.complete.org/hwn/20090918 Issue 131 - September 18, 2009 Does anybody else get page not found for this URL? ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org

Re: [Haskell-cafe] Haskell Weekly News: Issue 131 - September 19, 2009

2009-09-20 Thread Joe Fredette
Ahh, I found the issue. I generated this on the 18th, the software makes files of the form yearmonthdate.ext, so when Brent uploaded the hwn for me, the link it generates is to the date it was generated on, not the date it was published on. The appropriate link is

Re: [Haskell-cafe] [ANN] histogram-fill, library for creating hitograms

2009-09-20 Thread Khudyakov Alexey
В сообщении от Воскресенье 20 сентября 2009 22:03:42 вы написали: alexey.skladnoy: Hello. ... skipped ... Where can we get the code? :) http://hackage.haskell.org/package/histogram-fill-0.1.0 -- Don (who thinks it is interesting that hackage is now implied) It's so easy

RE: [Haskell-cafe] first the platform, the cabal

2009-09-20 Thread Peter J. Veger
Martin Huschenbett told me: cabal.exe is locatated in extralibs\bin. On my machine the installer added this directory to the PATH, too. Thanks you both for your answers greetings, Peter J. Veger, Best Netherlands -Original Message- From: Don Stewart [mailto:d...@galois.com] Sent:

[Haskell-cafe] GHC will not let me install

2009-09-20 Thread James Michael Stephens
I am trying to install Xmonad on my Mac. I download GHC installer for mac the .dmg from Haskell.org and when I install it gets stuck here [img]http://www.jmstephens.99k.org/picture.png[/img] As you can see the install button is grey and will not let me click

Re: [Haskell-cafe] GHC will not let me install

2009-09-20 Thread Don Stewart
jmstephens: I am trying to install Xmonad on my Mac. I download GHC installer for mac the .dmg from Haskell.org and when I install it gets stuck here [img]http://www.jmstephens.99k.org/picture.png[/img] As you can see the install button is grey and will not let me click it. Are you running

[Haskell-cafe] Cabal packages - cabbages

2009-09-20 Thread Jason Dusek
Some day, we're going to need a short, catchy name for Cabal packages. Let's call them cabbages. -- Jason Dusek ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Cabal packages - cabbages

2009-09-20 Thread Jeff Wheeler
On Sun, Sep 20, 2009 at 5:11 PM, Jason Dusek jason.du...@gmail.com wrote:  Some day, we're going to need a short, catchy name for Cabal  packages. Let's call them cabbages. +1 Yes, let's. Jeff Wheeler ___ Haskell-Cafe mailing list

Re: [Haskell-cafe] Cabal packages - cabbages

2009-09-20 Thread Joe Fredette
I also agree. Hackage should also be renamed to something appropriate. The Cabbage Patch? On Sep 20, 2009, at 6:12 PM, Jeff Wheeler wrote: On Sun, Sep 20, 2009 at 5:11 PM, Jason Dusek jason.du...@gmail.com wrote: Some day, we're going to need a short, catchy name for Cabal packages.

Re: [Haskell-cafe] Cabal packages - cabbages

2009-09-20 Thread Jason Dusek
File extension ideas: .choux -- My favorite. .kohl -- Less characters. .cbz-- More conventional. .cbg.gz, .cbg.bz2 -- Allows one to be specific about -- compression. The last one

Re: [Haskell-cafe] Cabal packages - cabbages

2009-09-20 Thread Jason Dusek
2009/09/20 Joe Fredette jfred...@gmail.com: I also agree. Hackage should also be renamed to something appropriate. The Cabbage Patch? +1 -- Jason Dusek ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org

Re: [Haskell-cafe] Cabal packages - cabbages

2009-09-20 Thread Jeff Wheeler
On Sun, Sep 20, 2009 at 5:20 PM, Joe Fredette jfred...@gmail.com wrote: The Cabbage Patch? 'Patch' is pretty well defined, so using it here seems somewhat awkward and confused to me. Plus, I don't think we really want to sound childish, and the first thing I think of is the cabbage patch kid

Re: [Haskell-cafe] Cabal packages - cabbages

2009-09-20 Thread Don Stewart
jeff: On Sun, Sep 20, 2009 at 5:20 PM, Joe Fredette jfred...@gmail.com wrote: The Cabbage Patch? 'Patch' is pretty well defined, so using it here seems somewhat awkward and confused to me. Plus, I don't think we really want to sound childish, and the first thing I think of is the

[Haskell-cafe] Type Families

2009-09-20 Thread Alexander Solla
(I'm using a fixed width font, so if you don't see nice formatting, you need to use a fixed width font. This is literate Haskell, but I copied and pasted the code. YMMV) Hi Everybody! (Hi Dr. Nick) I've been looking for a good way to use some richer notions of polymorphism than

Re: [Haskell-cafe] Type Families

2009-09-20 Thread Dan Doel
On Sunday 20 September 2009 9:43:53 pm Alexander Solla wrote: But I more-or-less expected that to fail. I realize I need some more typing information. What am I supposed to fill in? My next guess was value (SumValue (Sum a b)) = (value $ Value a) + (value $ Value b) But Value

Re: [Haskell-cafe] Type Families

2009-09-20 Thread Felipe Lessa
On Sun, Sep 20, 2009 at 06:43:53PM -0700, Alexander Solla wrote: data Add a b = Add a b instance ( Evaluate a , Evaluate b ) = Evaluate (Add a b) where Okay. data Value (Sum a b) = SumValue (Sum a b) Hmmm, have you tried data Value (Add a b) = AddValue

Re: [Haskell-cafe] GHC will not let me install

2009-09-20 Thread Gregory Collins
Don Stewart d...@galois.com writes: jmstephens: I am trying to install Xmonad on my Mac. I download GHC installer for mac the .dmg from Haskell.org and when I install it gets stuck here [img]http://www.jmstephens.99k.org/picture.png[/img] As you can see the install button is grey and will