Format: 1.8 Date: Tue, 10 Apr 2018 19:05:12 -0700 Source: haskell-formlets Binary: libghc-formlets-dev libghc-formlets-prof libghc-formlets-doc Architecture: source amd64 all Version: 0.8-1~hackage1+seereason1~xenial5 Distribution: xenial-seereason7 Urgency: low Maintainer: Debian Haskell Group Changed-By: SeeReason Autobuilder Description: libghc-formlets-dev - ${haskell:ShortDescription}${haskell:ShortBlurb} libghc-formlets-doc - ${haskell:ShortDescription}${haskell:ShortBlurb} libghc-formlets-prof - ${haskell:ShortDescription}${haskell:ShortBlurb} Changes: haskell-formlets (0.8-1~hackage1+seereason1~xenial5) xenial-seereason7; 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: fde700e85e9f45f6ea2a279f713ab5ba27408d4a 12040 haskell-formlets_0.8-1~hackage1+seereason1~xenial5.tar.xz 98ef908b6047ab483f2630dade3f933966523753 179962 libghc-formlets-dev_0.8-1~hackage1+seereason1~xenial5_amd64.deb 7f53507661dffe8c5126a0eb819aa59e30254682 55146 libghc-formlets-doc_0.8-1~hackage1+seereason1~xenial5_all.deb 962f28268a013e4493194ae280b306319de279e6 180968 libghc-formlets-prof_0.8-1~hackage1+seereason1~xenial5_amd64.deb 647dc9389f7e5a3cfc8515ac11b160d507057633 9478 haskell-formlets_0.8-1~hackage1+seereason1~xenial5.dsc Checksums-Sha256: 65d282de7a9eb85f1a1ccefca7c26df8a4cec72d4824b3a320f53e0805b8d364 12040 haskell-formlets_0.8-1~hackage1+seereason1~xenial5.tar.xz bba4921c1121e0eafe1cac3c18a925c5ebe86c20d48218862e1abeac1b75af9a 179962 libghc-formlets-dev_0.8-1~hackage1+seereason1~xenial5_amd64.deb 805ac517f3c6b7312ba698e08cb9321fce54fd06979cf060274495a08a0e9833 55146 libghc-formlets-doc_0.8-1~hackage1+seereason1~xenial5_all.deb e6848bf498b1b965176dc9a527b963efaa6949748154302a7b4a8018ad6f8692 180968 libghc-formlets-prof_0.8-1~hackage1+seereason1~xenial5_amd64.deb 945c440ec80676de37c4d591e7f12db1e05b1cbd7595158a41e9fe05bdad5595 9478 haskell-formlets_0.8-1~hackage1+seereason1~xenial5.dsc Build-Info: Autobuilder-Version: 6.74 Time: 27.507811174s Date: "Tue, 10 Apr 2018 19:05:40 -0700" Memory: 32819076 kB CPU: Intel(R) Core(TM) i7-7700T CPU @ 2.90GHz CPU count: 8 OS Architecture: x86_64 CPU MHz: 2900.000 CPU cache: 8192 KB Host: genie Files: 19a6904d8f43ac53b88a3b8f21c02016 12040 haskell optional haskell-formlets_0.8-1~hackage1+seereason1~xenial5.tar.xz 23a7ec2a9623ffe98ac27e6c7c14329a 179962 haskell optional libghc-formlets-dev_0.8-1~hackage1+seereason1~xenial5_amd64.deb 8080f5c63fad781b7be6aedd7eaf8ced 55146 doc optional libghc-formlets-doc_0.8-1~hackage1+seereason1~xenial5_all.deb fcb18e400af36520df4839946142141a 180968 haskell optional libghc-formlets-prof_0.8-1~hackage1+seereason1~xenial5_amd64.deb 433abcea5868c55730febb99097cb69b 9478 haskell optional haskell-formlets_0.8-1~hackage1+seereason1~xenial5.dsc