Simple backpropagating neural network in haskell