Libraries inspired by Haskell ported to Apple Swift language