package coq-core

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

Source file inspector.ml

1
2
3
4
5
6
7
8
open Pp

(*
 * Inspect an input and print a feedback message explaining what it is
 *)
let print_input (a : 'a) (printer : 'a -> Pp.t) (type_str : string) : unit =
  let msg = printer a ++ strbrk (Printf.sprintf " is a %s." type_str) in
  Feedback.msg_notice msg
OCaml

Innovation. Community. Security.