packages feed

pipes-key-value-csv 0.4.0.1 → 0.4.0.2

raw patch · 2 files changed

+3/−17 lines, 2 filesdep ~lensdep ~pipesPVP: major bump suggested

API removals or changes: PVP suggests a major version bump

Dependency ranges changed: lens, pipes

API changes (from Hackage documentation)

- Pipes.KeyValueCsv.Types: csvOptions :: forall m_awIv f_awIx g_awIz hs_awIA rs_awIB g_awJS rs_awJT. Lens (Options m_awIv f_awIx g_awIz hs_awIA rs_awIB) (Options m_awIv f_awIx g_awJS hs_awIA rs_awJT) (CsvOptions m_awIv g_awIz rs_awIB) (CsvOptions m_awIv g_awJS rs_awJT)
+ Pipes.KeyValueCsv.Types: csvOptions :: forall m_awGB f_awGD g_awGF hs_awGG rs_awGH g_awHY rs_awHZ. Lens (Options m_awGB f_awGD g_awGF hs_awGG rs_awGH) (Options m_awGB f_awGD g_awHY hs_awGG rs_awHZ) (CsvOptions m_awGB g_awGF rs_awGH) (CsvOptions m_awGB g_awHY rs_awHZ)
- Pipes.KeyValueCsv.Types: delimiter :: forall m_awIv f_awIx g_awIz hs_awIA rs_awIB. Lens' (Options m_awIv f_awIx g_awIz hs_awIA rs_awIB) Char
+ Pipes.KeyValueCsv.Types: delimiter :: forall m_awGB f_awGD g_awGF hs_awGG rs_awGH. Lens' (Options m_awGB f_awGD g_awGF hs_awGG rs_awGH) Char
- Pipes.KeyValueCsv.Types: kvOptions :: forall m_awIv f_awIx g_awIz hs_awIA rs_awIB f_awJU hs_awJV. Lens (Options m_awIv f_awIx g_awIz hs_awIA rs_awIB) (Options m_awIv f_awJU g_awIz hs_awJV rs_awIB) (KeyValueOptions m_awIv f_awIx hs_awIA) (KeyValueOptions m_awIv f_awJU hs_awJV)
+ Pipes.KeyValueCsv.Types: kvOptions :: forall m_awGB f_awGD g_awGF hs_awGG rs_awGH f_awI0 hs_awI1. Lens (Options m_awGB f_awGD g_awGF hs_awGG rs_awGH) (Options m_awGB f_awI0 g_awGF hs_awI1 rs_awGH) (KeyValueOptions m_awGB f_awGD hs_awGG) (KeyValueOptions m_awGB f_awI0 hs_awI1)
- Pipes.KeyValueCsv.Types: predicate :: forall m_awIv f_awIx g_awIz hs_awIA rs_awIB. Lens' (Options m_awIv f_awIx g_awIz hs_awIA rs_awIB) (Text -> Bool)
+ Pipes.KeyValueCsv.Types: predicate :: forall m_awGB f_awGD g_awGF hs_awGG rs_awGH. Lens' (Options m_awGB f_awGD g_awGF hs_awGG rs_awGH) (Text -> Bool)
- Pipes.KeyValueCsv.Types.KeyValue: keyNames :: forall m_aupi f_aupk rs_aupl. Lens' (KeyValueOptions m_aupi f_aupk rs_aupl) (Rec (Const Text :: k_aupj -> Type) rs_aupl)
+ Pipes.KeyValueCsv.Types.KeyValue: keyNames :: forall m_auno f_aunq rs_aunr. Lens' (KeyValueOptions m_auno f_aunq rs_aunr) (Rec (Const Text :: k_aunp -> Type) rs_aunr)
- Pipes.KeyValueCsv.Types.KeyValue: kvParser :: forall m_aupi f_aupk rs_aupl m_auC8 f_auC9. Lens (KeyValueOptions m_aupi f_aupk rs_aupl) (KeyValueOptions m_auC8 f_auC9 rs_aupl) (Rec (CellParser m_aupi f_aupk :: k_aupj -> Type) rs_aupl) (Rec (CellParser m_auC8 f_auC9 :: k_aupj -> Type) rs_aupl)
+ Pipes.KeyValueCsv.Types.KeyValue: kvParser :: forall m_auno f_aunq rs_aunr m_auAe f_auAf. Lens (KeyValueOptions m_auno f_aunq rs_aunr) (KeyValueOptions m_auAe f_auAf rs_aunr) (Rec (CellParser m_auno f_aunq :: k_aunp -> Type) rs_aunr) (Rec (CellParser m_auAe f_auAf :: k_aunp -> Type) rs_aunr)

Files

pipes-key-value-csv.cabal view
@@ -1,5 +1,5 @@ name:                pipes-key-value-csv
-version:             0.4.0.1
+version:             0.4.0.2
 synopsis:            Streaming processing of CSV files preceded by key-value pairs.
 description:         Nonstandard CSV files, with the table preceded by a header consisting of key-value pairs are often the output format of varius test equipment, such as digital oscilloscopes.
 homepage:            https://github.com/marcinmrotek/key-value-csv
@@ -40,9 +40,9 @@                      , bifunctors         >= 5.2     && < 5.5
                      , containers         >= 0.5.6   && < 0.6
                      , data-default-class >= 0.0.1   && < 0.2
-                     , lens               >= 4.12    && < 4.15
+                     , lens               >= 4.12    && < 4.16
                      , mtl                >= 2.2     && < 2.3
-                     , pipes              >= 4.1     && < 4.2
+                     , pipes              >= 4.1     && < 4.3
                      , pipes-bytestring   >= 2.1     && < 2.2
                      , pipes-group        >= 1.0     && < 1.1
                      , pipes-parse        >= 3.0     && < 3.1
src/Data/Validation.hs view
@@ -29,20 +29,6 @@  data Validation e a = Success a | Failure e   deriving (Show, Eq, Ord, Data, Functor, Foldable, Generic)-  -toEither :: Validation e a -> Either e a-toEither (Success a) = Right a-toEither (Failure e) = Left e--fromEither :: Either e a -> Validation e a-fromEither (Right a) = Success a-fromEither (Left e) = Failure e--_Either :: Iso (Validation e1 a1) (Validation e2 a2) (Either e1 a1) (Either e2 a2)-_Either = iso toEither fromEither--_Validation :: Iso (Either e1 a1) (Either e2 a2) (Validation e1 a1) (Validation e2 a2)-_Validation = iso fromEither toEither  instance Semigroup e => Semigroup (Validation e a) where   (<>) = app