Format: 1.8 Date: Thu, 03 Jan 2019 16:06:13 -0800 Source: haskell-formlets Binary: libghc-formlets-dev libghc-formlets-prof libghc-formlets-doc Architecture: source amd64 all Version: 0.8-1~hackage1+seereason1~bionic3 Distribution: bionic-seereason Urgency: low Maintainer: Debian Haskell Group Changed-By: SeeReason Autobuilder Description: libghc-formlets-dev - libghc-formlets-doc - libghc-formlets-prof - Changes: haskell-formlets (0.8-1~hackage1+seereason1~bionic3) bionic-seereason; urgency=low . * Initial release * Built from hackage, revision: Debianize'' (Patch (Hackage "formlets") "diff -ru formlets-0.8.orig/formlets.cabal formlets-0.8/formlets.cabal\n--- old/formlets.cabal\t2010-12-21 19:08:34.000000000 -0800\n+++ new/formlets.cabal\t2012-05-21 17:32:06.863265531 -0700\n@@ -21,12 +21,12 @@\n Description: Choose the even newer, even smaller, split-up base package.\n \n Library\n- Build-Depends: haskell98, \n- xhtml, \n+ Build-Depends: xhtml, \n applicative-extras >= 0.1.7, \n bytestring,\n- blaze-html >= 0.2,\n- transformers == 0.2.2.0\n+ blaze-html >= 0.5,\n+ blaze-markup,\n+ transformers >= 0.2.2.0\n if flag(base4)\n Build-Depends: base >= 4 && < 5, syb\n else\ndiff -ru formlets-0.8.orig/Text/Blaze/Html5/Formlets.hs formlets-0.8/Text/Blaze/Html5/Formlets.hs\n--- old/Text/Blaze/Html5/Formlets.hs\t2010-12-21 19:08:34.000000000 -0800\n+++ new/Text/Blaze/Html5/Formlets.hs\t2012-05-21 17:30:10.513955542 -0700\n@@ -35,34 +35,34 @@\n --\n input :: Monad m => Html5Formlet m String\n input = input' $ \\n v -> H.input ! A.type_ \"text\"\n- ! A.name (H.stringValue n)\n- ! A.id (H.stringValue n)\n- ! A.value (H.stringValue v)\n+ ! A.name (H.toValue n)\n+ ! A.id (H.toValue n)\n+ ! A.value (H.toValue v)\n \n -- | A textarea with optional rows and columns, and an optional value\n --\n textarea :: Monad m => Maybe Int -> Maybe Int -> Html5Formlet m String\n-textarea r c = input' $ \\n v -> (applyAttrs n H.textarea) (H.string v)\n+textarea r c = input' $ \\n v -> (applyAttrs n H.textarea) (H.toHtml v)\n where\n- applyAttrs n = (! A.name (H.stringValue n)) . rows r . cols c\n- rows = maybe id $ \\x -> (! A.rows (H.stringValue $ show x))\n- cols = maybe id $ \\x -> (! A.cols (H.stringValue $ show x))\n+ applyAttrs n = (! A.name (H.toValue n)) . rows r . cols c\n+ rows = maybe id $ \\x -> (! A.rows (H.toValue $ show x))\n+ cols = maybe id $ \\x -> (! A.cols (H.toValue $ show x))\n \n -- | A password field with an optional value\n --\n password :: Monad m => Html5Formlet m String\n password = input' $ \\n v -> H.input ! A.type_ \"password\"\n- ! A.name (H.stringValue n)\n- ! A.id (H.stringValue n)\n- ! A.value (H.stringValue v)\n+ ! A.name (H.toValue n)\n+ ! A.id (H.toValue n)\n+ ! A.value (H.toValue v)\n \n -- | A hidden input field\n --\n hidden :: Monad m => Html5Formlet m String\n hidden = input' $ \\n v -> H.input ! A.type_ \"hidden\"\n- ! A.name (H.stringValue n)\n- ! A.id (H.stringValue n)\n- ! A.value (H.stringValue v)\n+ ! A.name (H.toValue n)\n+ ! A.id (H.toValue n)\n+ ! A.value (H.toValue v)\n \n -- | A validated integer component\n --\n@@ -73,8 +73,8 @@\n --\n file :: Monad m => Html5Form m File\n file = inputFile $ \\n -> H.input ! A.type_ \"file\"\n- ! A.name (H.stringValue n)\n- ! A.id (H.stringValue n)\n+ ! A.name (H.toValue n)\n+ ! A.id (H.toValue n)\n \n -- | A checkbox with an optional default value\n --\n@@ -84,13 +84,13 @@\n asBool (Just _) = Success True\n asBool Nothing = Success False\n html (Just True) n = H.input ! A.type_ \"checkbox\" \n- ! A.name (H.stringValue n)\n- ! A.id (H.stringValue n)\n+ ! A.name (H.toValue n)\n+ ! A.id (H.toValue n)\n ! A.value \"on\"\n ! A.checked \"checked\"\n html _ n = H.input ! A.type_ \"checkbox\"\n- ! A.name (H.stringValue n)\n- ! A.id (H.stringValue n)\n+ ! A.name (H.toValue n)\n+ ! A.id (H.toValue n)\n ! A.value \"on\"\n \n -- | A radio choice\n@@ -102,19 +102,19 @@\n where\n makeRadio name selected ((value, label'), idx) = do\n applyAttrs (radio' name value id')\n- H.label ! A.for (H.stringValue id')\n+ H.label ! A.for (H.toValue id')\n ! A.class_ \"radio\"\n- $ H.string label'\n+ $ H.toHtml label'\n where\n applyAttrs | selected == value = (! A.checked \"checked\")\n | otherwise = id\n id' = name ++ \"_\" ++ show idx\n \n radio' n v i = H.input ! A.type_ \"radio\"\n- ! A.name (H.stringValue n)\n- ! A.id (H.stringValue i)\n+ ! A.name (H.toValue n)\n+ ! A.id (H.toValue i)\n ! A.class_ \"radio\"\n- ! A.value (H.stringValue v)\n+ ! A.value (H.toValue v)\n \n -- | An radio choice for Enums\n --\n@@ -129,7 +129,7 @@\n -- | A label\n --\n label :: Monad m => String -> Form H.Html m ()\n-label = xml . H.label . H.string\n+label = xml . H.label . H.toHtml\n \n -- | This is a helper function to generate select boxes\n --\n@@ -138,11 +138,11 @@\n -> String -- ^ The value that is selected\n -> H.Html\n selectHtml choices name selected =\n- H.select ! A.name (H.stringValue name)\n+ H.select ! A.name (H.toValue name)\n $ mconcat $ map makeChoice choices\n where\n makeChoice (value, label') = applyAttrs $\n- H.option ! A.value (H.stringValue value) $ label'\n+ H.option ! A.value (H.toValue value) $ label'\n where\n applyAttrs | selected == value = (! A.selected \"selected\")\n | otherwise = id\n") Nothing (with /proc mounted) Checksums-Sha1: 8bac06636a68e7dbd067cb52e41aff2b6af221e6 12080 haskell-formlets_0.8-1~hackage1+seereason1~bionic3.tar.xz 8ac7c3cdc5e052a4009b7af70799c8ba6145e922 10435 haskell-formlets_0.8-1~hackage1+seereason1~bionic3_amd64.buildinfo 2ddc90c06aa4a1237163be0942f537ade776584d 202200 libghc-formlets-dev_0.8-1~hackage1+seereason1~bionic3_amd64.deb 7639cbe098c5b927935be1b52d2c5f268c03e2ca 78808 libghc-formlets-doc_0.8-1~hackage1+seereason1~bionic3_all.deb bbcf5599d2435fedb8185849f28f7cb7c3729d7e 166472 libghc-formlets-prof_0.8-1~hackage1+seereason1~bionic3_amd64.deb ca2effdf3fe058fc8d2cc28ea2fae89c35427e49 9463 haskell-formlets_0.8-1~hackage1+seereason1~bionic3.dsc Checksums-Sha256: 2b0977f88f114b2c3ff0bf1b127b1d838d44322a3232dea34457bd5b42d21de8 12080 haskell-formlets_0.8-1~hackage1+seereason1~bionic3.tar.xz 35b557f14c18385a2d0930f5b179f1b77b9d1fa95d616aac68d143a64aa22510 10435 haskell-formlets_0.8-1~hackage1+seereason1~bionic3_amd64.buildinfo 682f5e4a3b20d4608fb801e3d6dba95fc8a26a3673480efac8a130cc957894c9 202200 libghc-formlets-dev_0.8-1~hackage1+seereason1~bionic3_amd64.deb a02adfcf57cd58dfac2c50d4e72bb27f50c71e49b1b54cd20ae6d28f328342a0 78808 libghc-formlets-doc_0.8-1~hackage1+seereason1~bionic3_all.deb b28beb1970b77a1dc2931d6efc4d332ccac5f35906a83489d2c665baae35fc2d 166472 libghc-formlets-prof_0.8-1~hackage1+seereason1~bionic3_amd64.deb 7af81ab965a50e82d4a032df07b4ee0996185bda08d90dc070ae3ad4cbd0a333 9463 haskell-formlets_0.8-1~hackage1+seereason1~bionic3.dsc Build-Info: Autobuilder-Version: 6.74 Time: 24.831558382s Date: "Thu, 03 Jan 2019 16:06:38 -0800" Memory: 32818796 kB CPU: Intel(R) Core(TM) i7-7700T CPU @ 2.90GHz CPU count: 8 OS Architecture: x86_64 CPU MHz: 2000.525 CPU cache: 8192 KB Host: genie Files: 31f2480c21f40b59486307f178f87939 12080 haskell optional haskell-formlets_0.8-1~hackage1+seereason1~bionic3.tar.xz 84210f9eda09bbc5243d95aadb3db70a 10435 haskell optional haskell-formlets_0.8-1~hackage1+seereason1~bionic3_amd64.buildinfo 6c8e7da55c7fbf091c2056dfcf0648cb 202200 haskell optional libghc-formlets-dev_0.8-1~hackage1+seereason1~bionic3_amd64.deb 35c423152d3287a449cfe2a3a162f17e 78808 doc optional libghc-formlets-doc_0.8-1~hackage1+seereason1~bionic3_all.deb 72bf3de623a2955256dd3bce99d33587 166472 haskell optional libghc-formlets-prof_0.8-1~hackage1+seereason1~bionic3_amd64.deb 78cbec58419515ccdf497e1eb14443f0 9463 haskell optional haskell-formlets_0.8-1~hackage1+seereason1~bionic3.dsc