diff options
| author | Paul Buetow <paul@buetow.org> | 2024-08-26 23:07:44 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2024-08-26 23:07:44 +0300 |
| commit | fa3426b5d9ac9eeccaea3aa7e4eb44e1fa2eab65 (patch) | |
| tree | f391aa531e8837ffe3ef0601d2a3aa8135c9fcca /gemfeed | |
| parent | 87d2c5cdd30fbed688eeac23e173398e95edda10 (diff) | |
Update content for gemtext
Diffstat (limited to 'gemfeed')
105 files changed, 4434 insertions, 1093 deletions
diff --git a/gemfeed/2008-06-26-perl-poetry.gmi b/gemfeed/2008-06-26-perl-poetry.gmi index 536c9c50..a8345a71 100644 --- a/gemfeed/2008-06-26-perl-poetry.gmi +++ b/gemfeed/2008-06-26-perl-poetry.gmi @@ -2,6 +2,12 @@ > Published at 2008-06-26T21:43:51+01:00; Updated at 2021-05-04 +Here are some Perl Poems I wrote. They don't do anything useful when you run them, but they don't produce a compiler error either. They only exist for fun and demonstrate what you can do with Perl syntax. + +Wikipedia: "Perl poetry is the practice of writing poems that can be compiled as legal Perl code, for example the piece known as Black Perl. Perl poetry is made possible by the large number of English words that are used in the Perl language. New poems are regularly submitted to the community at PerlMonks." + +=> https://en.wikipedia.org/wiki/Perl + ``` '\|/' * -- * ----- @@ -28,20 +34,11 @@ _~~|~/_|_|__/|~~~~~~~ | / ~~~~~ | | ~~~~~~~~ ## Table of Contents * ⇢ Perl Poetry -* ⇢ ⇢ Introduction * ⇢ ⇢ math.pl * ⇢ ⇢ christmas.pl * ⇢ ⇢ shopping.pl * ⇢ ⇢ More... -## Introduction - -Here are some Perl Poems I wrote. They don't do anything useful when you run them, but they don't produce a compiler error either. They only exist for fun and demonstrate what you can do with Perl syntax. - -Wikipedia: "Perl poetry is the practice of writing poems that can be compiled as legal Perl code, for example the piece known as Black Perl. Perl poetry is made possible by the large number of English words that are used in the Perl language. New poems are regularly submitted to the community at PerlMonks." - -=> https://en.wikipedia.org/wiki/Perl - ## math.pl ```perl diff --git a/gemfeed/2008-06-26-perl-poetry.gmi.tpl b/gemfeed/2008-06-26-perl-poetry.gmi.tpl index 01636b3d..903c5c6e 100644 --- a/gemfeed/2008-06-26-perl-poetry.gmi.tpl +++ b/gemfeed/2008-06-26-perl-poetry.gmi.tpl @@ -2,6 +2,12 @@ > Published at 2008-06-26T21:43:51+01:00; Updated at 2021-05-04 +Here are some Perl Poems I wrote. They don't do anything useful when you run them, but they don't produce a compiler error either. They only exist for fun and demonstrate what you can do with Perl syntax. + +Wikipedia: "Perl poetry is the practice of writing poems that can be compiled as legal Perl code, for example the piece known as Black Perl. Perl poetry is made possible by the large number of English words that are used in the Perl language. New poems are regularly submitted to the community at PerlMonks." + +=> https://en.wikipedia.org/wiki/Perl + ``` '\|/' * -- * ----- @@ -27,14 +33,6 @@ _~~|~/_|_|__/|~~~~~~~ | / ~~~~~ | | ~~~~~~~~ << template::inline::toc -## Introduction - -Here are some Perl Poems I wrote. They don't do anything useful when you run them, but they don't produce a compiler error either. They only exist for fun and demonstrate what you can do with Perl syntax. - -Wikipedia: "Perl poetry is the practice of writing poems that can be compiled as legal Perl code, for example the piece known as Black Perl. Perl poetry is made possible by the large number of English words that are used in the Perl language. New poems are regularly submitted to the community at PerlMonks." - -=> https://en.wikipedia.org/wiki/Perl - ## math.pl ```perl diff --git a/gemfeed/2010-04-09-standard-ml-and-haskell.gmi b/gemfeed/2010-04-09-standard-ml-and-haskell.gmi index 844fd595..17bd4651 100644 --- a/gemfeed/2010-04-09-standard-ml-and-haskell.gmi +++ b/gemfeed/2010-04-09-standard-ml-and-haskell.gmi @@ -8,6 +8,16 @@ As you will see, SML and Haskell are very similar (at least when it comes to the 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: +## Table of Contents + +* ⇢ Standard ML and Haskell +* ⇢ ⇢ Defining a multi-data type +* ⇢ ⇢ Processing a multi +* ⇢ ⇢ Simplify function +* ⇢ ⇢ Delete all +* ⇢ ⇢ Delete one +* ⇢ ⇢ Higher-order functions + ## Defining a multi-data type Standard ML: diff --git a/gemfeed/2010-04-09-standard-ml-and-haskell.gmi.tpl b/gemfeed/2010-04-09-standard-ml-and-haskell.gmi.tpl new file mode 100644 index 00000000..a3d3ed79 --- /dev/null +++ b/gemfeed/2010-04-09-standard-ml-and-haskell.gmi.tpl @@ -0,0 +1,176 @@ +# Standard ML and Haskell + +> Published at 2010-04-09T22:57:36+01:00 + +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 knew a little Haskell, I could not help myself, and I also implemented the same exercises in Haskell. + +As you will see, SML and Haskell are very similar (at lea |
