TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: Miso – A Haskell implementation of Elm

114 pointsby dmjioalmost 8 years ago

9 comments

bratschealmost 8 years ago
I misunderstood the title at first. I thought this was a rewrite of the Elm compiler in Haskell. This confused me because I was pretty sure that Elm was already written in Haskell.<p>For anyone else who was confused like I was: this is more like a new frontend framework to implement the Elm architecture but in Haskell. Kind of the way Fable.io has a framework called Elmish, but you&#x27;re writing in F#.
评论 #14691475 未加载
评论 #14690757 未加载
Perceptesalmost 8 years ago
This honestly makes more sense to me than Elm itself. I don&#x27;t see the reason to make Elm a separate language. It&#x27;s the architecture that&#x27;s important (given the type system of the language you choose doesn&#x27;t suck, which is certainly true for Haskell.)
评论 #14698948 未加载
评论 #14694095 未加载
评论 #14693753 未加载
beefsackalmost 8 years ago
Very impressive, and as a developer who prefers using languages with strong type systems, I&#x27;m particularly intrigued by efforts like this.<p>Most of the examples seem to contain 1.5MB of JS. My gut feel is that it isn&#x27;t terribly low or high for transpiled JS, but it is what it is.<p>I&#x27;d be interested to see how large it is compressed.
评论 #14693717 未加载
wuschelalmost 8 years ago
I would love to see a small tutorial for package, perhaps even explaining some concept basics, and differences to Elm when working with it. Just dabbling in Haskell a bit (for fun, working through <i>Haskell from first principles</i>). Better a headache from reading a book than a headache installing npm packages on Linux.
评论 #14691065 未加载
b123400almost 8 years ago
I wonder how does it compare with Purescript + Pux. My experience with Pux has been pretty good. As a beginner, I find it more comfortable when the FFI is thin, the compiled JS is kind of readable, so in case if I am stuck, I can still go back to my familiar Javascript.
zemalmost 8 years ago
along similar lines, here&#x27;s an ocaml+bucklescript version of the elm architecture: <a href="https:&#x2F;&#x2F;github.com&#x2F;OvermindDL1&#x2F;bucklescript-tea" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;OvermindDL1&#x2F;bucklescript-tea</a>
评论 #14692721 未加载
ivanbakelalmost 8 years ago
It will be interesting to see if the push to state-based design on the web really sticks. The JS library I forget the name of seems to have made it pretty popular, but projects like Elm and this will be the proof of its success.
评论 #14691938 未加载
评论 #14691471 未加载
评论 #14691076 未加载
anon335dtzbvcalmost 8 years ago
The title should be:<p>Misco: Write Elm-like front-end applications in Haskell.
fiatjafalmost 8 years ago
You&#x27;ve submitted this yesterday. I upvoted you and asked a question. I was ignored.
评论 #14689806 未加载
评论 #14688738 未加载