packages feed

Yampa 0.14.12 → 0.15.1

raw patch · 4 files changed

Files

CHANGELOG view
@@ -1,3 +1,18 @@+2026-10-21 Ivan Perez <ivan.perez@keera.co.uk>+    * Version bump (0.15.1) (#338).+    * Fix error in execution of `cabal update` in CI (#330).+    * Constrain dependencies when using GHC 7.6.3 in CI (#331).+    * Bump upper version bound on `random` (#324).+    * Bump upper version bound on `time` (#334).+    * Enable compilation with MicroHs (#336).+    * Document installation steps using MicroHs (#337).+    * Change repository protocol in Cabal file to https (#339).+    * Thanks to @augustss.++2025-02-27 Ivan Perez <ivan.perez@keera.co.uk>+    * Version bump (0.15) (#322).+    * Deprecate FRP.Yampa.Arrow.arr3,arr4,arr5 (#313).+ 2024-12-07 Ivan Perez <ivan.perez@keera.co.uk>     * Version bump (0.14.12) (#319).     * Re-export missing definitions (#318).
Yampa.cabal view
@@ -30,7 +30,7 @@ build-type:    Simple  name:          Yampa-version:       0.14.12+version:       0.15.1 author:        Henrik Nilsson, Antony Courtney maintainer:    Ivan Perez (ivan.perez@keera.co.uk) homepage:      https://github.com/ivanperez-keera/Yampa/@@ -51,7 +51,7 @@  source-repository head   type:     git-  location: git://github.com/ivanperez-keera/Yampa.git+  location: https://github.com/ivanperez-keera/Yampa.git   subdir:   yampa  @@ -118,7 +118,7 @@       base < 6      , deepseq             >= 1.3.0.1 && < 1.6-    , random              >= 1.1     && < 1.3+    , random              >= 1.1     && < 1.4     , simple-affine-space >= 0.1     && < 0.3    default-language:@@ -130,7 +130,7 @@   ghc-options:     -O3 -Wall -fno-warn-name-shadowing -  if !impl(ghc >= 8.0)+  if !impl(ghc >= 8.0) && !impl(mhs)     build-depends:       fail == 4.9.* @@ -217,7 +217,7 @@         base < 5        , deepseq >= 1.3.0.1 && < 1.6-      , random  >= 1.1     && < 1.3+      , random  >= 1.1     && < 1.4       , SDL     >= 0.6     && < 0.7       , Yampa   else@@ -248,7 +248,7 @@         base < 5        , deepseq >= 1.3.0.1 && < 1.6-      , random  >= 1.1     && < 1.3+      , random  >= 1.1     && < 1.4       , SDL     >= 0.6     && < 0.7       , Yampa   else@@ -280,7 +280,7 @@        , deepseq >= 1.3.0.1 && < 1.6       , hcwiid  >= 0.0.5   && < 0.1-      , random  >= 1.1     && < 1.3+      , random  >= 1.1     && < 1.4       , SDL     >= 0.6     && < 0.7       , Yampa   else@@ -352,7 +352,7 @@        base      < 5      , criterion >= 0.5.0.0 && < 1.7      , filepath  >= 1.3.0.1 && < 1.6-     , time      >= 1.4     && < 1.15+     , time      >= 1.4     && < 1.17      , Yampa    default-language:
src/FRP/Yampa/Arrow.hs view
@@ -39,14 +39,17 @@ arr2 :: Arrow a => (b -> c -> d) -> a (b, c) d arr2 = arr . uncurry +{-# DEPRECATED arr3 "The function arr3 is deprecated in Yampa 0.15 and will be removed in future versions." #-} -- | Lift a 3-ary function onto an arrow. arr3 :: Arrow a => (b -> c -> d -> e) -> a (b, c, d) e arr3 = arr . \h (b, c, d) -> h b c d +{-# DEPRECATED arr4 "The function arr4 is deprecated in Yampa 0.15 and will be removed in future versions." #-} -- | Lift a 4-ary function onto an arrow. arr4 :: Arrow a => (b -> c -> d -> e -> f) -> a (b, c, d, e) f arr4 = arr . \h (b, c, d, e) -> h b c d e +{-# DEPRECATED arr5 "The function arr5 is deprecated in Yampa 0.15 and will be removed in future versions." #-} -- | Lift a 5-ary function onto an arrow. arr5 :: Arrow a => (b -> c -> d -> e -> f -> g) -> a (b, c, d, e, f) g arr5 = arr . \h (b, c, d, e, f) -> h b c d e f
src/FRP/Yampa/InternalCore.hs view
@@ -85,13 +85,13 @@   where  -- External imports-#if __GLASGOW_HASKELL__ < 710+#if __GLASGOW_HASKELL__ < 710 && !defined(__MHS__) import Control.Applicative (Applicative(..)) #endif  import Control.Arrow (Arrow (..), ArrowChoice (..), ArrowLoop (..), (>>>)) -#if __GLASGOW_HASKELL__ >= 610+#if __GLASGOW_HASKELL__ >= 610 || defined(__MHS__) import qualified Control.Category (Category(..)) #endif @@ -270,7 +270,7 @@  -- * Arrow instance and implementation -#if __GLASGOW_HASKELL__ >= 610+#if __GLASGOW_HASKELL__ >= 610 || defined(__MHS__) -- | Composition and identity for SFs. instance Control.Category.Category SF where   (.) = flip compPrim@@ -329,7 +329,7 @@   (***)  = parSplitPrim   (&&&)  = parFanOutPrim -#if __GLASGOW_HASKELL__ >= 610+#if __GLASGOW_HASKELL__ >= 610 || defined(__MHS__) #else   (>>>) = compPrim #endif