sdp-0.2: Simple Data Processing
Copyright(c) Andrey Mulik 2019
LicenseBSD-style
Maintainerwork.a.mulik@gmail.com
Portabilitynon-portable (requires non-portable modules)
Safe HaskellSafe
LanguageHaskell2010

SDP.Scan

Description

SDP.Scan provides Scan - class for overloaded scans. Scan needed for generalization and not so useful is practice as other sdp classes.

Synopsis

Documentation

class Linear s a => Scan s a where Source #

Scan is class of scans.

Minimal complete definition

Nothing

Methods

scanl :: (b -> a -> b) -> b -> s -> [b] Source #

scanl' :: (b -> a -> b) -> b -> s -> [b] Source #

scanr :: (a -> b -> b) -> b -> s -> [b] Source #

scanr' :: (a -> b -> b) -> b -> s -> [b] Source #

scanl1 :: (a -> a -> a) -> s -> [a] Source #

scanr1 :: (a -> a -> a) -> s -> [a] Source #

Instances

Instances details
Scan [a] a Source # 
Instance details

Defined in SDP.Scan

Methods

scanl :: (b -> a -> b) -> b -> [a] -> [b] Source #

scanl' :: (b -> a -> b) -> b -> [a] -> [b] Source #

scanr :: (a -> b -> b) -> b -> [a] -> [b] Source #

scanr' :: (a -> b -> b) -> b -> [a] -> [b] Source #

scanl1 :: (a -> a -> a) -> [a] -> [a] Source #

scanr1 :: (a -> a -> a) -> [a] -> [a] Source #

Unboxed e => Scan (SBytes# e) e Source # 
Instance details

Defined in SDP.Prim.SBytes

Methods

scanl :: (b -> e -> b) -> b -> SBytes# e -> [b] Source #

scanl' :: (b -> e -> b) -> b -> SBytes# e -> [b] Source #

scanr :: (e -> b -> b) -> b -> SBytes# e -> [b] Source #

scanr' :: (e -> b -> b) -> b -> SBytes# e -> [b] Source #

scanl1 :: (e -> e -> e) -> SBytes# e -> [e] Source #

scanr1 :: (e -> e -> e) -> SBytes# e -> [e] Source #

Scan (SArray# e) e Source # 
Instance details

Defined in SDP.Prim.SArray

Methods

scanl :: (b -> e -> b) -> b -> SArray# e -> [b] Source #

scanl' :: (b -> e -> b) -> b -> SArray# e -> [b] Source #

scanr :: (e -> b -> b) -> b -> SArray# e -> [b] Source #

scanr' :: (e -> b -> b) -> b -> SArray# e -> [b] Source #

scanl1 :: (e -> e -> e) -> SArray# e -> [e] Source #

scanr1 :: (e -> e -> e) -> SArray# e -> [e] Source #

Linear1 (AnyChunks rep) e => Scan (AnyChunks rep e) e Source # 
Instance details

Defined in SDP.Templates.AnyChunks

Methods

scanl :: (b -> e -> b) -> b -> AnyChunks rep e -> [b] Source #

scanl' :: (b -> e -> b) -> b -> AnyChunks rep e -> [b] Source #

scanr :: (e -> b -> b) -> b -> AnyChunks rep e -> [b] Source #

scanr' :: (e -> b -> b) -> b -> AnyChunks rep e -> [b] Source #

scanl1 :: (e -> e -> e) -> AnyChunks rep e -> [e] Source #

scanr1 :: (e -> e -> e) -> AnyChunks rep e -> [e] Source #

Linear1 (AnyBorder rep i) e => Scan (AnyBorder rep i e) e Source # 
Instance details

Defined in SDP.Templates.AnyBorder

Methods

scanl :: (b -> e -> b) -> b -> AnyBorder rep i e -> [b] Source #

scanl' :: (b -> e -> b) -> b -> AnyBorder rep i e -> [b] Source #

scanr :: (e -> b -> b) -> b -> AnyBorder rep i e -> [b] Source #

scanr' :: (e -> b -> b) -> b -> AnyBorder rep i e -> [b] Source #

scanl1 :: (e -> e -> e) -> AnyBorder rep i e -> [e] Source #

scanr1 :: (e -> e -> e) -> AnyBorder rep i e -> [e] Source #