sequence 0.9.2 → 0.9.3
raw patch · 3 files changed
+18/−20 lines, 3 files
Files
- ChangeLog +1/−0
- Data/SequenceClass.hs +16/−19
- sequence.cabal +1/−1
ChangeLog view
@@ -1,3 +1,4 @@+0.9.3: Fix docs 0.9.2: Fix error in cabal file 0.9.1: Error in git repo 0.9.0: Initial version
Data/SequenceClass.hs view
@@ -49,27 +49,24 @@ (><) :: s c -> s c -> s c -- | View a sequence from the left viewl :: s c -> ViewL s c -{- | 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--}+ -- | 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--}+ -- | 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 = tsingleton l >< r--}+ -- | 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.2+Version: 0.9.3 Synopsis: A type class for sequences and various sequence data structures. Description: A type class for sequences and various sequence data structures. License: BSD3