# Functor OUnitDiff.ListSimpleMake

    module ListSimpleMake: functor (D : DIFF_ELEMENT) -> S
      with type e = D.t and type t = D.t list

Collection of elements based on a List, order matters but difference display is very simple. It stops at the first element which differs.

Parameters:

`D` | : | `DIFF_ELEMENT`

    type e

Type of an element

    type t

Type of a collection of element

    val compare : t -> t -> int

Compare a collection of element

    val pp_printer : Format.formatter -> t -> unit

Pretty printer a collection of element

    val pp_diff : Format.formatter -> t * t -> unit

Pretty printer for collection differences

    val assert_equal : ?msg:string -> t -> t -> unit

`OUnitDiff.S.assert_equal` with `~diff`, `~cmp` and `~printer` predefined for this collection events

    val of_list : e list -> t

Create `t` using of list