echo 'latex_file "Primer";; quit();; ' | caml 40
   CAML (sun) (V 2-6.1) by INRIA Fri Nov 24 1989

#latex_file "Primer";; quit();; 
Processing /home/vougeot/formel/mauny/Caml/V2-6.1/doc/primer/Primer.tex

line 1: unbound variable x in x+1
1 error in typechecking

Typecheck Failed
Warning: 1 partial match in this phrase

Pattern matching Failed
Warning: 1 partial match in this phrase

Pattern matching Failed
Warning: 1 unused match case in this phrase

Evaluation Failed: find

line 1: illegal use of functional constructor 'King
as a constant constructor in 'King
1 error in typechecking

Typecheck Failed

line 1: ill-typed phrase,
cannot resolve overloading ambiguity in {a=3; b=true}
1 error in typechecking

Typecheck Failed
Warning: type card redefined

line 1: unbound constructor 'King in 'King 'Heart
1 error in typechecking

Typecheck Failed
Warning: 1 partial match in this phrase
Warning: 1 partial match in this phrase

Evaluation Failed: quo

Evaluation Failed: argument 0 to integer division

Evaluation Failed: zero argument
Warning: 1 partial match in this phrase

Pattern matching Failed

Evaluation Failed: hd

line 1: ill-typed phrase, the variable x of type num ref
cannot be used with type instance num in x+1
1 error in typechecking

Typecheck Failed

line 1: cannot generalize type 'a list
for argument of mutable sum constructor ref
1 error in typechecking

Typecheck Failed

limit_print_depth exceeded

line 1 Syntax error: 
Skipping: sharing printer for type Lisp ;; 
Parse Failed

limit_print_depth exceeded
Warning: 1 partial match in this phrase
Warning: System's output redirected to std_out

#