aern2-real-0.1.0.3: Exact real numbers via Cauchy sequences and MPFR

Copyright(c) Michal Konecny
LicenseBSD3
Maintainermikkonecny@gmail.com
Stabilityexperimental
Portabilityportable
Safe HaskellNone
LanguageHaskell98

AERN2.Utils.Arrows

Description

Miscellaneous arrow-generic functions

Synopsis

Documentation

mapA :: ArrowChoice to => (t1 `to` t2) -> [t1] `to` [t2] Source #

Apply an arrow morphism on all elements of a list

mapWithIndexA :: ArrowChoice to => (Integer -> t1 `to` t2) -> [t1] `to` [t2] Source #

Apply an arrow morphism on all elements of a list

class CanSwitchArrow to1 to2 where Source #

Minimal complete definition

switchArrow

Methods

switchArrow :: (a `to1` b) -> a `to2` b Source #

Instances

Arrow to => CanSwitchArrow (->) to Source # 

Methods

switchArrow :: (a -> b) -> to a b Source #