Format: 1.8
Date: Thu, 03 Jan 2019 11:40:18 -0800
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~bionic2
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~bionic2) 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:
 85a06ebb87360b158ca157d54cffde7b0c89d8cb 13232 haskell-digestive-functors_0.2.1.0-0+seereason1~bionic2.tar.xz
 a5be9bb178bbfb9af8deaabf90491f534dcfe608 9730 haskell-digestive-functors_0.2.1.0-0+seereason1~bionic2_amd64.buildinfo
 81fa9979a55370e51168356b6aae023b86c3da7c 143504 libghc-digestive-functors-dev_0.2.1.0-0+seereason1~bionic2_amd64.deb
 ae1e16bb605a9697d2a3c475dfc8ba46fa2335d0 79644 libghc-digestive-functors-doc_0.2.1.0-0+seereason1~bionic2_all.deb
 1638a3f650e3c11a3a8529277e839b9cb6485646 132172 libghc-digestive-functors-prof_0.2.1.0-0+seereason1~bionic2_amd64.deb
 1caea4bf94a7258055282fd9bde84d73598349ec 6197 haskell-digestive-functors_0.2.1.0-0+seereason1~bionic2.dsc
Checksums-Sha256:
 8b8369b94155560b24f8355b2048e4b3e3a45decb7c5a655c02eaac4daca739b 13232 haskell-digestive-functors_0.2.1.0-0+seereason1~bionic2.tar.xz
 0a1beb16532c7d14cc3adaf442ac13bb78ef0323c0d4db6763cb8903887ff037 9730 haskell-digestive-functors_0.2.1.0-0+seereason1~bionic2_amd64.buildinfo
 bed59a27e256b7db2d03e01ef23f094881bd57ce9555118114b21ec1515dcc74 143504 libghc-digestive-functors-dev_0.2.1.0-0+seereason1~bionic2_amd64.deb
 fb8301fcc21d15423595daef59240a4422d220ac8b6e28664f8fb1b40f00581f 79644 libghc-digestive-functors-doc_0.2.1.0-0+seereason1~bionic2_all.deb
 1efdec78fe9644341b00a195d8b928bd53ba8250d07eb6c95b86f5979cb2c737 132172 libghc-digestive-functors-prof_0.2.1.0-0+seereason1~bionic2_amd64.deb
 2d3a5104a60b8b548c2ec853f376ae9f9844eb766733a6693d02b3f6a6165fdd 6197 haskell-digestive-functors_0.2.1.0-0+seereason1~bionic2.dsc
Build-Info:
 Autobuilder-Version: 6.74
 Time: 18.731795739s
 Date: "Thu, 03 Jan 2019 11:40:38 -0800"
 Memory: 32818796 kB
 CPU: Intel(R) Core(TM) i7-7700T CPU @ 2.90GHz
 CPU count: 8
 OS Architecture: x86_64
 CPU MHz: 1164.579
 CPU cache: 8192 KB
 Host: genie
Files:
 fb338add3e8e47e730a74090c4bae3a6 13232 haskell optional haskell-digestive-functors_0.2.1.0-0+seereason1~bionic2.tar.xz
 49ecd26808aec94c2d251b69f85ed2d6 9730 haskell optional haskell-digestive-functors_0.2.1.0-0+seereason1~bionic2_amd64.buildinfo
 f05ef149c725b8cfc2e7ab05141d37b2 143504 haskell optional libghc-digestive-functors-dev_0.2.1.0-0+seereason1~bionic2_amd64.deb
 a8e37e08e01f66e7852fbccfb406dc77 79644 doc optional libghc-digestive-functors-doc_0.2.1.0-0+seereason1~bionic2_all.deb
 b180427f00412313aa27d3e66e45a4b4 132172 haskell optional libghc-digestive-functors-prof_0.2.1.0-0+seereason1~bionic2_amd64.deb
 0279ef1d333fad921c0172c2e3dcccff 6197 haskell optional haskell-digestive-functors_0.2.1.0-0+seereason1~bionic2.dsc
