package preface

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Some helpers over Either.t

val swap : ('a, 'b) Either.t -> ('b, 'a) Either.t

swap x transforms Left x into Right x and Right x into Left x

OCaml

Innovation. Community. Security.