λ

HASKELLER

I / Lambda Corridor

Types

Before a value speaks, its shape is already written in the margin.

kindIntTextMaybeEitherFunctorMonad
λ

II / corridor

Functions

A function is a lit passage between two rooms of possibility.

aa → bb compose :: (b -> c) -> (a -> b) -> a -> c

III / corridor

Composition

Two circuits remember they were always a single sentence.

(.) :: (b -> c) -> (a -> b) -> a -> c

The Monad Chapel

laws suspended in violet dark

returnηreturn a >>= k ≡ k a
bind>>=m >>= return ≡ m
joinμjoin . fmap join ≡ join . join
Monad m => m a -> (a -> m b) -> m b

The signal enters a context, touches a function, and exits still carrying the shape of its world.

>>=
λ>

The types will guide you.