File: Stream.v

package info (click to toggle)
coq-ext-lib 0.13.0-3
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 808 kB
  • sloc: makefile: 44; python: 31; sh: 4; lisp: 3
file content (15 lines) | stat: -rw-r--r-- 228 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15

Set Implicit Arguments.
Set Strict Implicit.

Section stream.
  Variable T : Type.

  CoInductive stream : Type :=
  | snil : stream
  | scons : T -> stream -> stream.

End stream.

Arguments snil {T}.
Arguments scons {T} _ _.