iand675

Write Mac apps entirely in Haskell

50
1
100% credibility
Found Feb 17, 2026 at 47 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
Haskell
AI Summary

This repository provides type-safe Haskell bindings to Apple's Objective-C runtime, enabling native macOS application development with generated interfaces for over 150 Apple frameworks including AppKit and Foundation.

How It Works

1
🔍 Discover easy Mac app making

You hear about a friendly way to create beautiful Mac apps like todo lists or color pickers without wrestling with complex tools.

2
📥 Grab the ready examples

Download the collection of sample apps that show windows, buttons, and lists working right away.

3
🚀 Launch your first app

Double-click the Hello World example and watch a window pop up saying 'Hello from Haskell!'

4
🎨 Play with fun demos

Try the counter or color mixer – click buttons, drag sliders, and see everything respond smoothly like real Mac apps.

5
✏️ Tweak to make yours

Open a sample in your editor, change the text or colors, and rebuild to see your personal touch.

Your Mac app shines

Run your custom app with windows, controls, and animations – ready to share with friends!

Sign up to see the full architecture

4 more

Sign Up Free

Star Growth

See how this repo grew from 47 to 50 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is haskell-obj-c?

haskell-obj-c provides type-safe Haskell bindings to Apple's Objective-C runtime, letting you build native macOS apps entirely in Haskell using AppKit, Foundation, and 150+ frameworks like CoreML or AVFoundation. It solves the pain of mixing Haskell with Swift or Objective-C by offering phantom-typed object refs, automatic retain/release via ForeignPtr, and Haskell functions as delegates or blocks. Load frameworks, create windows, and run event loops with simple Stack builds and examples like todo lists or color mixers.

Why is it gaining traction?

Unlike writing GitHub actions in Go, Python, Rust, or TypeScript—or even GitHub apps and Copilot extensions—this lets Haskell devs craft polished Mac GUIs without FFI hacks or memory leaks. Key hooks: compile-time class safety, TH-defined ObjC classes for targets/data sources, and seamless block passing, making UIs reactive and fun to prototype. Examples cover controls, bindings, and pickers, hooking devs who want native perf over web wrappers.

Who should use this?

Haskell backend devs building Mac tools like data analyzers with Core Graphics or media players via AVKit. Suited for scripting pros writing machine monitors, macro functions like averages in Rust-style safety, or Maclaurin series visualizers—anyone needing tight Apple API integration without learning Swift. Skip if you're doing cross-platform or web-first.

Verdict

Grab it for Haskell-Mac experiments if you write macOS-to-USB utilities or Excel macros in pure FP; examples and docs guide quick starts. But with 47 stars, 1.0% credibility, and explicit WIP status, hold off production—test coverage and stability need work. (198 words)

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.