Format: 1.8
Date: Fri, 06 Jul 2018 21:49:47 -0700
Source: haskell-digestive-functors
Binary: libghc-digestive-functors-dev libghc-digestive-functors-prof libghc-digestive-functors-doc
Architecture: source amd64 all
Version: 0.2.1.0-0+seereason1~bionic1
Distribution: bionic-seereason
Urgency: low
Maintainer: Debian Haskell Group <pkg-haskell-maintainers@lists.alioth.debian.org>
Changed-By: SeeReason Autobuilder <partners@seereason.com>
Description:
 libghc-digestive-functors-dev -
 libghc-digestive-functors-doc -
 libghc-digestive-functors-prof -
Changes:
 haskell-digestive-functors (0.2.1.0-0+seereason1~bionic1) bionic-seereason; urgency=low
 .
   * Initial release
   * Built from hackage, revision: Debianize'' (Patch (Hackage "digestive-functors") "diff -ru old/src/Text/Digestive/Cli.hs new/src/Text/Digestive/Cli.hs\n--- old/src/Text/Digestive/Cli.hs\t2012-02-12 10:52:45.000000000 -0800\n+++ new/src/Text/Digestive/Cli.hs\t2018-07-06 15:36:16.330510939 -0700\n@@ -35,7 +35,7 @@\n --\n newtype PromptView = PromptView\n     { unPromptView :: [FieldItem]\n-    } deriving (Show, Monoid)\n+    } deriving (Show, Semigroup, Monoid)\n \n -- | Type for a prompt\n --\n@@ -46,7 +46,7 @@\n --\n newtype InputMap = InputMap\n     { unInputMap :: [(FormId, String)]\n-    } deriving (Show, Monoid)\n+    } deriving (Show, Semigroup, Monoid)\n \n -- Create an environment from an input map\n --\ndiff -ru old/src/Text/Digestive/Forms/Html.hs new/src/Text/Digestive/Forms/Html.hs\n--- old/src/Text/Digestive/Forms/Html.hs\t2012-02-12 10:52:45.000000000 -0800\n+++ new/src/Text/Digestive/Forms/Html.hs\t2018-07-06 15:36:00.946298176 -0700\n@@ -1,5 +1,6 @@\n -- | General functions for forms that are rendered to some sort of HTML\n --\n+{-# LANGUAGE FlexibleContexts, UndecidableInstances #-}\n module Text.Digestive.Forms.Html\n     ( FormHtmlConfig (..)\n     , FormEncType (..)\n@@ -44,10 +45,13 @@\n \n -- Monoid instance for encoding types: prefer UrlEncoded, but fallback to\n -- MultiPart when needed\n+instance Semigroup FormEncType where\n+    UrlEncoded <> x = x\n+    MultiPart <> _ = MultiPart\n+\n instance Monoid FormEncType where\n     mempty = UrlEncoded\n-    mappend UrlEncoded x = x\n-    mappend MultiPart _ = MultiPart\n+    mappend = (<>)\n \n -- | HTML describing a form\n --\n@@ -56,7 +60,7 @@\n     , formHtml    :: FormHtmlConfig -> a\n     }\n \n-instance Monoid a => Monoid (FormHtml a) where\n+instance (Semigroup (FormHtml a), Monoid a) => Monoid (FormHtml a) where\n     mempty = FormHtml mempty $ const mempty\n     mappend (FormHtml x f) (FormHtml y g) =\n         FormHtml (x `mappend` y) $ f `mappend` g\ndiff -ru old/src/Text/Digestive/Types.hs new/src/Text/Digestive/Types.hs\n--- old/src/Text/Digestive/Types.hs\t2012-02-12 10:52:45.000000000 -0800\n+++ new/src/Text/Digestive/Types.hs\t2018-07-06 15:34:29.505020421 -0700\n@@ -1,6 +1,6 @@\n -- | Core types\n --\n-{-# LANGUAGE GeneralizedNewtypeDeriving #-}\n+{-# LANGUAGE FlexibleContexts, GeneralizedNewtypeDeriving, UndecidableInstances #-}\n module Text.Digestive.Types\n     ( View (..)\n     , Environment (..)\n@@ -40,7 +40,7 @@\n --\n newtype View e v = View\n     { unView :: [(FormRange, e)] -> v\n-    } deriving (Monoid)\n+    } deriving (Semigroup, Monoid)\n \n instance Functor (View e) where\n     fmap f (View g) = View $ f . g\n@@ -51,7 +51,7 @@\n data Environment m i = Environment (FormId -> m (Maybe i))\n                      | NoEnvironment\n \n-instance Monad m => Monoid (Environment m i) where\n+instance (Semigroup (Environment m i), Monad m) => Monoid (Environment m i) where\n     mempty = NoEnvironment\n     NoEnvironment `mappend` x = x\n     x `mappend` NoEnvironment = x\ndiff -ru old/src/Text/Digestive/Validate.hs new/src/Text/Digestive/Validate.hs\n--- old/src/Text/Digestive/Validate.hs\t2012-02-12 10:52:45.000000000 -0800\n+++ new/src/Text/Digestive/Validate.hs\t2018-07-06 15:37:16.759341153 -0700\n@@ -1,5 +1,6 @@\n -- | Validators that can be attached to forms\n --\n+{-# LANGUAGE FlexibleContexts, UndecidableInstances #-}\n module Text.Digestive.Validate\n     ( Validator\n     , validate\n@@ -22,7 +23,7 @@\n --\n newtype Validator m e a = Validator {unValidator :: Transformer m e a a}\n \n-instance Monad m => Monoid (Validator m e a) where\n+instance (Semigroup (Validator m e a), Monad m) => Monoid (Validator m e a) where\n     mempty = Validator id\n     v1 `mappend` v2 = Validator $ Transformer $ \\inp ->\n         liftM2 eitherPlus (unTransformer (unValidator v1) inp)\n@@ -40,7 +41,7 @@\n \n -- | Attach multiple validators to a form.\n --\n-validateMany :: Monad m => Form m i e v a -> [Validator m e a] -> Form m i e v a\n+validateMany :: (Semigroup (Validator m e a), Monad m) => Form m i e v a -> [Validator m e a] -> Form m i e v a\n validateMany form = validate form . mconcat\n \n -- | Easy way to create a pure validator\n") Nothing (with /proc mounted)
Checksums-Sha1:
 3407fcd1fa2ce0ea9cb62b41eca4fed6c029648d 13236 haskell-digestive-functors_0.2.1.0-0+seereason1~bionic1.tar.xz
 f82ebc6e94a919e4df844a4983ff63d3d2c6d52f 9449 haskell-digestive-functors_0.2.1.0-0+seereason1~bionic1_amd64.buildinfo
 cbddc3fd3c7e05dd05f634d957587e143c3226c4 141436 libghc-digestive-functors-dev_0.2.1.0-0+seereason1~bionic1_amd64.deb
 9b1e7d81686c0e6cdc70f320d0b8b027b161ffb0 77576 libghc-digestive-functors-doc_0.2.1.0-0+seereason1~bionic1_all.deb
 52989524cf0d4122699af62a9680e4d022e3f4cb 132416 libghc-digestive-functors-prof_0.2.1.0-0+seereason1~bionic1_amd64.deb
 caa073e07bd72c4395cbd9150dbb43e5ac7b84ad 6169 haskell-digestive-functors_0.2.1.0-0+seereason1~bionic1.dsc
Checksums-Sha256:
 cf143bfd26dd94a5f76b6c579c773c1889fccfe20c7207dd86ee18d8c4cc0f2c 13236 haskell-digestive-functors_0.2.1.0-0+seereason1~bionic1.tar.xz
 5ba88492afa938b180cedb30755bad2698c7dec4cc462ea3efcd0847f2b468a1 9449 haskell-digestive-functors_0.2.1.0-0+seereason1~bionic1_amd64.buildinfo
 740678cea9b5ef65bd53aa71d2794310c1a419773976f5a1678a2ff48f5e0e5e 141436 libghc-digestive-functors-dev_0.2.1.0-0+seereason1~bionic1_amd64.deb
 fbd96cd251968905e1a8a00a5fbd4d42074a13a36eff484cee0353abd01a5be7 77576 libghc-digestive-functors-doc_0.2.1.0-0+seereason1~bionic1_all.deb
 0b1c2f45b00f1ff6fa6f7a7678b31c55fbf5f23bc50e90b3ed330c609a8ae6c5 132416 libghc-digestive-functors-prof_0.2.1.0-0+seereason1~bionic1_amd64.deb
 02a8fea80211142a702375291e6491d769853e3a4bc0565a999184f618c2eb6b 6169 haskell-digestive-functors_0.2.1.0-0+seereason1~bionic1.dsc
Build-Info:
 Autobuilder-Version: 6.74
 Time: 17.197236s
 Date: "Fri, 06 Jul 2018 21:50:04 -0700"
 Memory: 16299748 kB
 CPU: Intel(R) Core(TM) i7-4790S CPU @ 3.20GHz
 CPU count: 8
 OS Architecture: x86_64
 CPU MHz: 1410.700
 CPU cache: 8192 KB
 Host: trusty
Files:
 7b1dddfde0705cd130127263fef31825 13236 haskell optional haskell-digestive-functors_0.2.1.0-0+seereason1~bionic1.tar.xz
 cbb089a192e23e67b29ccb50c04c5294 9449 haskell optional haskell-digestive-functors_0.2.1.0-0+seereason1~bionic1_amd64.buildinfo
 e7857f9099c1d2d7bd865fe0b86db541 141436 haskell optional libghc-digestive-functors-dev_0.2.1.0-0+seereason1~bionic1_amd64.deb
 3145bb268301a7a9413d39658d283dcf 77576 doc optional libghc-digestive-functors-doc_0.2.1.0-0+seereason1~bionic1_all.deb
 75ea1c4c773e803b75788a45386d2c01 132416 haskell optional libghc-digestive-functors-prof_0.2.1.0-0+seereason1~bionic1_amd64.deb
 5fd7134d0a51fee75cb545e08fc91a6c 6169 haskell optional haskell-digestive-functors_0.2.1.0-0+seereason1~bionic1.dsc
