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
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
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
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
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 -
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
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