summaryrefslogtreecommitdiff
path: root/content/html/gemfeed/2010-04-09-standard-ml-and-haskell.html
diff options
context:
space:
mode:
authorPaul Buetow <git@mx.buetow.org>2021-05-15 18:38:09 +0100
committerPaul Buetow <git@mx.buetow.org>2021-05-15 18:38:09 +0100
commitf4a0961f7ea7663b2316f2569222b730b19dcfc1 (patch)
tree0e3eea978bf1ca9dbfab26671252e7210f9b78f4 /content/html/gemfeed/2010-04-09-standard-ml-and-haskell.html
parent34f29fc0176837ff04c5a76c041ad274ba337055 (diff)
some typos
Diffstat (limited to 'content/html/gemfeed/2010-04-09-standard-ml-and-haskell.html')
-rw-r--r--content/html/gemfeed/2010-04-09-standard-ml-and-haskell.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/content/html/gemfeed/2010-04-09-standard-ml-and-haskell.html b/content/html/gemfeed/2010-04-09-standard-ml-and-haskell.html
index cde7ddb8..d96fdf27 100644
--- a/content/html/gemfeed/2010-04-09-standard-ml-and-haskell.html
+++ b/content/html/gemfeed/2010-04-09-standard-ml-and-haskell.html
@@ -55,7 +55,7 @@ h2, h3 {
<h1>Standard ML and Haskell</h1>
<p class="quote"><i>Written by Paul Buetow 2010-04-09</i></p>
<p>I am currently looking into the functional programming language Standard ML (aka SML). The purpose is to refresh my functional programming skills and to learn something new too. Since I already know a little Haskell, could I do not help myself and I implemented the same exercises in Haskell too.</p>
-<p>As you will see, SML and Haskell are very similar (at least when it comes to the basics). However, the syntax of Haskell is little bit more "advanced". Haskell utilises fewer keywords (e.g. no val, end, fun, fn ...). Haskell also allows to explicitly write down the function types. What I have been missing in SML so far is the so-called pattern guards. Although this is a very superficial comparison for now, so far I like Haskell more than SML. Nevertheless, I thought it would be fun to demonstrate a few simple functions of both languages to show off the similarities. </p>
+<p>As you will see, SML and Haskell are very similar (at least when it comes to the basics). However, the syntax of Haskell is a bit more "advanced". Haskell utilizes fewer keywords (e.g. no val, end, fun, fn ...). Haskell also allows to explicitly write down the function types. What I have been missing in SML so far is the so-called pattern guards. Although this is a very superficial comparison for now, so far I like Haskell more than SML. Nevertheless, I thought it would be fun to demonstrate a few simple functions of both languages to show off the similarities. </p>
<p>Haskell is also a "pure functional" programming language, whereas SML also makes explicit use of imperative concepts. I am by far not a specialist in either of these languages but here are a few functions implemented in both, SML and Haskell:</p>
<h2>Defining a multi data type</h2>
<p>Standard ML:</p>