Interesting thoughts there.<p>I am writing a deep neural network lib in scala as part of my DQN implementation. It&#x27;s developed in the FP paradigm with some type safety. If anyone is interested, the code is here. 
<a href="https:&#x2F;&#x2F;github.com&#x2F;A-Noctua&#x2F;glaux" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;A-Noctua&#x2F;glaux</a>
Right now only feedforward and convolution with Relu are implemented, no documentation either. But would love to collaborate with anyone also interested in the area.