It is a bit easy to dismiss everything haskell related as only useful for "academic research". In fact I am not sure how do you make this link between this post and research at all.
Now if you don't know about haskell and want to write a quick and short lived script, there is 0 value in writing it in haskell. However, if you happen to now a bit of haskell and that your script is likely to be used several times you might find some benefits to this.
- haskell is quick to write and the code can be quite terse. You can create an myscript.hs file and run it with runhaskell. Zero platform complexity overhead.
- you get the benefits of static types which are easier maintenance and refactoring.
- if it evolves in anything more complex, it is easy to move it in a cabal project.
- if you need to do something cpu intensive, you can compile/profile/improve perfs.
Now if you don't know about haskell and want to write a quick and short lived script, there is 0 value in writing it in haskell. However, if you happen to now a bit of haskell and that your script is likely to be used several times you might find some benefits to this.
- haskell is quick to write and the code can be quite terse. You can create an myscript.hs file and run it with runhaskell. Zero platform complexity overhead.
- you get the benefits of static types which are easier maintenance and refactoring.
- if it evolves in anything more complex, it is easy to move it in a cabal project.
- if you need to do something cpu intensive, you can compile/profile/improve perfs.