Module Control.First

type class First with First.first operation

Imports

Table of Content

Definitions

class (Semigroupoid.Semigroupoid f, Tensor f) ⇒ First f

Known Instances

->

Member Functions

firstFirst f ⇒ f a b → f (a, c) (b, c)

Send the first component of the input through the argument tensor, and copy the rest unchanged to the output.

Instances

instance First ->

Member Functions

first ∷ (β→α) → (β, γ) → (α, γ)

Functions and Values by Type

(β→α) → (β, γ) → (α, γ)

First_->.first

First f ⇒ f a b → f (a, c) (b, c)

First.first

Valid HTML 4.01 Strict