Copyright | (c) Andrey Mulik 2019 |
---|---|

License | BSD-style |

Maintainer | work.a.mulik@gmail.com |

Portability | non-portable (requires non-portable modules) |

Safe Haskell | Safe |

Language | Haskell2010 |

# Documentation

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

Scan is class of scans.

Nothing

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 #

#### Instances

Scan [a] a Source # | |

Defined in SDP.Scan | |

Unboxed e => Scan (SBytes# e) e Source # | |

Defined in SDP.Prim.SBytes | |

Scan (SArray# e) e Source # | |

Defined in SDP.Prim.SArray | |

Linear1 (AnyChunks rep) e => Scan (AnyChunks rep e) e Source # | |

Defined in SDP.Templates.AnyChunks 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 # | |

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

Defined in SDP.Templates.AnyBorder 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 # |