mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-22 03:01:31 +03:00
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 = ()
|