miso
GHCJSでフロントを書く
つまりHaskellでfrontendを書く
Miso is a small, production-ready, "isomorphic" Haskell front-end framework for quickly building highly interactive single-page web applications
It features a
virtual-dom
recursive diffing / patching algorithm
attribute and property normalization
event delegation
event batching
SVG
SSE
WebSocket
type-safe servant-style routing
an extensible Subscription-based subsystem
Inspired by Elm, Redux and Bobril
Miso is pure by default, but side effects (like XHR) can be introduced into the system via the Effect data type
Miso makes heavy use of the GHCJS FFI and therefore has minimal dependencies
Miso can be considered a shallow embedded domain-specific language for modern web programming
PureScriptとの対比を知りたい
https://speakerdeck.com/ytaka23/we-are-javascripters-19th?slide=11
https://github.com/y-taka-23/miso-tutorial-app
elm tutorialをmisoで書いたもの
The Elm ArchtectureなのでめっちゃElmっぽい書き味 ref
React+nodeのように、GHCJS+MisoでフロントもバックもHaskellで書ける