mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-23 11:43:08 +03:00
27 lines
727 B
Plaintext
27 lines
727 B
Plaintext
|
IdType : Type
|
||
|
IdType = {0 a : Type} -> a -> a
|
||
|
|
||
|
id : IdType
|
||
|
id = \ x : _ => x
|
||
|
|
||
|
idid : {0 a : Type} -> a -> a
|
||
|
idid = id id id id id id id id
|
||
|
id id id id id id id id id id
|
||
|
id id id id id id id id id id
|
||
|
id id id id id id id id id id
|
||
|
id id id id id id id id id id
|
||
|
id id id id id id id id id id
|
||
|
id id id id id id id id id id
|
||
|
id id id id id id id id id id
|
||
|
id id id id id id id id id id
|
||
|
id id id id id id id id id id
|
||
|
id id id id id id id id id id
|
||
|
id id id id id id id id id id
|
||
|
id id id id id id id id id id
|
||
|
id id id id id id id id id id
|
||
|
id id id id id id id id id id
|
||
|
id id id id id id id id id id
|
||
|
|
||
|
idInt : Integer
|
||
|
idInt = idid 94
|