rhine-gloss 0.4.0.0 → 0.4.0.1
raw patch · 4 files changed
+21/−45 lines, 4 filesdep ~basedep ~glossPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: base, gloss
API changes (from Hackage documentation)
Files
- ChangeLog.md +2/−6
- Main.hs +1/−1
- README.md +0/−26
- rhine-gloss.cabal +18/−12
ChangeLog.md view
@@ -1,13 +1,9 @@ # Revision history for rhine-gloss -## 0.4.0.0 -- 2017.12.04+## 0.2.0.0 -- 2017-11-29 -* Version bump+* First version. Version numbers follow rhine. ## 0.3.0.0 -- 2017-11-30 * Added simple example.--## 0.2.0.0 -- 2017-11-29--* First version. Version numbers follow rhine.
Main.hs view
@@ -16,5 +16,5 @@ mainSyncSF = timeInfoOf sinceStart >>> arr (* 50) >>> arr gears main :: IO ()-main = flowGloss (InWindow "rhine-gloss-gears" (400, 400) (10, 10)) (greyN 0.3) 30+main = flowGloss (InWindow "sonnen" (400, 400) (10, 10)) (greyN 0.3) 30 $ buildGlossRhine Just mainSyncSF
− README.md
@@ -1,26 +0,0 @@-# README--This package provides a simple wrapper for the `gloss` library,-or rather the function `Graphics.Gloss.play`,-enabling you to write `gloss` applications as synchronous signal functions.-An example "gears" program, which you can run as `cabal run gloss-gears`,-now becomes as simple as:--```haskell-import FRP.Rhine.Gloss----- | Calculate a gear wheel rotated by a certain angle.-gears :: Float -> Picture-gears angle = color green $ pictures- $ circleSolid 60- : map (rotate angle) [ rotate (45 * n) $ rectangleSolid 20 150 | n <- [0..3] ]---- | Rotate the gear with a constant angular velocity.-mainSyncSF :: GlossSyncSF a-mainSyncSF = timeInfoOf sinceStart >>> arr (* 50) >>> arr gears--main :: IO ()-main = flowGloss (InWindow "rhine-gloss-gears" (400, 400) (10, 10)) (greyN 0.3) 30- $ buildGlossRhine Just mainSyncSF-```
rhine-gloss.cabal view
@@ -2,13 +2,10 @@ -- documentation, see http://haskell.org/cabal/users-guide/ name: rhine-gloss-version: 0.4.0.0-synopsis: Wrapper to run reactive programs written in Rhine+version: 0.4.0.1+synopsis: Gloss backend for Rhine+description: Wrapper to run reactive programs written in Rhine with Gloss as backend-description:- This package provides a simple wrapper for the `gloss` library,- or rather the function `Graphics.Gloss.play`,- enabling you to write `gloss` applications as synchronous signal functions. license: BSD3 license-file: LICENSE author: Manuel Bärenz@@ -17,22 +14,31 @@ category: FRP build-type: Simple extra-source-files: ChangeLog.md-extra-doc-files: README.md cabal-version: >=1.18 +source-repository head+ type: git+ location: git@github.com:turion/rhine.git++source-repository this+ type: git+ location: git@github.com:turion/rhine.git+ tag: v0.4.0.1++ library exposed-modules: FRP.Rhine.Gloss other-modules: FRP.Rhine.Gloss.Internals- build-depends: base >= 4.7 && < 5- , rhine == 0.4.*- , dunai == 0.4.*- , gloss == 1.11.*+ build-depends: base >= 4.9 && < 4.12+ , rhine == 0.4.*+ , dunai == 0.4.*+ , gloss >= 1.11 && < 1.13 hs-source-dirs: src default-language: Haskell2010 executable rhine-gloss-gears main-is: Main.hs ghc-options: -threaded- build-depends: base >= 4.7 && < 5+ build-depends: base >= 4.9 , rhine-gloss default-language: Haskell2010