mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-24 20:23:11 +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
|