Re: [Haskell-cafe] XCode Dependency for HP on Mac - old XCode versions

2011-07-27 Thread Clive Brettingham-Moore
To get XCode on my 10.6 machine, I... I had quite a hunt recently to find the most recent XCode for my not-so-recent mac... so I'll share what I found: If you are a registered developer (free reg is fine) with apple go to http://connect.apple.com/ Hit the link to developer tools, and you will

Re: [Haskell-cafe] about Haskell code written to be too smart

2009-03-24 Thread Clive Brettingham-Moore
Code like that is why I love Haskell, while I haven't written a Haskell program in years it is still a joy to read (much more so than the pretty good zipWith version). In reference to later comments: if you don't know Monads, you don't know Haskell; that goes double for high order functions. So

Re: [Haskell-cafe] Instance classes and error (also, related to Data.Binary.GET)

2008-01-03 Thread Clive Brettingham-Moore
Like the previous no experience with Data.Binary, but my (rusty) monad experience is enough to see the source of the problem: bbrown wrote: The issue stems from here, it says I didn't define an instance, but I did: instance Binary URLSet where put _ = do BinaryPut.putWord8 0 get = do

[Haskell-cafe] Re: [Haskell] Re: About Random Integer without IO

2004-11-11 Thread Clive Brettingham-Moore
This really really should have moved to haskell-cafe as previously suggested (sending to both with this in mind); apologies for being a little confising to haskell-cafe This isn't a language design issue, it is a FAQ, or at best a nebulous conceptual debate (speaking of which, has anyone got

Re: [Haskell-cafe] Pruning the tree

2004-07-04 Thread Clive Brettingham-Moore
t =Leaf 1 treeGrower :: Tree String- Tree String treeGrower (Leaf a )= treeGrower (Fork (Leaf (a++1)) (Leaf (a++2))) treeGrower (Fork l r) = Fork (treeGrower l) (treeGrower r) data Tree a = Fork (Tree a) (Tree a) | Leaf a deriving Show inf=treeGrower t Welcome to Haskell programming -

Re: [Haskell-cafe] HToolkit HSQL on Windows/GHC

2004-03-28 Thread Clive Brettingham-Moore
Doesn't MySql listen on a port? Is that protocol documented? I've used postgresql that way from Haskell. Yes It's usually operated through a TCP/IP (port 3306), and I'd contemplated this, but I was hoping for something standard and off the shelf. Another thought, which I hesitate to even

[Haskell-cafe] HToolkit HSQL on Windows/GHC

2004-03-24 Thread Clive Brettingham-Moore
I realise that this is a little technical for this list, but I thought that I'd check here before starting on the hard-core lists. Is there an easy way to build the HToolkit HSQL library for GHC (6.0.1 when I tried, 6.2.1 now) on windows (particularly MySQL/Windows XP, but I wont say no to