PixelSkale

Haskell Report


First section of the Module Music example featured in the documents

This report has been prepared as part of the 2301475 Logic and Functional Programming course for the 2025/1 academic term at my university. In this course, we studied logic and functional programming through ProLog and Caml Light programming languages and finish the semester off with a report on our own choosing. I chose the Haskell language out of curiosity because I saw the memes of Monads being so hard to grasp that the ones who do are cursed with not being able to explain it to others. I'll have to admit that I did not manage to grasp such a concept when doing the report which became the reason in its absence. I did, however, successfully grasped enough of the concepts to be amazed at it. Haskell has lazy evaluation at its core allowing for infinite sequences to be represented literally without the worries of memory overflow. This weirdly reminded me about tonal music, prompting me to make an attempt in representing the basic ideas of scales using the language. This resulted in Haskell being my most respected language in terms of its elegance.