sliceofpy-1.0.0: Python-ish slicing traversals for Haskell.

Safe HaskellSafe
LanguageHaskell2010

Data.Slice.Lens

Documentation

class Slice s where Source #

Methods

start :: s -> Maybe Int Source #

end :: s -> Maybe Int Source #

step :: s -> Maybe Int Source #

Instances
Slice String Source # 
Instance details

Defined in Data.Slice.Lens.Internal

Slice (Int, Int, Int) Source # 
Instance details

Defined in Data.Slice.Lens.Internal

Methods

start :: (Int, Int, Int) -> Maybe Int Source #

end :: (Int, Int, Int) -> Maybe Int Source #

step :: (Int, Int, Int) -> Maybe Int Source #

Slice (Maybe Int, Maybe Int, Maybe Int) Source # 
Instance details

Defined in Data.Slice.Lens.Internal