homepage: https://github.com/leptonyu/menshen#readme
changelog-type: ''
hash: 9985c6d543b61b52e8a2fa1bc6806bcafb73938aa232871a8d0cb29d5b84fc43
test-bench-deps:
  base: ! '>=4.7 && <5'
  hspec: ==2.*
  text: ! '>=1.2.3.1 && <1.3'
  menshen: -any
  regex-tdfa: ! '>=1.2.3.1 && <1.3'
  scientific: ! '>=0.3.6.2 && <0.4'
  QuickCheck: -any
maintainer: leptonyu@gmail.com
synopsis: Data Validation
changelog: ''
basic-deps:
  base: ! '>=4.7 && <5'
  text: ! '>=1.2.3.1 && <1.3'
  regex-tdfa: ! '>=1.2.3.1 && <1.3'
  scientific: ! '>=0.3.6.2 && <0.4'
all-versions:
- 0.0.0
author: Daniel YU
latest: 0.0.0
description-type: markdown
description: |+
  # menshen

  [![Hackage](https://img.shields.io/badge/hackage-v0.0.0-orange.svg)](https://hackage.haskell.org/package/menshen)
  [![Build Status](https://travis-ci.org/leptonyu/menshen.svg?branch=master)](https://travis-ci.org/leptonyu/menshen)


  ```Haskell

  λ> let value :: Int -> Either String Int; value = Right
  λ> value 10 & maxInt 8
  Left "must be less than or equal to 8"
  λ> value 10 & maxInt 10
  Right 10
  λ> value 10 & maxInt 10 & minInt 8
  Right 10
  λ> value 9 & maxInt 10 & minInt 8
  Right 9
  λ> value 7 & maxInt 10 & minInt 8
  Left "must be greater than or equal to 8"
  λ> let str :: String -> Either String String; str = Right
  λ> str "xxxx@gmail.com" & email
  Right "xxxx@gmail.com"
  λ> str "xxxx@gmail" & email
  Left "must be a well-formed email address"
  λ> str "123456789" & size (6,32)
  Right "123456789"
  λ> str "12345" & size (6,32)
  Left "size must be between 6 and 32"


  ```

license-name: BSD-3-Clause

Update from Hackage at 2019-01-17T04:00:10Z
Update from Hackage at 2019-01-17T04:00:10Z
