Category Archives: Haskell

OCaml 4 beta

OCaml 4 beta 2 has been released, and so I quickly tested OCI*ML with it. Only a couple of minor tweaks were necessary, due to the following changes: Some .cmi for toplevel internals that used to be installed in`ocamlc -where` … Continue reading

Posted in Haskell, Ocaml, OCIML | Leave a comment

And while I’m on the subject…

Following on from Sunday’s post, which was really about using overly generic solutions to actually quite specific problems (e.g. a full-featured message bus when all anyone really cares about is data change notification), there are some other things that are … Continue reading

Posted in f#, Haskell, Ocaml | 1 Comment

New MTL

Just rebuilt my Debian VM with latest-everything, having to tweak some code from MTL 1 to MTL 2. Seems straightforward enough, but the proof of the pudding, as they say, is in the eating…

Posted in Haskell, Linux | Leave a comment

Stack Overflow

Been a bit quite on here of late as I have been discussing things on Stack Overflow: Saving my running toplevel for later What are the pros and cons of Batteries and Core? Which of these DLLs are the “right” … Continue reading

Posted in Haskell, Ocaml | 2 Comments

Seminar

That was a great seminar, full of practical applications of queueing theory to everyday problems. Not just Oracle, computation in general. I have already started implementing some of my own tools using various formulæ for use in our environment (using … Continue reading

Posted in Haskell, Linux, Oracle | Leave a comment

Books

Arrived today Pearls of Functional Algorithm Design by Richard Bird. I’ll enjoy working through it. I still haven’t finished The Haskell Alphabet tho’… So much to learn, so little time. My Haskell has fallen a bit behind my OCaml, in … Continue reading

Posted in Haskell, Ocaml, Random thoughts | 1 Comment

Haskell articles

A couple of very good Haskell articles I have seen recently: Introducing the Monads by Aditya Siram. An great overview which serves to confirm/reinforce things that I have learnt or figured out so far. Tho’ I think uses return where … Continue reading

Posted in Haskell, Random thoughts | Leave a comment

The Haskell Alphabet

The Haskell Alphabet. Brilliant! I’m going to work through all those links. I may be a while…

Posted in Haskell | Leave a comment

Code folding in Emacs

Code folding is a feature I’ve taken for granted in Windows IDEs, but now I am using Emacs more and more, I wanted it there too, and it turns out getting it is straightforward enough. Download Folding Mode and save … Continue reading

Posted in Emacs, Haskell, Linux, Ocaml | 4 Comments

Scope in database code (2)

Following on from a previous post, here is some simple database code in hopefully idiomatic Haskell. My strategy is Use the Reader monad to pass the database connection around the functions that use it. The description, computations which read values … Continue reading

Posted in Haskell, SQLite | 6 Comments