Soccer Table in Haskell: Core Logic

In the first part of this series, the project was set up using Cabal. In this second part, the library code shall be written. The library shall only contain pure, i.e. side-effect free functions. Reading the files and printing the table will be part of the executable—to be described in the next article. Working with GHCi Haskell is a compiled language, but thanks to GHCi, it can be programmed…