package preface

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type ('a, 'b) t

The type held by the Closed Profunctor.

val dimap : ('a -> 'b) -> ('c -> 'd) -> ('b, 'c) t -> ('a, 'd) t
val closed : ('a, 'b) t -> ('c -> 'a, 'c -> 'b) t

Act on the input type of a function.

OCaml

Innovation. Community. Security.