packages feed

validation 0.3.0 → 0.3.1

raw patch · 2 files changed

+3/−2 lines, 2 filesdep ~base

Dependency ranges changed: base

Files

src/Data/Validation.hs view
@@ -1,4 +1,5 @@ {-# LANGUAGE DeriveDataTypeable #-}+{-# LANGUAGE Safe #-} {-# LANGUAGE NoImplicitPrelude #-}  -- | Data types similar to @Data.Either@ that are explicit about failure and success.@@ -53,7 +54,7 @@  -- | A value of the type @err@ or @a@, however, the @Applicative@ instance -- accumulates values. This is witnessed by the @Semigroup@ context on the instance.--- /Note that there is no @Monad@ such that @ap = (<*>)./+-- /Note that there is no Monad such that ap = (<*>)./ -- -- >>> _Success # (+1) <*> _Success # 7 :: AccValidation String Int -- AccSuccess 8
validation.cabal view
@@ -1,5 +1,5 @@ name:               validation-version:            0.3.0+version:            0.3.1 license:            BSD3 license-file:       LICENSE author:             Tony Morris <ʇǝu˙sıɹɹoɯʇ@ןןǝʞsɐɥ>, Nick Partridge