Member-only story
Exploring Programming Languages — Miranda
Let’s continue our exploration of programming languages with an old but really cool one: Miranda.
Not a Medium subscriber? 😕 You can read this post for free here 🥳
Miranda is an old language, as it’s already 41 years old. It was first published in 1985. But somehow it became almost forgotten.
I heard about Miranda around 2015, as I had already learned other functional languages such as Haskell and Erlang.
Fun fact: Miranda inspired Haskell 🤓
Another fun fact: Miranda has no variables or loops 🤯
Last fun fact: Miranda shares the same extension as the Mercury Programming Language 🤝
Ok, let’s jump into our main topic, which is creating an LED Numbers application.
The application should work like this: we input 1977, and it returns:
Now, keep in mind that we want to show this to newcomers to Miranda, not to seasoned developers.
The first thing we’re going to do is create a function that will return the required value. Wait, what? No Map, Dictionary, or Hash? Nope, there’s…










