{"size": 263, "ext": "scrbl", "max_stars_repo_path": "example.scrbl", "max_stars_repo_name": "wilbowma/scribble-coq", "max_stars_repo_stars_event_min_datetime": "2019-02-26T00:35:44.000Z", "max_stars_repo_stars_event_max_datetime": "2021-08-20T13:17:06.000Z", "max_issues_repo_path": "example.scrbl", "max_issues_repo_name": "wilbowma/scribble-coq", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "example.scrbl", "max_forks_repo_name": "wilbowma/scribble-coq", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 11, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 20.2307692308, "max_line_length": 50, "alphanum_fraction": 0.711026616}
#lang scribble/base

@(require scribble/coq)

@(define coq-evaluator (make-coq-evaluator))

The following example defines the natural numbers.
@coq-example[#:eval coq-evaluator]{
Inductive Nat : Set :=
| z : Nat
| s : Nat -> Nat.}

@(close-coq-eval coq-evaluator)