This is the Haskell version of Score.
Merging as part of the first upload.