We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f7ccbe0 commit 38409f0Copy full SHA for 38409f0
src/Codata/Thunk.agda
@@ -26,6 +26,14 @@ Thunk^R : ∀ {f g r} {F : Size → Set f} {G : Size → Set g}
26
(i : Size) (tf : Thunk F ∞) (tg : Thunk G ∞) → Set r
27
Thunk^R R i tf tg = Thunk (λ i → R i (tf .force) (tg .force)) i
28
29
+------------------------------------------------------------------------
30
+-- Syntax
31
+
32
+Thunk-syntax : ∀ {ℓ} → (Size → Set ℓ) → Size → Set ℓ
33
+Thunk-syntax = Thunk
34
35
+syntax Thunk-syntax (λ j → e) i = Thunk[ j < i ] e
36
37
------------------------------------------------------------------------
38
-- Basic functions.
39
0 commit comments