mirror of
https://github.com/edwinb/Idris2-boot.git
synced 2024-12-19 10:51:35 +03:00
99dac56e1e
i.e. if an argument has a polymorphic type, we shouldn't allow a concrete type in its place
19 lines
422 B
Plaintext
19 lines
422 B
Plaintext
1/2: Building Stuff (Stuff.idr)
|
|
2/2: Building IFace (IFace.idr)
|
|
Welcome to Idris 2 version 0.0. Enjoy yourself!
|
|
IFace> True
|
|
IFace> False
|
|
IFace> Bye for now!
|
|
2/2: Building IFace1 (IFace1.idr)
|
|
Welcome to Idris 2 version 0.0. Enjoy yourself!
|
|
IFace1> conArg : (DecEq a, Eq (p t))
|
|
0 a : Type
|
|
0 p : a -> Type
|
|
l' : a
|
|
r : p l'
|
|
r' : p l'
|
|
l : a
|
|
-------------------------------------
|
|
foo : Bool
|
|
IFace1> Bye for now!
|