[Haskell-cafe] Functional vs Imperative

John Meacham john at repetae.net
Thu Sep 15 18:41:38 EDT 2005

On Thu, Sep 15, 2005 at 09:38:35PM +0400, Bulat Ziganshin wrote:
> Hello Dhaemon,
> Tuesday, September 13, 2005, 5:45:52 PM, you wrote:
> D> everywhere... Why use a function language if you use it as an imperative
> D> one?(i.e. most of the apps in http://haskell.org/practice.html)
> because most complex parts of code are really functional and Haskell
> give ability to express them shortly and reliably

Also, in many ways haskell is a 'better impertive language than
imperative ones'. the ability to treat IO actions as values and build up
computations functionally means your imperative code can end up being
much more concise, not to mention typesafe.

John Meacham - ⑆repetae.net⑆john⑈ 

More information about the Haskell-Cafe mailing list