mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-17 00:10:31 +03:00
a972778eab
They don't all pass yet, for minor reasons. Coming shortly... Unfortunately the startup overhead for chez is really noticeable here!
8 lines
227 B
Idris
8 lines
227 B
Idris
module A
|
|
|
|
-- Check that this doesn't go into a loop when resolving Show. because
|
|
-- f itself is a candidate when elaborating the top level f function!
|
|
public export
|
|
interface F (p : Type -> Type) where
|
|
f : Show a => p a -> a
|