pho ramen soba

Thursday, 6 June 2024

installing haskell within ubuntu 24.04 on a raspberry pi 5

I have been in something of a computer language exploratory phase recently. I don't know how, but it was triggered when I watched an episode of Elementary named The Leviathan (season 1, episode 10, aired 13 December 2012). The Leviathan was a super-duper…
Read on blog or Reader
Site logo image Arcane Science Lab Read on blog or Reader

installing haskell within ubuntu 24.04 on a raspberry pi 5

whbeebe

June 6

I have been in something of a computer language exploratory phase recently. I don't know how, but it was triggered when I watched an episode of Elementary named The Leviathan (season 1, episode 10, aired 13 December 2012). The Leviathan was a super-duper unbreakable vault that had been cracked twice, apparently by some sort of mathematical genius who used the Malbolge programming language to crack its randomly generated electronic ten digit access code. When I first saw the episode I thought the language was some sort of made-up crutch for the episode, but no, it actually exists (see link below for more details). The problem is that the example code show on the episode was copied from Malbolge's Wikipedia page, and it was a mangled on the show. The complete example from Wikipedia only displays "Hello, world."

I dug a little deeper and discovered that Malbolge is a descendant, if you will, of such other esoteric languages such as Brainfuck. Anyway, that got me looking into other not-quite-so-deliberately-obfuscated languages such as, well, Haskell. It is indeed cruel to lump Haskell with such languages as Malbolge and its ilk, but I never said I was particularly logical once I started down one of these odd paths of mine.

Anyway, here we are, and I have indeed installed Haskell on my Raspberry Pi. However, before you install Haskell, you'll need to install the following libraries to support full a successful build of Haskell from its sources.

sudo apt install libffi-dev libgmp-dev libgmpxx4ldbl libncurses-dev libpkgconf3 pkg-config pkgconf pkgconf-bin

Once that's done then you can proceed to install Haskell following the directions on its web page (again look at the links below).

Haskell running
Haskell proof of life

This is a minimal proof of life of Haskell on a Raspberry Pi 5 running under Ubuntu 24.04. The examples are all shown on the web page, so there's no need to go over them again. I have absolutely no idea what I can do with this unique language on this unique platform, but it will be interesting and fun to find out.

Links

Malbolge -- https://en.wikipedia.org/wiki/Malbolge

Haskell -- https://www.haskell.org/

Haskell, Getting Started -- https://www.haskell.org/get-started/

Comment
Like
You can also reply to this email to leave a comment.

Arcane Science Lab © 2024. Manage your email settings or unsubscribe.

WordPress.com and Jetpack Logos

Get the Jetpack app

Subscribe, bookmark, and get real-time notifications - all from one app!

Download Jetpack on Google Play Download Jetpack from the App Store
WordPress.com Logo and Wordmark title=

Automattic, Inc. - 60 29th St. #343, San Francisco, CA 94110  

at June 06, 2024
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

7 Stunning Mother's Day Desserts 🍰

Wow mom with these showstoppers!!! ...

  • Flourless pancakes
    Ingredients: 2 large ripe bananas 4 large eggs 1/2 teaspoon baking pow...
  • [New post] This tried-and-true Irish pub-inspired soup is creamy and thick with chunks of potatoes and leeks throughout.
    Emily Morgan posted: "This tried-and-true Irish pub-inspired soup is creamy and thick with chunks of potatoes and leeks thr...
  • Keto Chicken Pot Pie Casserole (Gluten-Free)
    INGREDIENTS US CustomaryMetric▢4 cups cooked chicken breast (roasted, rotisserie...

Search This Blog

  • Home

About Me

phoo, ramen, soba
View my complete profile

Report Abuse

Blog Archive

  • April 2026 (20)
  • March 2026 (16)
  • February 2026 (13)
  • January 2026 (15)
  • December 2025 (17)
  • November 2025 (18)
  • October 2025 (21)
  • September 2025 (19)
  • August 2025 (28)
  • July 2025 (25)
  • June 2025 (28)
  • May 2025 (34)
  • April 2025 (36)
  • March 2025 (39)
  • February 2025 (36)
  • January 2025 (43)
  • December 2024 (46)
  • November 2024 (51)
  • October 2024 (44)
  • September 2024 (1172)
  • August 2024 (1572)
  • July 2024 (1413)
  • June 2024 (1289)
  • May 2024 (1362)
  • April 2024 (1472)
  • March 2024 (1827)
  • February 2024 (2413)
  • January 2024 (2936)
  • December 2023 (2135)
  • November 2023 (1639)
  • October 2023 (1285)
  • September 2023 (918)
  • August 2023 (864)
  • July 2023 (795)
  • June 2023 (800)
  • May 2023 (796)
  • April 2023 (754)
  • March 2023 (649)
  • February 2023 (736)
  • January 2023 (1159)
  • December 2022 (968)
  • November 2022 (921)
  • October 2022 (852)
  • September 2022 (708)
  • August 2022 (766)
  • July 2022 (877)
  • June 2022 (684)
  • May 2022 (716)
  • April 2022 (698)
  • March 2022 (781)
  • February 2022 (734)
  • January 2022 (955)
  • December 2021 (1387)
  • November 2021 (3002)
  • October 2021 (3213)
  • September 2021 (3188)
  • August 2021 (3232)
  • July 2021 (1697)
Powered by Blogger.