diff options
| author | Paul Buetow <paul@buetow.org> | 2024-08-24 19:42:38 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2024-08-24 19:42:38 +0300 |
| commit | e1ef1b5f3e21e84fcca29bedee6d1af154d61169 (patch) | |
| tree | d3873e7e9fb474c99dc2a71ed9bc90f82cba4481 | |
| parent | 1891cb99a0eff5fd497edb44c435acdcaf5d8299 (diff) | |
Update content for html
88 files changed, 1314 insertions, 1326 deletions
diff --git a/gemfeed/2008-06-26-perl-poetry.html b/gemfeed/2008-06-26-perl-poetry.html index 7b6130aa..8b70f76c 100644 --- a/gemfeed/2008-06-26-perl-poetry.html +++ b/gemfeed/2008-06-26-perl-poetry.html @@ -8,7 +8,7 @@ <link rel="stylesheet" href="style-override.css" /> </head> <body> -<h1 style='display: inline' id='PerlPoetry'>Perl Poetry</h1><br /> +<h1 style='display: inline' id='perl-poetry'>Perl Poetry</h1><br /> <br /> <span class='quote'>Published at 2008-06-26T21:43:51+01:00; Updated at 2021-05-04</span><br /> <br /> @@ -174,7 +174,7 @@ http://www.gnu.org/software/src-highlite --> <font color="#ff0000">This is perl</font><font color="#F3E651">,</font><font color="#ff0000"> v5</font><font color="#F3E651">.</font><font color="#bb00ff">8.8</font><font color="#ff0000"> built </font><b><font color="#ffffff">for</font></b><font color="#ff0000"> i386</font><font color="#F3E651">-</font><font color="#ff0000">freebsd</font><font color="#F3E651">-</font><font color="#ff0000">64int</font> </pre> <br /> -<h2 style='display: inline' id='More'>More...</h2><br /> +<h2 style='display: inline' id='more'>More...</h2><br /> <br /> <span>Did you like what you saw? Have a look at Codeberg to see my other poems too:</span><br /> <br /> diff --git a/gemfeed/2008-12-29-using-my-nokia-n95-for-fixing-my-mta.html b/gemfeed/2008-12-29-using-my-nokia-n95-for-fixing-my-mta.html index feb8a4b0..e60330f6 100644 --- a/gemfeed/2008-12-29-using-my-nokia-n95-for-fixing-my-mta.html +++ b/gemfeed/2008-12-29-using-my-nokia-n95-for-fixing-my-mta.html @@ -8,7 +8,7 @@ <link rel="stylesheet" href="style-override.css" /> </head> <body> -<h1 style='display: inline' id='UsingmyNokiaN95forfixingmyMTA'>Using my Nokia N95 for fixing my MTA</h1><br /> +<h1 style='display: inline' id='using-my-nokia-n95-for-fixing-my-mta'>Using my Nokia N95 for fixing my MTA</h1><br /> <br /> <span class='quote'>Published at 2008-12-29T09:10:41+00:00; Updated at 2021-12-01</span><br /> <br /> diff --git a/gemfeed/2010-04-09-standard-ml-and-haskell.html b/gemfeed/2010-04-09-standard-ml-and-haskell.html index 6b3b5e89..89c1b5f0 100644 --- a/gemfeed/2010-04-09-standard-ml-and-haskell.html +++ b/gemfeed/2010-04-09-standard-ml-and-haskell.html @@ -8,7 +8,7 @@ <link rel="stylesheet" href="style-override.css" /> </head> <body> -<h1 style='display: inline' id='StandardMLandHaskell'>Standard ML and Haskell</h1><br /> +<h1 style='display: inline' id='standard-ml-and-haskell'>Standard ML and Haskell</h1><br /> <br /> <span class='quote'>Published at 2010-04-09T22:57:36+01:00</span><br /> <br /> @@ -18,7 +18,7 @@ <br /> <span>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:</span><br /> <br /> -<h2 style='display: inline' id='Definingamultidatatype'>Defining a multi-data type</h2><br /> +<h2 style='display: inline' id='defining-a-multi-data-type'>Defining a multi-data type</h2><br /> <br /> <span>Standard ML:</span><br /> <br /> @@ -45,7 +45,7 @@ http://www.gnu.org/software/src-highlite --> <font color="#ff0000"> </font><b><font color="#ffffff">deriving</font></b><font color="#ff0000"> </font><b><font color="#F35E1E">Show</font></b> </pre> <br /> -<h2 style='display: inline' id='Processingamulti'>Processing a multi</h2><br /> +<h2 style='display: inline' id='processing-a-multi'>Processing a multi</h2><br /> <br /> <span>Standard ML:</span><br /> <br /> @@ -74,7 +74,7 @@ http://www.gnu.org/software/src-highlite --> <font color="#ff0000"> </font><font color="#F3E651">(</font><b><font color="#F35E1E">Union</font></b><font color="#ff0000"> </font><font color="#F3E651">(</font><b><font color="#F35E1E">Union</font></b><font color="#ff0000"> </font><font color="#F3E651">(</font><b><font color="#F35E1E">Elem</font></b><font color="#ff0000"> </font><font color="#bb00ff">4</font><font color="#F3E651">)</font><font color="#ff0000"> </font><font color="#F3E651">(</font><b><font color="#F35E1E">Elem</font></b><font color="#ff0000"> </font><font color="#bb00ff">4</font><font color="#F3E651">))</font><font color="#ff0000"> </font><b><font color="#F35E1E">Empty</font></b><font color="#F3E651">))))</font><font color="#ff0000"> w</font> </pre> <br /> -<h2 style='display: inline' id='Simplifyfunction'>Simplify function</h2><br /> +<h2 style='display: inline' id='simplify-function'>Simplify function</h2><br /> <br /> <span>Standard ML:</span><br /> <br /> @@ -116,7 +116,7 @@ http://www.gnu.org/software/src-highlite --> <font color="#ff0000">simplify x </font><font color="#F3E651">=</font><font color="#ff0000"> x</font> </pre> <br /> -<h2 style='display: inline' id='Deleteall'>Delete all</h2><br /> +<h2 style='display: inline' id='delete-all'>Delete all</h2><br /> <br /> <span>Standard ML:</span><br /> <br /> @@ -145,7 +145,7 @@ http://www.gnu.org/software/src-highlite --> <font color="#ff0000"> delete_all’ x </font><font color="#F3E651">=</font><font color="#ff0000"> x</font> </pre> <br /> -<h2 style='display: inline' id='Deleteone'>Delete one</h2><br /> +<h2 style='display: inline' id='delete-one'>Delete one</h2><br /> <br /> <span>Standard ML:</span><br /> <br /> @@ -191,7 +191,7 @@ http://www.gnu.org/software/src-highlite --> <font color="#ff0000"> delete_one’ x </font><font color="#F3E651">=</font><font color="#ff0000"> </font><font color="#F3E651">(</font><font color="#ff0000">x</font><font color="#F3E651">,</font><font color="#ff0000"> </font><b><font color="#F35E1E">False</font></b><font color="#F3E651">)</font> </pre> <br /> -<h2 style='display: inline' id='Higherorderfunctions'>Higher-order functions</h2><br /> +<h2 style='display: inline' id='higher-order-functions'>Higher-order functions</h2><br /> <br /> <span>The first line is always the SML code, the second line the Haskell variant:</span><br /> <br /> diff --git a/gemfeed/2010-05-07-lazy-evaluation-with-standarn-ml.html b/gemfeed/2010-05-07-lazy-evaluation-with-standarn-ml.html index 7dcabdaf..4ab0e0d1 100644 --- a/gemfeed/2010-05-07-lazy-evaluation-with-standarn-ml.html +++ b/gemfeed/2010-05-07-lazy-evaluation-with-standarn-ml.html @@ -8,7 +8,7 @@ <link rel="stylesheet" href="style-override.css" /> </head> <body> -<h1 style='display: inline' id='LazyEvaluationwithStandardML'>Lazy Evaluation with Standard ML</h1><br /> +<h1 style='display: inline' id='lazy-evaluation-with-standard-ml'>Lazy Evaluation with Standard ML</h1><br /> <br /> <span class='quote'>Published at 2010-05-07T08:17:59+01:00</span><br /> <br /> @@ -32,7 +32,7 @@ <br /> <span>You can solve specific problems with lazy evaluation easier than with eager evaluation. For example, you might want to list the number Pi or another infinite list of something. With the help of lazy evaluation, each element of the list is calculated when it is accessed first, but not earlier.</span><br /> <br /> -<h2 style='display: inline' id='EmulatinglazyevaluationinSML'>Emulating lazy evaluation in SML</h2><br /> +<h2 style='display: inline' id='emulating-lazy-evaluation-in-sml'>Emulating lazy evaluation in SML</h2><br /> <br /> <span>However, it is possible to emulate lazy evaluation in most eager evaluation languages. This is how it is done with Standard ML (with some play with an infinite list of natural number tuples filtering out 0 elements):</span><br /> <br /> @@ -78,7 +78,7 @@ val test = first 10 (nat_pairs_not_null ()); <br /> <a class='textlink' href='http://smlnj.org/'>http://smlnj.org/</a><br /> <br /> -<h2 style='display: inline' id='ReallazinesswithHaskell'>Real laziness with Haskell </h2><br /> +<h2 style='display: inline' id='real-laziness-with-haskell-'>Real laziness with Haskell </h2><br /> <br /> <span>As Haskell already uses lazy evaluation by default, there is no need to construct a new data type. Lists in Haskell are lazy by default. You will notice that the code is also much shorter and easier to understand than the SML version. </span><br /> <br /> diff --git a/gemfeed/2010-05-09-the-fype-programming-language.html b/gemfeed/2010-05-09-the-fype-programming-language.html index 4f9ab23c..bc691e1c 100644 --- a/gemfeed/2010-05-09-the-fype-programming-language.html +++ b/gemfeed/2010-05-09-the-fype-programming-language.html @@ -8,7 +8,7 @@ <link rel="stylesheet" href="style-override.css" /> </head> <body> -<h1 style='display: inline' id='TheFypeProgrammingLanguage'>The Fype Programming Language</h1><br /> +<h1 style='display: inline' id='the-fype-programming-language'>The Fype Programming Language</h1><br /> <br /> <span class='quote'>Published at 2010-05-09T12:48:29+01:00; Updated at 2021-05-05</span><br /> <br /> @@ -27,7 +27,7 @@ <br /> <span>Fype is a recursive acronym and means "Fype is For Your Program Execution" or "Fype is Free Yak Programmed for ELF". You could also say, "It's not a hype - it's Fype!".</span><br /> <br /> -<h2 style='display: inline' id='ObjectorientedCstyle'>Object-oriented C style</h2><br /> +<h2 style='display: inline' id='object-oriented-c-style'>Object-oriented C style</h2><br /> <br /> <span>The Fype interpreter is written in an object-oriented style of C. Each "main component" has its own .h and .c file. There is a struct type for each (most components at least) component, which can be initialized using a "COMPONENT_new" function and destroyed using a "COMPONENT_delete" function. Method calls follow the same schema, e.g. "COMPONENT_METHODNAME". There is no such as class inheritance and polymorphism involved. </span><br /> <br /> @@ -100,7 +100,7 @@ http://www.gnu.org/software/src-highlite --> <font color="#F3E651">}</font> </pre> <br /> -<h2 style='display: inline' id='Datatypes'>Data types</h2><br /> +<h2 style='display: inline' id='data-types'>Data types</h2><br /> <br /> <span>Fype uses auto type conversion. However, if you want to know what's going on, you may take a look at the following basic data types:</span><br /> <ul> @@ -114,13 +114,13 @@ http://www.gnu.org/software/src-highlite --> </ul><br /> <span>There is no boolean type, but we can use the integer values 0 for false and 1 for true. There is support for explicit type casting too.</span><br /> <br /> -<h2 style='display: inline' id='Syntax'>Syntax</h2><br /> +<h2 style='display: inline' id='syntax'>Syntax</h2><br /> <br /> -<h3 style='display: inline' id='Comments'>Comments</h3><br /> +<h3 style='display: inline' id='comments'>Comments</h3><br /> <br /> <span>Text from a # character until the end of the current line is considered being a comment. Multi-line comments may start with an #* and with a *# anywhere. Exceptions are if those signs are inside of strings.</span><br /> <br /> -<h3 style='display: inline' id='Variables'>Variables</h3><br /> +<h3 style='display: inline' id='variables'>Variables</h3><br /> <br /> <span |
