Monday, 21 October 2013

Haskell interpreter exercise.

Simple Expressions exercise.


Haskell interpreter can be downloaded from Haskell home page.

When executed, it looks like this:

Haskell Interpreter. photo GHCi_zps65aae199.jpg

Haskell Interpreter WinGHCi.


The string 'Prelude>' is the Haskell prompt.

Haskell interpreter can be used as calculator, as follows:

WinGHCi as Calculator. photo WinGHCi_zps6f3929a9.jpg

WinGHCi used as Calculator.


In this blog we won't teach any programming language though, except for explaining basics needed to understand exercises.

(Source: [1]).

No comments:

Post a Comment