hyperbole 0.3.5 → 0.3.6
raw patch · 4 files changed
+16/−16 lines, 4 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- README.md +12/−12
- example/Main.hs +2/−2
- hyperbole.cabal +1/−1
- src/Web/Hyperbole.hs +1/−1
README.md view
@@ -52,23 +52,23 @@ Examples --------- -[The example directory](/example/README.md) contains an app with pages demonstrating different features+The [example directory](https://github.com/seanhess/hyperbole/blob/main/example/README.md) contains an app with pages demonstrating various features Run the examples in this repo using cabal. Then visit http://localhost:3000/ in your browser ``` cabal run ```-* [Main](./Main.hs)-* [Simple](./Example/Simple.hs)-* [Counter](./Example/Counter.hs)-* [CSS Transitions](./Example/Transitions.hs)-* [Forms](./Example/Forms.hs)-* [Sessions](./Example/Forms.hs)-* [Redirects](./Example/Redirects.hs)-* [Lazy Loading and Polling](./Example/LazyLoading.hs)-* [Errors](./Example/Errors.hs)-* [Contacts (Advanced)](./Example/Contacts.hs)+* [Main](https://github.com/seanhess/hyperbole/blob/main/example/Main.hs)+* [Simple](https://github.com/seanhess/hyperbole/blob/main/example/Example/Simple.hs)+* [Counter](https://github.com/seanhess/hyperbole/blob/main/example/Example/Counter.hs)+* [CSS Transitions](https://github.com/seanhess/hyperbole/blob/main/example/Example/Transitions.hs)+* [Forms](https://github.com/seanhess/hyperbole/blob/main/example/Example/Forms.hs)+* [Sessions](https://github.com/seanhess/hyperbole/blob/main/example/Example/Forms.hs)+* [Redirects](https://github.com/seanhess/hyperbole/blob/main/example/Example/Redirects.hs)+* [Lazy Loading and Polling](https://github.com/seanhess/hyperbole/blob/main/example/Example/LazyLoading.hs)+* [Errors](https://github.com/seanhess/hyperbole/blob/main/example/Example/Errors.hs)+* [Contacts (Advanced)](https://github.com/seanhess/hyperbole/blob/main/example/Example/Contacts.hs) Learn More ----------@@ -83,5 +83,5 @@ ------------- <a href="https://nso.edu">- <img alt="National Solar Observatory" src="https://github.com/seanhess/hyperbole/blob/main/example/doc/nso.png"/>+ <img alt="National Solar Observatory" src="https://nso1.b-cdn.net/wp-content/uploads/2020/03/NSO-logo-orange-text.png" width="400"/> </a>
example/Main.hs view
@@ -44,8 +44,8 @@ main :: IO () main = do putStrLn "Starting Examples on http://localhost:3000"- users <- initUsers- count <- runEff $ runConcurrent $ newTVarIO 0+ users <- Users.initUsers+ count <- runEff $ runConcurrent Counter.initCounter Warp.run 3000 $ staticPolicy (addBase "client/dist") $ app users count
hyperbole.cabal view
@@ -5,7 +5,7 @@ -- see: https://github.com/sol/hpack name: hyperbole-version: 0.3.5+version: 0.3.6 synopsis: Interactive HTML apps using type-safe serverside Haskell description: Interactive HTML applications using type-safe serverside Haskell. Inspired by HTMX, Elm, and Phoenix LiveView category: Web, Network
src/Web/Hyperbole.hs view
@@ -273,7 +273,7 @@ {- $examples-The [example directory](https://github.com/seanhess/hyperbole/blob/main/example/example/README.md) contains an app with pages demonstrating different features+The [example directory](https://github.com/seanhess/hyperbole/blob/main/example/README.md) contains an app with pages demonstrating various features * [Main](https://github.com/seanhess/hyperbole/blob/main/example/Main.hs) * [Simple](https://github.com/seanhess/hyperbole/blob/main/example/Example/Simple.hs)