Skip to content

Initial commit of the Haskell miso web framework 🍜 #2283

Open
dmjio wants to merge 8 commits into
tastejs:masterfrom
haskell-miso:miso
Open

Initial commit of the Haskell miso web framework 🍜 #2283
dmjio wants to merge 8 commits into
tastejs:masterfrom
haskell-miso:miso

Conversation

@dmjio
Copy link
Copy Markdown

@dmjio dmjio commented Nov 1, 2025

Hi @addyosmani, @passy 👋🏼 ,

The Haskell miso web framework and community would be honored to join the other Compile-to-JS web frameworks 🙏🏼 🍜

Closes #1987.

@dmjio dmjio changed the title Initial commit of the Haskell miso web framework. Initial commit of the Haskell miso web framework 🍜 Nov 1, 2025
@dmjio dmjio force-pushed the miso branch 2 times, most recently from f2b2583 to 2eae99c Compare November 3, 2025 10:56
- [x] Bring payload down to 1.8mb.
- [x] drop `all.js` use `out.js`
@dmjio
Copy link
Copy Markdown
Author

dmjio commented Nov 4, 2025

Hi @flashdesignory, hope this message finds you well 👋🏼

Do you think it would be possible for us to include a Haskell web framework into the Compile-to-JS section , alongside Elm and OCaml ? 🙏🏼

@dmjio dmjio mentioned this pull request Apr 17, 2026
@dmjio
Copy link
Copy Markdown
Author

dmjio commented May 4, 2026

Hi @addyosmani,

It's great to see this repo still maintained (per #2297). In lieu of #2284 was curious if you had any reservations about merging this PR. This niche framework was created in 2016 and users are having success building apps via prompts w/ Gemini and Claude (among other LLMs). Are alt langs still accepted? Best.

dmjio and others added 2 commits May 15, 2026 18:12
- Rewrote src/Main.hs: Elm-style architecture using Miso.Lens/TH,
  IntMap for O(log n) entry ops, inline editing with save/cancel,
  localStorage persistence, CPP guards for WASM/INTERACTIVE modes
- Overhauled README.md with structured sections: description,
  resources (incl. Haddocks at haddocks.haskell-miso.org),
  implementation notes, and build instructions
- Updated index.html: data-framework attribute, viewport meta,
  CDN links, type="module" on script tag
- Pinned cabal.project to miso 1.11.0 with allow-newer and
  +template-haskell flag
- Added learn.json (miso dir + root) for TodoMVC sidebar integration
- Added .gitignore, package-lock.json; rebuilt out.js via swc

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@dmjio
Copy link
Copy Markdown
Author

dmjio commented May 26, 2026

Thanks to @claude we're now in full compliance with the TodoMVC spec. as a proper compile-to-JS language. This includes localStorage, input text trimming, and side bar injection with learn.json additions. etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

miso example

1 participant