Re: [Haskell-cafe] GHC 6.6.1 binary package for Ubuntu available?

2007-08-31 Thread Sukit Tretriluxana
Thanks! On 8/31/07, Thomas Hartman <[EMAIL PROTECTED]> wrote: > > > you may find this helpful. (with link) > > http://www.haskell.org/pipermail/haskell-cafe/2007-April/024137.html > > > > *"Sukit Tretriluxana" <[EMAIL PROTECTED]>* > Sent by: [EMAIL PROTECTED] > > 08/31/2007 12:19 PM > To > hask

Re: [Haskell-cafe] GHC 6.6.1 binary package for Ubuntu available?

2007-08-31 Thread Paulo Tanimoto
Dear Ed, GHC 6.6.1 is available for the upcoming Ubuntu release (Gutsy). http://packages.ubuntu.com/gutsy/devel/ghc6 I personally like to set up a chroot environment for these things, so here's what I have: $ ghc --version The Glorious Glasgow Haskell Compilation System, version 6.6.1 Paulo

[Haskell-cafe] wanted: HAppS example combining state and io

2007-08-31 Thread Thomas Hartman
In the latest happs (darcs pulled, updated head is 0.9.1 iirc), I am experimenting with the example file in src/HAppS/Examples/HTTP1.hs. I would like to combine state with io. Eventually io will mean stuff like reading from a database, but for now I'm just reading a file. The example file HTTP1

[Haskell-cafe] Re: interaction between OS processes

2007-08-31 Thread Krzysztof Kościuszkiewicz
On Fri, Aug 31, 2007 at 11:31:38AM +0200, Andrea Rossato wrote: > Thanks for your kind attention, but I don't think it's a matter of > buffering (I indeed tried playing with hSetBuffering with no results). That is because you need to change output buffering on both ends. I don't know about haskel

Re: [Haskell-cafe] let and fixed point operator

2007-08-31 Thread Brandon S. Allbery KF8NH
On Aug 31, 2007, at 16:01 , Sterling Clover wrote: In particular for a function -- n, m, etc or x, y, etc? What about for f' defined in a let block of f? If I use x y at the top level I need to use another set below -- is that where x' y' are more appropriate, or x1, y1? Usual style is x

Re: [Haskell-cafe] let and fixed point operator

2007-08-31 Thread Sterling Clover
On this topic, I'm just now teaching myself Haskell and am running into a whole range of stylistic questions like this. My big bad Java habits tend towards long camelCase function names, which I'm trying to wean myself off. But the variable conventions are the real issue. As far as I can tell, if y

Re: [Haskell-cafe] let and fixed point operator

2007-08-31 Thread Andrew Coppin
Paul Hudak wrote: ok wrote: What is so bad about f x = g x'' where x'' = x' + transform x' = x * scale (if you really hate inventing temporary names, that is). There's nothing at all wrong with this, assuming it's what you meant to type :-), and it might even correspon

[Haskell-cafe] Re: trouble compiling regex posix head (I think >0.92) on ghc 6.7

2007-08-31 Thread Ian Lynagh
On Thu, Aug 30, 2007 at 07:04:21PM -0400, Thomas Hartman wrote: > > I had no idea what HsRegexPosixConfig was, and I have no such file at all. I believe autoreconf will make HsRegexPosixConfig.h.in, and configure will then make HsRegexPosixConfig.h. > > Text/Regex/Posix.hs:57:2: > > Warning

Re: [Haskell-cafe] let and fixed point operator

2007-08-31 Thread Andrew Coppin
[EMAIL PROTECTED] wrote: Anyway, I believe strongly that ALL people who have problems with the Haskell protocole, and they are numerous, I teach a good sample of them, should be encouraged to learn Prolog. IN DEPTH, and I mean it, Andrew Coppin and Peter Hercek ! In Prolog A=B is the unification,

Re: [Haskell-cafe] trying to install gutsy's libghc6-mtl-dev from source on feisty

2007-08-31 Thread Anatoly Yakovenko
that makes no difference, it just builds the package without actually switching to root, otherwise you are doing unnecessary work with extra privileges. On 8/31/07, Thomas Hartman <[EMAIL PROTECTED]> wrote: > > > did you have a look at the pupeno blog link? He suggests using fakeroot > apt-get sou

Re: [Haskell-cafe] trying to install gutsy's libghc6-mtl-dev from source on feisty

2007-08-31 Thread Thomas Hartman
did you have a look at the pupeno blog link? He suggests using fakeroot apt-get source build. Not sure why the fakeroot, but perhaps it makes a difference. thomas. "Anatoly Yakovenko" <[EMAIL PROTECTED]> 08/31/2007 01:56 PM To Thomas Hartman/ext/[EMAIL PROTECTED] cc haskell-cafe@haskell.o

Re: [Haskell-cafe] trying to install gutsy's libghc6-mtl-dev from source on feisty

2007-08-31 Thread Anatoly Yakovenko
yea, i built the deb from gutsy's deb-src repository using apt-get source --build. i am trying to figure out why that deb that i build doesn't work On 8/31/07, Thomas Hartman <[EMAIL PROTECTED]> wrote: > > > you may want to generate the .deb rather than take the deb that was > packaged for gutsy.

Re: [Haskell-cafe] trying to install gutsy's libghc6-mtl-dev from source on feisty

2007-08-31 Thread Thomas Hartman
you may want to generate the .deb rather than take the deb that was packaged for gutsy. http://www.haskell.org/pipermail/haskell-cafe/2007-April/024137.html pupeno's guide to do this: http://pupeno.com/2006/12/17/unstable-packages-on-ubuntu/ "Anatoly Yakovenko" <[EMAIL PROTECTED]> Sent b

[Haskell-cafe] trying to install gutsy's libghc6-mtl-dev from source on feisty

2007-08-31 Thread Anatoly Yakovenko
i have ghc6_6.6.1-2ubuntu2_i386.deb and ghc6-prof_6.6.1-2ubuntu2_i386.deb installed, but i cant seem to get mtl to install, can someone tell me what this output means? i just switched to a debian based system from gentoo, so i dont grok dpkg yet: [EMAIL PROTECTED]:~$ sudo dpkg -i libghc6-mtl-dev

Re: [Haskell-cafe] GHC 6.6.1 binary package for Ubuntu available?

2007-08-31 Thread Thomas Hartman
you may find this helpful. (with link) http://www.haskell.org/pipermail/haskell-cafe/2007-April/024137.html "Sukit Tretriluxana" <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 08/31/2007 12:19 PM To haskell-cafe@haskell.org cc Subject [Haskell-cafe] GHC 6.6.1 binary package for Ubuntu avail

Re: [Haskell-cafe] GHC 6.6.1 binary package for Ubuntu available?

2007-08-31 Thread Thomas Hartman
you may find this helpful. "Sukit Tretriluxana" <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 08/31/2007 12:19 PM To haskell-cafe@haskell.org cc Subject [Haskell-cafe] GHC 6.6.1 binary package for Ubuntu available? Hi, I am wondering if there is the binary package for GHC 6.6.1 for U

[Haskell-cafe] GHC 6.6.1 binary package for Ubuntu available?

2007-08-31 Thread Sukit Tretriluxana
Hi, I am wondering if there is the binary package for GHC 6.6.1 for Ubuntu. I searched in the package manager and I only see the version 6.6. Thanks, Ed ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haske

Re: [Haskell-cafe] let and fixed point operator

2007-08-31 Thread Paul Hudak
ok wrote: What is so bad about f x = g x'' where x'' = x' + transform x' = x * scale (if you really hate inventing temporary names, that is). There's nothing at all wrong with this, assuming it's what you meant to type :-), and it might even correspond perfectly to the

[Haskell-cafe] Re: let and fixed point operator

2007-08-31 Thread Johan Grönqvist
[EMAIL PROTECTED] skrev: Anyway, I believe strongly that ALL people who have problems with the Haskell protocole, and they are numerous, I teach a good sample of them, should be encouraged to learn Prolog. IN DEPTH, Do you have a recommendation on how to do this? (e.g., books, web-pages, (ava

Re: [Haskell-cafe] gtk library installation from ubuntu repository

2007-08-31 Thread Duncan Coutts
On Fri, 2007-08-31 at 20:32 +0530, Vikrant wrote: > Hi, >I am using ubuntu 7.04. If I try to install libghc6-gtk-dev package > using apt-get (or aptitude) my installation hangs at following stage > > building GHCi > library /usr/lib/haskell-packages/ghc6/lib/gtk-0.9.10.5/HSgtk.o... It's a pac

[Haskell-cafe] gtk library installation from ubuntu repository

2007-08-31 Thread Vikrant
Hi, I am using ubuntu 7.04. If I try to install libghc6-gtk-dev package using apt-get (or aptitude) my installation hangs at following stage building GHCi library /usr/lib/haskell-packages/ghc6/lib/gtk- 0.9.10.5/HSgtk.o... it doesn;t move later and machine just slogs! Then I have no other way

Re: [Haskell-cafe] Re: interaction between OS processes

2007-08-31 Thread Andrea Rossato
On Fri, Aug 31, 2007 at 12:23:42AM +, Aaron Denney wrote: > On 2007-08-30, Andrea Rossato <[EMAIL PROTECTED]> wrote: > > Hi, > > > > there's something I don't get about interaction among OS processes and > > Haskell handles/channels. > > This looks like a buffering problem. You might be able