A nice Haskell snippet
A succinct Haskell snippet using the View Patterns extension. PWM module.
Martin Oldfield, 16 Jun 2023
Monoids in Haskell
Brief notes on monoids in Haskell.
Martin Oldfield, 07 Sep 2020
Diagrams with Haskell
Thoughts on using Haskell
Martin Oldfield, 13 Aug 2020
PureScript
Notes on PureScript.
Martin Oldfield, 11 Nov 2017
Waiting for six
Brief thoughts on a dice-rolling question in David MacKay’s book.
Martin Oldfield, 29 Jun 2017
Applicative IO
Some benefits to using the Applicative instance of IO, which I find particularly useful for casual use in ghci.
Martin Oldfield, 27 Apr 2017
Haskell Toys
An attempt to abstract away the boilerplate when writing little command line toys in Haskell.
Martin Oldfield, 09 May 2016
Extra-project Stack
Brief notes on using the Haskell Tool Stack with local repositories, but without a specific project.
Martin Oldfield, 09 May 2016
OrUnit
Simple experiments with polymorphic return types in Haskell.
Martin Oldfield, 04 May 2016
Transpose and sequenceA
Notes towards an intuitive understanding of transpose in terms of sequenceA
.
Martin Oldfield, 03 May 2016
Monads in Haskell: ((->) r)
Brief notes on the ((->) r) monad in Haskell.
Martin Oldfield, 30 Mar 2016
Monads in Haskell: Lists &c.
Brief notes on the list and similar monads in Haskell.
Martin Oldfield, 25 Mar 2015
Monads in Haskell: Algebra
Brief notes on the algebraic side of monads in Haskell.
Martin Oldfield, 30 Aug 2014
Monads in Haskell: Reader
Brief notes on the reader monad in Haskell.
Martin Oldfield, 30 Aug 2014
Church Numerals
Fun and games with Church numerals in Haskell.
Martin Oldfield, 05 Jun 2013
A Coordinate Decoder
A simple PIC-based coordinate decoder for geocache puzzles.
Martin Oldfield, 05 Jun 2013
Haskell qua calculator
Although Haskell is a fine language for hard-core programming, it’s increasing my tool of choice for trivial arithmetic too.
Martin Oldfield, 05 Jun 2013