I have been meaning to get into haskell on my machine for a while but cannot find a good tutorial that explains the structure and syntax of the language that appeals to complete novices like myself. please post.submitted by EndGameLoot
[link] [6 comments]
It hasn't been generating any documentation for any of my packages for at least three days now. What's going on? When's it gonna be fixed?submitted by nikita-volkov
[link] [9 comments]
I've been working on some Haskell board games as a learning exercise, using Gloss for the interface. The main program is an implementation of HexDame (a hex-grid version of draughts), with some basic game-tree-searching AI. Here's where it's at, if you're curious:
The game tree search is fairly slow. I thought I'd switch to an infinite tree data structure for the game tree, to effectively cache the results of previous frames' searches. Unfortunately this made my program explode with memory usage, which was somewhat surprising.
I read a few days ago that someone discovered a memory leak in Gloss, where it was hanging on to every frame's state. Checking the Gloss Github (https://github.com/benl23x5/gloss) I see that this was fixed in August, but I don't know if the fix is present in the current 1.8.2 version that I installed via Cabal.
I'd like to try out the current head version of Gloss to see if the memory leak I'm experiencing is fixed. I'm working on Windows, and I'm fairly new to working with Cabal. I installed the Haskell Platform 2014.2 and then ran 'cabal install gloss' and that was it.
Can anyone point me to info about how I would go about installing Gloss as a library that I build from source? I've heard about Cabal sandboxing but I'm not sure how one does it.
Thanks, Jamessubmitted by mcneja
[link] [5 comments]