3 ms·
Yes, it is a Haskell question more than you think ;-) since, for example, using types for fraction or other kind of patterns can work different in Haskell than
by wslh 13y ago
Yes, it is a Haskell question more than you think ;-) since, for example, using types for fraction or other kind of patterns can work different in Haskell than in other languages. I think it's possible in Haskell to add symbolic manipulation as well like in http://christopherolah.wordpress.com/2012/06/01/hasksymb-an-experiment-in-haskell-symbolic-algebra/ http://christopherolah.wordpress.com/2012/06/01/hasksymb-an-... or http://homepages.inf.ed.ac.uk/wadler/realworld/docon2.html http://homepages.inf.ed.ac.uk/wadler/realworld/docon2.html
Also, there are implementations in the list that can be implemented in the same way on non functional languages.
- tome 13y agoI think it would be neater doing it in Haskell than, say Java, but the fundamental idea would be the same in both.