diff --git a/theories/streams.v b/theories/streams.v
index d07e76b60f5772805d14febca2242b63ada7c085..c39b8ee21c5d692902005f7b29f67a2365d622a8 100644
--- a/theories/streams.v
+++ b/theories/streams.v
@@ -28,6 +28,7 @@ Global Instance stream_fmap : FMap stream := λ A B f,
 
 Fixpoint stake {A} (n : nat) (s : stream A) :=
   match n with 0 => [] | S n => shead s :: stake n (stail s) end.
+CoFixpoint srepeat {A} (x : A) : stream A := x :.: srepeat x.
 
 Section stream_properties.
 Context {A : Type}.