Haskell reference implementation -------------------------------- This is a very inefficient, but easy to read (and check) Haskell implementation of Poseidon2 and Monolith. We use it for generating test cases for the real implementation.