.TH "Printf.Args" 3o 2026-07-02 OCamldoc "OCaml library"
.SH NAME
Printf.Args \- The Args module defines a heterogeneous list type, which can be used as the argument of the l*printf functions.
.SH Module
Module   Printf.Args
.SH Documentation
.sp
Module
.BI "Args"
 : 
.B sig end

.sp
The 
.ft B
Args
.ft R
module defines a heterogeneous list type, which can be
used as the argument of the 
.ft B
l*printf
.ft R
functions\&.
For more documentation, see the similar module 
.ft B
Format\&.Args
.ft R
\&.

.sp

.sp
.sp
.I type 
.B ('a, 'r)
.I t 
=
 | []
.B : 
.B ('r0, 'r0) t
 | (::)
.B : 
.B 'a0 * ('b, 'r1) t
.B -> 
.B ('a0 -> 'b, 'r1) t
 
.sp

.sp

.I val apply 
: 
.B 'a -> ('a, 'r) t -> 'r
.sp

.sp

.I val (@) 
: 
.B ('a, 'r1) t ->
.B   ('r1, 'r2) t -> ('a, 'r2) t
.sp

.sp
