packages feed

miso 0.1.0.0 → 0.1.0.1

raw patch · 2 files changed

+8/−9 lines, 2 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

README.md view
@@ -1,4 +1,4 @@-:ramen: <center>miso</center>+:ramen: miso ====================== ![Hackage](https://img.shields.io/hackage/v/miso.svg) ![Haskell Programming Language](https://img.shields.io/badge/language-Haskell-green.svg)@@ -7,7 +7,7 @@ [![Slack Status](https://haskell-miso-slack.herokuapp.com/badge.svg)](https://haskell-miso-slack.herokuapp.com) ![Build Status](https://api.travis-ci.org/dmjio/miso.svg?branch=master) -**Miso** is a small [isomorphic](http://nerds.airbnb.com/isomorphic-javascript-future-web-apps/) [Haskell](https://www.haskell.org/) front-end framework featuring a virtual-dom, diffing / patching algorithm, event delegation, event batching, SVG, Server-sent events, Websockets, and an extensible Subscription-based subsystem. Inspired by [Elm](http://elm-lang.org/), [Redux](http://redux.js.org/) and [Bobril](http://github.com/bobris/bobril). `IO` and other effects (like `XHR`) can be introduced into the system via the `Effect` data type. *Miso* makes heavy use of the [GHCJS](https://github.com/ghcjs/ghcjs) FFI and therefore has minimal dependencies.+**Miso** is a small [isomorphic](http://nerds.airbnb.com/isomorphic-javascript-future-web-apps/) [Haskell](https://www.haskell.org/) front-end framework featuring a virtual-dom, diffing / patching algorithm, event delegation, event batching, SVG, Server-sent events, Websockets, and an extensible Subscription-based subsystem. Inspired by [Elm](http://elm-lang.org/), [Redux](http://redux.js.org/) and [Bobril](http://github.com/bobris/bobril). `IO` and other effects (like `XHR`) can be introduced into the system via the `Effect` data type. Miso makes heavy use of the [GHCJS](https://github.com/ghcjs/ghcjs) FFI and therefore has minimal dependencies.  ## Examples   - TodoMVC@@ -24,7 +24,6 @@ ## Getting Started ```haskell {-# LANGUAGE RecordWildCards #-}- module Main where  import Miso@@ -49,7 +48,7 @@   | SubtractOne   deriving (Show, Eq) -viewModel :: Int -> View Action+viewModel :: Model -> View Action viewModel x = div_ [] [    button_ [ onClick AddOne ] [ text "+" ]  , text (show x)
miso.cabal view
@@ -1,18 +1,18 @@ name:                miso-version:             0.1.0.0+version:             0.1.0.1 category:            Web, Miso, Data Structures license:             BSD3 license-file:        LICENSE author:              David M. Johnson <djohnson.m@gmail.com> maintainer:          David M. Johnson <djohnson.m@gmail.com>-homepage:            http://github.com/miso-haskell/miso-copyright:           Copyright (c) 2016 David M. Johnson+homepage:            http://github.com/dmjio/miso+copyright:           Copyright (c) 2017 David M. Johnson build-type:          Simple extra-source-files:  README.md cabal-version:       >=1.22-synopsis:            Haskell front-end framework+synopsis:            A tasty Haskell front-end framework description:-            Miso is a Haskell front-end framework featuring a virtual-dom, fast hand-rolled javascript diffing / patching algorithm, event delegation, event batching, SVG support, and an extensible Subscription-based subsystem. Inspired by Elm, Redux and Bobril, Miso currently supports WebSocket, Window, Mouse, History and KeysDown subscriptions. `IO` and other effects (such as `XHR`) can be introduced into the system via the `Effect` data type inside the `update` function. Pre-rendered templates and shared server-routing are made possible with servant. Minimal dependencies.+            Miso is a small isomorphic Haskell front-end framework featuring a virtual-dom, diffing / patching algorithm, event delegation, event batching, SVG, Server-sent events, Websockets, and an extensible Subscription-based subsystem. Inspired by Elm, Redux and Bobril. `IO` and other 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.  extra-source-files:   README.md