Hybrid Neural Networks in Haskell