News aggregator

Any good linux haskell tutorials?

Haskell on Reddit - Mon, 11/17/2014 - 6:10pm

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]
Categories: Incoming News

Up to 15 fully-funded doctoral studentships in CS atOxford

General haskell list - Mon, 11/17/2014 - 4:06pm
Dear all, My department has just received a big award from Google, which will mostly be spent on DPhil student scholarships. The topic is open to anything the dept works in, but I would particularly welcome strong students in functional programming. Please pass this around to anyone you think might be interested, or ask me if you'd like to know more. Thanks! * Following a generous donation by Google, the Department of Computer Science at the University of Oxford is delighted to invite applications for up to 15 fully-funded DPhil (Oxford'ss PhD) studentships tenable from 1st October 2015. http://www.cs.ox.ac.uk/files/6952/studentshipad.pdf The University of Oxford is consistently ranked amongst the very best Computer Science departments in the world, for both teaching and research. We are committed to attracting the world's most talented students and working with them to continue the success of the department. The topics for the studentships are open, but should relate to the interests of one of t
Categories: Incoming News

How I Start: Haskell

Haskell on Reddit - Mon, 11/17/2014 - 9:15am
Categories: Incoming News

[ANN] elevator: getting to a top of a monadtransformer stack

haskell-cafe - Mon, 11/17/2014 - 8:37am
Hello everybody, I created an elevator to navigate a monad transformer stack, liberating us from creating a Monad* class and instances. The key function, elevate, can be whatever you need: elevate :: IO a -> IO a elevate :: IO a -> StateT s IO a elevate :: State s a -> StateT s IO a elevate :: IO a -> MaybeT (StateT s IO) a If you want to elevate actions above your monad, just write instance Tower YourMonad to declare that YourMonad is one-storied. Hackage: http://hackage.haskell.org/package/elevator-0.1/docs/Control-Elevator.html Cheers Fumiaki Kinoshita _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe< at >haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
Categories: Offsite Discussion

Call for Presentations: Compose Conference [New York, Jan 30-Feb 1]

haskell-cafe - Mon, 11/17/2014 - 1:44am
Compose is a new conference for typed functional programmers, focused specifically on Haskell, OCaml, F#, and related technologies. It will be held in New York from Jan 30-Feb 1, and registration is opening shortly.  http://www.composeconference.org/ Below is our call for presentations. We recognize the deadline is tight, so feel free to submit proposals and ideas on the less-polished side. Call for Presentations and Speakers. http://www.composeconference.org/call/index.html --- The audience for Compose is Haskell, OCaml, or F# developers who are looking to increase their skills or learn new technologies and libraries. Presentations should be aimed at teaching or introducing new ideas or tools. We are also interested in presentations aiming at taking complex concepts, such as program derivation, and putting them into productive use. However proposals on anything that you suspect our audience may find interesting are welcome. The following are some of the types of talks we would welcome: Library/Tool T
Categories: Offsite Discussion

Using wreq Session handling in a monad transformerstack

haskell-cafe - Sun, 11/16/2014 - 11:08pm
Could I somehow add a Wreq.Session.Session to my monad transformer stack? Should I use something other than Wreq? How would I create a default Session, Wreq doesn't seem to export the constructor. Basically I want to achieve Sessions/cookie handling. lpaste of my code: http://lpaste.net/114405 my full code (for those who want to view in email): {-# LANGUAGE OverloadedStrings #-} module Network.Scraper.State where import Control.Lens ((^.)) import Control.Monad import Control.Monad.IO.Class (liftIO) import qualified Control.Monad.Trans.State.Strict as ST import qualified Data.ByteString.Lazy as LBS import Data.Maybe (fromJust, fromMaybe) import Data.Monoid import qualified Data.Text as T import qualified Data.Text.IO as TIO import Network.Wreq (FormParam (..)) import qualified Network.Wreq as Wreq imp
Categories: Offsite Discussion

The Prettiest Printer

del.icio.us/haskell - Sun, 11/16/2014 - 6:07pm
Categories: Offsite Blogs

What's up with Hackage's Haddock again?

Haskell on Reddit - Sun, 11/16/2014 - 5:30pm

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]
Categories: Incoming News

How do I build a library locally?

Haskell on Reddit - Sun, 11/16/2014 - 4:03pm

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:

https://github.com/mcneja/haskell-board-games

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

submitted by mcneja
[link] [5 comments]
Categories: Incoming News