oi-0.4.0.2: Library for purely functional lazy interactions with the outer world.

Copyright(c) Nobuo Yamashita 2012-2016
LicenseBSD3
Safe HaskellNone
LanguageHaskell2010

Data.OI.IFun

Contents

Description

Author : Nobuo Yamashita Maintainer : nobsun@sampou.org Stability : experimental

Synopsis

Type of function with interaction

type IFun p a b = a -> p :-> b Source

IFun combinator

(|::|) :: IFun p a c -> IFun q b d -> IFun (p, q) (a, b) (c, d) Source

(|->|) :: IFun p a (b', c) -> IFun q (b', b) d -> IFun (p, q) (a, b) (c, d) Source

(|<>|) :: IFun p (a', a) (b', c) -> IFun q (b', b) (a', d) -> IFun (p, q) (a, b) (c, d) Source