Re: [Haskell-cafe] [ANN] Bindings to Xen Control (xenctrl.h)

2008-06-01 Thread Don Stewart
thomas.dubuisson: All, I'm just getting started with hsXenCtrl [1] as both a fun way to play with Xen and become proficient with Haskell FFI. Once I get my community.haskell.org account squared away I'll likely setup a public darcs repo (and a homepage somewhere). As for modules: I intend

[Haskell-cafe] Re: appending an element to a list

2008-06-01 Thread apfelmus
Tillmann Rendel wrote: Abhay Parvate wrote: I think I would like to make another note: when we talk about the complexity of a function, we are talking about the time taken to completely evaluate the result. Otherwise any expression in haskell will be O(1), since it just creates a thunk. I

Re: [Haskell-cafe] modelling C in Haskell ..

2008-06-01 Thread Galchin, Vasili
my knowledge of point-free is from category theory. in what sense is Haskell point-free handle namespace pollution? Kind regards, Vasili On Fri, May 30, 2008 at 3:23 AM, Jonathan Cast [EMAIL PROTECTED] wrote: On 30 May 2008, at 12:29 AM, Galchin, Vasili wrote: compactness in writing and

[Haskell-cafe] Re: hmatrix

2008-06-01 Thread Alberto Ruiz
Anatoly Yakovenko wrote: What is the most efficient way to update a position in a matrix or a vector? I came up with this: updateVector :: Vector Double - Int - Double - Vector Double updateVector vec pos val = vec `add` v2 where v2 = fromList $ (replicate (pos) 0.0) ++ ((val - (vec @

[Haskell-cafe] Re: hmatrix

2008-06-01 Thread Anatoly Yakovenko
do you have any plans to provide an interface for inplace updates? On Sun, Jun 1, 2008 at 3:20 AM, Alberto Ruiz [EMAIL PROTECTED] wrote: Anatoly Yakovenko wrote: What is the most efficient way to update a position in a matrix or a vector? I came up with this: updateVector :: Vector Double

[Haskell-cafe] [ANNOUNCE] git-darcs-import 0.1

2008-06-01 Thread Bertram Felgenhauer
Hi, I'm pleased to announce yet another tool for importing darcs repositories to git. Unlike darcs2git [1] and darcs-to-git [2], it's written in Haskell, on top of the darcs2 source code. The result is a much faster program - it can convert the complete ghc 6.9 branch (without libraries) in less

Re: [Haskell-cafe] Ghc / cgi static linking

2008-06-01 Thread Don Stewart
pieter: Hello, I'm researching the use of Haskell to replace some perl scripts (in a web app). The app is deployed with a webhosting provider. CGI scripts can be executed = I can use Haskell. I've tried some hello world cgi scripts, compiled them on the same linux the hosting company

[Haskell-cafe] Ghc / cgi static linking

2008-06-01 Thread Pieter Laeremans
Hello, I'm researching the use of Haskell to replace some perl scripts (in a web app). The app is deployed with a webhosting provider. CGI scripts can be executed = I can use Haskell. I've tried some hello world cgi scripts, compiled them on the same linux the hosting company uses and deployed

Re: [Haskell-cafe] Ghc / cgi static linking

2008-06-01 Thread Peter Gammie
On 02/06/2008, at 5:26 AM, Don Stewart wrote: pieter: Yes, it is entirely possible to statically link entire CGI apps. You might want to watch out for a bug in GHC 6.8.2 that means GHC's - static flag doesn't work. (At least for me, at least on Debian: the - lpthread flag is passed before

Re: [Haskell-cafe] Ghc / cgi static linking

2008-06-01 Thread Don Stewart
peteg42: On 02/06/2008, at 5:26 AM, Don Stewart wrote: pieter: Yes, it is entirely possible to statically link entire CGI apps. You might want to watch out for a bug in GHC 6.8.2 that means GHC's - static flag doesn't work. (At least for me, at least on Debian: the - lpthread flag is

Re: [Haskell-cafe] haskell compiler on NetBSD amd64

2008-06-01 Thread Donn Cave
On Sat, 10 May 2008 10:35:12 +0100 Emil Skoeldberg [EMAIL PROTECTED] wrote: On Fri, May 09, 2008 at 10:21:19PM -0700, Donn Cave wrote: So here I am with 64 bit Athlon hardware, running amd64 NetBSD (a.k.a. x86_64), reasonably motivated to compile Haskell. So, we are in the same boat

Re: [Haskell-cafe] haskell compiler on NetBSD amd64

2008-06-01 Thread Don Stewart
donn: On Sat, 10 May 2008 10:35:12 +0100 Emil Skoeldberg [EMAIL PROTECTED] wrote: On Fri, May 09, 2008 at 10:21:19PM -0700, Donn Cave wrote: So here I am with 64 bit Athlon hardware, running amd64 NetBSD (a.k.a. x86_64), reasonably motivated to compile Haskell. So, we are in

Re: [Haskell-cafe] haskell compiler on NetBSD amd64

2008-06-01 Thread Donn Cave
On Sun, 1 Jun 2008 19:34:10 -0700 Don Stewart [EMAIL PROTECTED] wrote: Great work, let's get it up on the download page, http://haskell.org/ghc/download_ghc_682.html Suits me, but now that I've had a chance to compile a little more Haskell with it, I think I might like to fix up a

Re: [Haskell-cafe] [ANN] Bindings to Xen Control (xenctrl.h)

2008-06-01 Thread Thomas M. DuBuisson
Don, I'll throw future work ideas in the next releases cabal. The most obvious doors opened are Haskell rewrites of the current Xen infrastructure (virt-install, xm, xend). Slightly more interesting tasks could be (warning: random thoughts): 1) HAPPS server that can manage Xen domains (without

Re: [Haskell-cafe] Re: appending an element to a list

2008-06-01 Thread Abhay Parvate
I somehow thought it would be easy to talk about complexity of calculating individual elements in an infinite list should be sufficient, but that seems to be involved, and my over-generalization doesn't seem to work. Thanks for the link; particularly it has reference to Wadler's papers exactly on

[Haskell-cafe] ghc 6.8.2 issue

2008-06-01 Thread Galchin, Vasili
Hello, I have been developing new code for the unix package. I have run into what I think are ghc 6.8.2 anomalies but couldn't see a pattern. Possibly now I do. I have been using the 32-bit x86 ghc binary that I downloaded from http://www.haskell.org and running on Ubuntu Linux. I am pretty