Posts

Showing posts from January, 2021

What and Why Haskell ?

Image
Haskell  is a modern, standard, functional programming language,  named for  Haskell Brooks Curry , whose work in mathematical logic serves as a foundation for functional languages. In particular it is,  statically and strongly typed, lazy,  purely functional   language which is quite different from most other programming languages. Let's understand this in detail... Purely Functional C, Java, Pascal, Ada, and so on, are all  imperative  languages  which means  that, they consist of a sequence of commands, which are executed strictly one after the other, it focuses on results not the process. Languages like Haskell,  Scala, Clojure, Erlang etc... are functional.  Functional programming (also called FP) is a way of thinking about software construction by creating pure functions, this is used mainly to avoid shared state, mutable data because object with immutable state gives guarantee and trust for all parties consuming it. So, f unctional languages emphasize on expressions and decl