grapefruit-records 0.1.0.4 → 0.1.0.5
raw patch · 3 files changed
+32/−35 lines, 3 filesPVP: major bump suggested
API removals or changes: PVP suggests a major version bump
API changes (from Hackage documentation)
- Data.Record: instance [overlap ok] Present lookupName => Dissection X remainder lookupName lookupSort
Files
- LICENSE +21/−19
- grapefruit-records.cabal +11/−10
- src/Data/Record.hs +0/−6
LICENSE view
@@ -1,26 +1,28 @@ Copyright © 2007–2009 Brandenburgische Technische Universität Cottbus-Copyright © 2011–2012 Wolfgang Jeltsch+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.+ • 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. -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-records.cabal view
@@ -1,20 +1,21 @@ Name: grapefruit-records-Version: 0.1.0.4-Cabal-Version: >= 1.6+Version: 0.1.0.5+Cabal-Version: >= 1.8 Build-Type: Simple License: BSD3 License-File: LICENSE Copyright: © 2007–2009 Brandenburgische Technische Universität Cottbus- © 2011–2013 Wolfgang Jeltsch+ © 2011–2014 Wolfgang Jeltsch Author: Wolfgang Jeltsch Maintainer: wolfgang@cs.ioc.ee Stability: provisional Homepage: http://grapefruit-project.org/-Package-URL: http://hackage.haskell.org/packages/archive/grapefruit-records/0.1.0.4/grapefruit-records-0.1.0.4.tar.gz+Package-URL: http://hackage.haskell.org/packages/archive/grapefruit-records/0.1.0.5/grapefruit-records-0.1.0.5.tar.gz Synopsis: A record system for Functional Reactive Programming-Description: Grapefruit is a library for Functional Reactive Programming (FRP) with a focus on- user interfaces. FRP makes it possible to implement reactive and interactive systems- in a declarative style. To learn more about FRP, have a look at+Description: Grapefruit is a library for Functional Reactive Programming (FRP)+ with a focus on user interfaces. FRP makes it possible to+ implement reactive and interactive systems in a declarative+ style. To learn more about FRP, have a look at <http://haskell.org/haskellwiki/Functional_Reactive_Programming>. . This package provides a record system for use with FRP.@@ -22,9 +23,9 @@ Tested-With: GHC == 7.6.3 Source-Repository this- type: darcs- location: http://darcs.grapefruit-project.org/monolithic/0.1- tag: grapefruit-0.1.0.4+ Type: darcs+ Location: http://darcs.grapefruit-project.org/monolithic/0.1+ Tag: grapefruit-0.1.0.5 Library Build-Depends: arrows >= 0.2 && < 0.5,
src/Data/Record.hs view
@@ -230,10 +230,6 @@ dissect :: record style -> (remainder style,(lookupName ::: lookupSort) style) - instance (Present lookupName) => Dissection X remainder lookupName lookupSort where-- dissect = undefined- instance (lastSort ~ lookupSort) => Dissection (init :& lookupName ::: lastSort) init lookupName lookupSort where @@ -246,5 +242,3 @@ dissect (init :& last) = (initRemainder :& last,lookupField) where (initRemainder,lookupField) = dissect init-- class Present lookupName