reform-hsp-0.2.7.2/ 0000755 0000000 0000000 00000000000 13573270706 012142 5 ustar 00 0000000 0000000 reform-hsp-0.2.7.2/Setup.hs 0000644 0000000 0000000 00000000056 13573270706 013577 0 ustar 00 0000000 0000000 import Distribution.Simple
main = defaultMain
reform-hsp-0.2.7.2/LICENSE 0000644 0000000 0000000 00000002757 13573270706 013162 0 ustar 00 0000000 0000000 Copyright (c)2012, Jeremy Shaw
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above
copyright notice, this list of conditions and the following
disclaimer in the documentation and/or other materials provided
with the distribution.
* Neither the name of Jeremy Shaw nor the names of other
contributors may be used to endorse or promote products derived
from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
reform-hsp-0.2.7.2/reform-hsp.cabal 0000644 0000000 0000000 00000002271 13573270706 015212 0 ustar 00 0000000 0000000 Name: reform-hsp
Version: 0.2.7.2
Synopsis: Add support for using HSP with Reform
Description: Reform is a library for building and validating forms using applicative functors. This package add support for using reform with HSP.
Homepage: http://www.happstack.com/
License: BSD3
License-file: LICENSE
Author: Jeremy Shaw
Maintainer: jeremy@n-heptane.com
Copyright: 2012 Jeremy Shaw, Jasper Van der Jeugt, SeeReason Partners LLC
Category: Web
Build-type: Simple
Cabal-version: >=1.6
tested-with: GHC == 7.6.3, GHC == 7.8.4, GHC == 7.10.3, GHC == 8.0.1, GHC == 8.6.5, GHC == 8.8.1
source-repository head
type: git
location: https://github.com/Happstack/reform-hsp.git
Library
Exposed-modules: Text.Reform.HSP.Common
Text.Reform.HSP.String
Text.Reform.HSP.Text
Build-depends: base > 4 && <5,
hsp >= 0.9 && < 0.11,
hsx2hs >= 0.13 && < 0.15,
reform >= 0.2.1 && < 0.4,
text >= 0.11 && < 1.3
reform-hsp-0.2.7.2/Text/ 0000755 0000000 0000000 00000000000 13573270706 013066 5 ustar 00 0000000 0000000 reform-hsp-0.2.7.2/Text/Reform/ 0000755 0000000 0000000 00000000000 13573270706 014320 5 ustar 00 0000000 0000000 reform-hsp-0.2.7.2/Text/Reform/HSP/ 0000755 0000000 0000000 00000000000 13573270706 014752 5 ustar 00 0000000 0000000 reform-hsp-0.2.7.2/Text/Reform/HSP/Text.hs 0000644 0000000 0000000 00000034050 13573270706 016234 0 ustar 00 0000000 0000000 {-# LANGUAGE FlexibleContexts, FlexibleInstances, MultiParamTypeClasses, ScopedTypeVariables, TypeFamilies, UndecidableInstances, ViewPatterns #-}
{- |
This module provides functions creating Reform using HSP markup.
This module assumes that you wish for text based controls such as 'inputText' and 'textarea' to using 'Text' values. If you prefer 'String' see "Text.Reform.HSP.String".
-}
module Text.Reform.HSP.Text
( -- * \ element
inputEmail
, inputText
, inputPassword
, inputSubmit
, inputReset
, inputHidden
, inputButton
, inputCheckbox
, inputCheckboxes
, inputRadio
, inputRadioForms
, inputFile
-- * \