reactive-banana-wx 1.0.0.0 → 1.1.0.0
raw patch · 2 files changed
+5/−5 lines, 2 filesdep ~reactive-banana
Dependency ranges changed: reactive-banana
Files
- reactive-banana-wx.cabal +2/−2
- src/BarTab.hs +3/−3
reactive-banana-wx.cabal view
@@ -1,5 +1,5 @@ Name: reactive-banana-wx-Version: 1.0.0.0+Version: 1.1.0.0 Synopsis: Examples for the reactive-banana library, using wxHaskell. Description: This library provides some GUI examples for the @reactive-banana@ library,@@ -39,7 +39,7 @@ hs-source-dirs: src build-depends: base >= 4.2 && < 5, cabal-macosx >= 0.1 && < 0.3,- reactive-banana >= 1.0 && < 1.1,+ reactive-banana >= 1.1 && < 1.2, wxcore (>= 0.13.2.1 && < 0.90) || (>= 0.90.0.1 && < 0.93), wx (>= 0.13.2.1 && < 0.90) || (>= 0.90.0.1 && < 0.93) extensions: ExistentialQuantification
src/BarTab.hs view
@@ -69,9 +69,9 @@ [row 10 [widget add, widget remove]] ++ map widget entries ++ [row 10 [widget msg, minsize (sz 40 20) $ widget total]] - bTotal :: Behavior Number- bTotal = switchB (pure Nothing) $- (fmap sum . sequenceA) <$> ePrices+ (bTotal :: Behavior Number)+ <- switchB (pure Nothing) $+ (fmap sum . sequenceA) <$> ePrices sink total [text :== showNumber <$> bTotal] sink f [layout :== bLayout]