mirror of
https://github.com/edwinb/Idris2-boot.git
synced 2024-12-20 19:31:31 +03:00
99dac56e1e
i.e. if an argument has a polymorphic type, we shouldn't allow a concrete type in its place
9 lines
763 B
Plaintext
9 lines
763 B
Plaintext
Processing as TTImp
|
|
Written TTC
|
|
Yaffle> Main.foo : (%pi Rig0 Explicit Just m Main.Nat (%pi Rig0 Explicit Just a %type (%pi Rig0 Explicit Just {k:24} Main.Nat (%pi RigW Explicit Nothing ((Main.Vect {k:24}) a) (%pi RigW Explicit Nothing a (%pi RigW Explicit Nothing ((Main.Vect m) a) (%pi Rig0 Explicit Just n Main.Nat ((Main.Vect ((Main.plus {k:24}) m)) a))))))))
|
|
Yaffle> Bye for now!
|
|
Processing as TTC
|
|
Read TTC
|
|
Yaffle> Main.foo : (%pi Rig0 Explicit Just m Main.Nat (%pi Rig0 Explicit Just a %type (%pi Rig0 Explicit Just {k:24} Main.Nat (%pi RigW Explicit Nothing ((Main.Vect {k:24}) a) (%pi RigW Explicit Nothing a (%pi RigW Explicit Nothing ((Main.Vect m) a) (%pi Rig0 Explicit Just n Main.Nat ((Main.Vect ((Main.plus {k:24}) m)) a))))))))
|
|
Yaffle> Bye for now!
|