Latest Tech News

Stay updated with the latest in technology, AI, cybersecurity, and more

Filtered by: haskell Clear Filter

Automatically Packaging a Haskell Library as a Swift Binary XCFramework

Announcing xcframework or: the happy path for wiring a Haskell dependency to your Swift app I’ve written about Haskell x Swift interoperability before. Calling Haskell from Swift is about marshalling and the foreign function interface. But Creating a macOS app with Haskell and Swift tells the much messier tale of hijacking XCode to vodoo together the Haskell library, its headers, and two handfuls of other magic ingredients into one buildable SwiftUI application. Stop! Don’t click on the last l

Haskell, Reverse Polish Notation, and Parsing

My Side Quest into Haskell, Reverse Polish Notation, and Parsing 26 Jun, 2025 My Journey into Haskell: Building a Reverse Polish Notation Calculator Introduction: A Side Quest In my attempt to get my first paycheck, aka get a job, I have led myself down a fascinating rabbit hole into functional programming, mathematical notation, and parsing theory. This is the story of how I discovered Haskell, tackled reverse Polish notation, and learned about monadic parsing along the way. My journey bega

Of Course ML Has Monads (2011)

A popular meme in the world of PL’s is that “Haskell has monads”, with the implication that this is a distinctive feature of the language, separate from all others. While it is true that Haskell has popularized the use of monads as a program structuring device, the idea of a monad is not so much an issue of language design (apart from the ad hoc syntactic support provided by Haskell), but rather one of library design. After all, a monad is just one of a zillion signatures (type classes) with whi