packages feed

sequence 0.9.3 → 0.9.4

raw patch · 3 files changed

+10/−1 lines, 3 files

Files

ChangeLog view
@@ -1,3 +1,4 @@+0.9.4: More fixing docs 0.9.3: Fix docs 0.9.2: Fix error in cabal file 0.9.1: Error in git repo
Data/SequenceClass.hs view
@@ -31,11 +31,13 @@ Instances should satisfy the following laws:  Monoid laws:+ > empty >< x == x > x >< empty == x > (x >< y) >< z = x >< (y >< z)  Observation laws:+ > viewl (singleton e >< s) == e :< s > viewl empty == EmptyL @@ -52,21 +54,27 @@   -- | View a sequence from the right   --             -- Default definition:+  --   -- > viewr q = case viewl q of    -- >    EmptyL -> EmptyR   -- >    h :< t -> case viewr t of   -- >        EmptyR -> empty   :> h   -- >        p :> l   -> (h <| p) :> l+  --   viewr     :: s c -> ViewR s c    -- | Append a single element to the right   --    -- Default definition:+  --   -- > l |> r = l >< singleton r+  --    (|>)       :: s c -> c  -> s c    -- | Append a single element to the left   --    -- Default definition:+  --   -- > l <| r = singleton l >< r+  --   (<|)       :: c  -> s c -> s c      l |> r = l >< singleton r
sequence.cabal view
@@ -1,5 +1,5 @@ Name:                sequence-Version:             0.9.3+Version:             0.9.4 Synopsis:	         A type class for sequences and various sequence data structures. Description:         A type class for sequences and various sequence data structures. License:             BSD3