I'm glad I have this Prime module, that was easy.
The only thing difficult was figuring out Haskell typing.