mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-16 15:52:43 +03:00
b2da2fe558
Fixes #164
14 lines
192 B
Idris
14 lines
192 B
Idris
module Main
|
|
|
|
import Data.So
|
|
|
|
total
|
|
lem1 : So x -> So (not x) -> Void
|
|
lem1 Oh Oh impossible
|
|
|
|
foo : Nat -> Int
|
|
foo z = 94
|
|
where
|
|
lem2 : So x -> So (not x) -> Void
|
|
lem2 Oh Oh impossible
|