mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-26 13:11:30 +03:00
2223d50c3a
These are checked as part of checking the top level names
13 lines
174 B
Idris
13 lines
174 B
Idris
import Data.List
|
|
|
|
interface Foo a where
|
|
covering
|
|
foo : a -> ()
|
|
|
|
Foo (Maybe String) where
|
|
foo Nothing = ()
|
|
foo (Just x) = ()
|
|
|
|
Foo (Maybe Int) where
|
|
foo Nothing = ()
|