grapefruit-ui 0.1.0.5 → 0.1.0.6
raw patch · 2 files changed
+33/−26 lines, 2 filesPVP: major bump suggested
API removals or changes: PVP suggests a major version bump
API changes (from Hackage documentation)
- Graphics.UI.Grapefruit.Backend.Container: Column :: String -> (el -> display) -> Cell uiBackend display -> Column uiBackend el
+ Graphics.UI.Grapefruit.Backend: type family WindowPlacement uiBackend :: *;
+ Graphics.UI.Grapefruit.Backend: }
+ Graphics.UI.Grapefruit.Backend.Container: [Column] :: String -> (el -> display) -> Cell uiBackend display -> Column uiBackend el
+ Graphics.UI.Grapefruit.Backend.Container: data family Cell uiBackend :: * -> *;
+ Graphics.UI.Grapefruit.Backend.Container: }
+ Graphics.UI.Grapefruit.Item: infixr 6 `with`
+ Graphics.UI.Grapefruit.Item: type family CommonOutputRecord item :: * -> *;
+ Graphics.UI.Grapefruit.Item: }
- Graphics.UI.Grapefruit.Backend: class UIBackend uiBackend where type family WidgetPlacement uiBackend :: * type family WindowPlacement uiBackend :: *
+ Graphics.UI.Grapefruit.Backend: class UIBackend uiBackend where type WidgetPlacement uiBackend :: * type WindowPlacement uiBackend :: * where {
- Graphics.UI.Grapefruit.Backend.Basic: class UIBackend uiBackend => BasicUIBackend uiBackend
+ Graphics.UI.Grapefruit.Backend.Basic: class (UIBackend uiBackend) => BasicUIBackend uiBackend
- Graphics.UI.Grapefruit.Backend.Container: class BasicUIBackend uiBackend => ContainerUIBackend uiBackend where data family Cell uiBackend :: * -> *
+ Graphics.UI.Grapefruit.Backend.Container: class (BasicUIBackend uiBackend) => ContainerUIBackend uiBackend where data Cell uiBackend :: * -> * where {
- Graphics.UI.Grapefruit.Circuit: run :: UIBackend uiBackend => uiBackend -> (forall era. UICircuit Window uiBackend era i (DSignal era o)) -> i -> IO o
+ Graphics.UI.Grapefruit.Circuit: run :: (UIBackend uiBackend) => uiBackend -> (forall era. UICircuit Window uiBackend era i (DSignal era o)) -> i -> IO o
- Graphics.UI.Grapefruit.Comp: (<<|) :: UIComp uiComp => uiComp item uiBackend era tmp o -> Circuit era i tmp -> uiComp item uiBackend era i o
+ Graphics.UI.Grapefruit.Comp: (<<|) :: (UIComp uiComp) => uiComp item uiBackend era tmp o -> Circuit era i tmp -> uiComp item uiBackend era i o
- Graphics.UI.Grapefruit.Comp: (|<<) :: UIComp uiComp => Circuit era tmp o -> uiComp item uiBackend era i tmp -> uiComp item uiBackend era i o
+ Graphics.UI.Grapefruit.Comp: (|<<) :: (UIComp uiComp) => Circuit era tmp o -> uiComp item uiBackend era i tmp -> uiComp item uiBackend era i o
- Graphics.UI.Grapefruit.Interfacing: with :: UIComp uiComp => (nativeItem -> Placement innerItem uiBackend) -> uiComp innerItem uiBackend era innerI innerO -> Interfacing nativeItem era baseI baseO -> Interfacing nativeItem era (baseI `With` innerI) (baseO `With` innerO)
+ Graphics.UI.Grapefruit.Interfacing: with :: (UIComp uiComp) => (nativeItem -> Placement innerItem uiBackend) -> uiComp innerItem uiBackend era innerI innerO -> Interfacing nativeItem era baseI baseO -> Interfacing nativeItem era (baseI `With` innerI) (baseO `With` innerO)
- Graphics.UI.Grapefruit.Item: class (OptRecord (CommonInputOptRecord item), Record SignalKind (All (CommonInputOptRecord item)), Record SignalKind (CommonOutputRecord item)) => Item item where type family CommonInputOptRecord item :: * -> * type family CommonOutputRecord item :: * -> *
+ Graphics.UI.Grapefruit.Item: class (OptRecord (CommonInputOptRecord item), Record SignalKind (All (CommonInputOptRecord item)), Record SignalKind (CommonOutputRecord item)) => Item item where type CommonInputOptRecord item :: * -> * type CommonOutputRecord item :: * -> * where {
Files
- LICENSE +22/−19
- grapefruit-ui.cabal +11/−7
LICENSE view
@@ -2,27 +2,30 @@ Copyright © 2011–2014 Wolfgang Jeltsch All rights reserved. -Redistribution and use in source and binary forms, with or without modification,-are permitted provided that the following conditions are met:+Redistribution and use in source and binary forms, with or without+modification, are permitted provided that the following conditions are+met: - • Redistributions of source code must retain the above copyright notice,- this list of conditions and the following disclaimer.+ • Redistributions of source code must retain the above copyright+ notice, this list of conditions and the following disclaimer. - • Redistributions in binary form must reproduce the above copyright notice,- this list of conditions and the following disclaimer in the documentation- and/or other materials provided with the distribution.+ • Redistributions in binary form must reproduce the above copyright+ notice, this list of conditions and the following disclaimer in+ the documentation and/or other materials provided with the+ distribution. • Neither the name of the copyright holders nor the names of the- contributors may be used to endorse or promote products derived from this- software without specific prior written permission.+ contributors may be used to endorse or promote products derived+ from this software without specific prior written permission. -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS IS” AND-ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED-WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE-DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE-FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL-DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR-SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER-CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR-TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF-THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS+IS” AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED+TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A+PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT+HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,+SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED+TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR+PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF+LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS+SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
grapefruit-ui.cabal view
@@ -1,5 +1,5 @@ Name: grapefruit-ui-Version: 0.1.0.5+Version: 0.1.0.6 Cabal-Version: >= 1.8 Build-Type: Simple License: BSD3@@ -7,10 +7,10 @@ Copyright: © 2007–2009 Brandenburgische Technische Universität Cottbus © 2011–2014 Wolfgang Jeltsch Author: Wolfgang Jeltsch-Maintainer: wolfgang@cs.ioc.ee+Maintainer: wolfgang-it@jeltsch.info Stability: provisional-Homepage: http://grapefruit-project.org/-Package-URL: http://hackage.haskell.org/packages/archive/grapefruit-ui/0.1.0.5/grapefruit-ui-0.1.0.5.tar.gz+Homepage: https://grapefruit-project.org/+Package-URL: https://hackage.haskell.org/package/grapefruit-ui-0.1.0.6/grapefruit-ui-0.1.0.6.tar.gz Synopsis: Declarative user interface programming Description: Grapefruit is a library for Functional Reactive Programming (FRP) with a focus on user interfaces. FRP makes it possible to@@ -25,12 +25,16 @@ only backend is one based on GTK+. This is provided by the grapefruit-ui-gtk package. Category: FRP, Reactivity, GUI, User Interfaces-Tested-With: GHC == 7.6.3+Tested-With: GHC == 8.0.1 +Source-Repository head+ Type: darcs+ Location: http://hub.darcs.net/jeltsch/grapefruit+ Source-Repository this Type: darcs- Location: http://darcs.grapefruit-project.org/monolithic/0.1- Tag: grapefruit-0.1.0.5+ Location: http://hub.darcs.net/jeltsch/grapefruit+ Tag: grapefruit-0.1.0.6 Library Build-Depends: arrows >= 0.2 && < 0.5,