![]() ![]() To use its interpreter, you can run ghci from the command prompt on your system: $ ghci The most popular Haskell interpreter is the Glasgow Haskell Compiler (GHC). pkg file, and click on either to proceed with the installation. On Windows, you can download and run HaskellPlatform-2013.2.0.0-setup.exe from the Haskell platform website and follow the instructions for installation.įor Mac OS X, download either the 32-bit or 64-bit. ![]() On Ubuntu, you can use the following: # apt-get install haskell-platform On Fedora, for example, you can use the following command: # yum install haskell-platform On GNU/Linux, you can use your distribution package manager to install the same. The Haskell platform contains all the software required to get you started on it. The entire set of Haskell packages is available in Hackage. Hoogle and Hayoo API search engines are available to query and browse the list of Haskell packages and libraries. Haskell allows you to quickly create prototypes with its platform and tools. It has support for concurrency because of the use of software transactional memory. The language supports many extensions, and has been evoking widespread interest in the industry due to its capability to run algorithms on multi-core systems. The latest language standard is Haskell 2010. Haskell code is known for its brevity and is very concise. It also supports procedural and strict evaluation, similar to other programming paradigms. It is a pure functional language and employs lazy evaluation. Functions are treated as first-class citizens and you can pass them around as arguments. ![]() The type system in Haskell is very powerful and can automatically infer types. The static typing helps detect plenty of compile time bugs. Code written in Haskell can be compiled and also used with an interpreter. Haskell is a statically typed, general-purpose programming language. This article flags off a series in which we will explore Haskell at length. It has all the advantages of functional programming and an intuitive syntax based on mathematical notation. Haskell, an open source programming language, is the outcome of 20 years of research. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |