mirror of
https://github.com/ilyakooo0/Idris-dev.git
synced 2024-11-14 03:14:14 +03:00
10 lines
120 B
Idris
10 lines
120 B
Idris
module main
|
|
|
|
%default total
|
|
|
|
data Bad = MkBad (Bad -> Int) Int
|
|
| MkBad' Int
|
|
|
|
bar : Bad
|
|
bar = MkBad (\x => 3) 3
|