/dev/tty

Notes on Web Development, Computer Programming, and Software Engineering

Main menu

Skip to primary content
Skip to secondary content
  • Home
  • Open Source Projects

Monthly Archives: June 2009

Real World Haskell – Exercise Chapter 14

Posted on 21/06/2009 by Michel Rijnders
Reply

My solution to the exercise on p. 352.

1.Rewrite getRandom to use do notation.

getRandom :: Random a => RandomState a
getRandom = do
  gen <- get
  let (val,gen') = random gen
  put gen'
  return val
Posted in Haskell, Real World Haskell | Leave a reply

Haskell Snippets

Posted on 01/06/2009 by Michel Rijnders
Reply

I've started a repository of Haskell snippets for Emacs and YASnippet. It's hosted on GitHub.

Posted in Emacs, Haskell | Leave a reply

Recent Posts

  • Splitting a database dump
  • Setting up Emacs to compare two git tags
  • Quest for the perfect Erlang development environment
  • Disabling resuming of apps in OSX Lion
  • A Basic Full Text Search Server in Erlang

Categories

  • Books (2)
  • Cake (1)
  • Design (1)
  • Emacs (2)
  • Erlang (4)
  • Forms (1)
  • Haskell (14)
  • iPhone development (1)
  • Java (1)
  • Mac (4)
  • NLTK (1)
  • Open Source Projects (4)
  • Perl (1)
  • Perl Quiz of the Week (2)
  • PHP (2)
  • PHP frameworks (1)
  • Programming Language Theory (2)
  • Python (1)
  • Rails (2)
  • Real World Haskell (6)
  • Ruby (5)
  • Ruby Quiz (4)
  • Software Engineering (2)
  • Sphinx search (1)
  • Tomcat (1)
  • Tooling (1)
  • Uncategorized (5)
  • Usability (1)
  • Web Development (6)

Meta

  • Log in
  • Entries RSS
  • Comments RSS
  • WordPress.org
Proudly powered by WordPress