mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-17 08:11:45 +03:00
7 lines
123 B
Idris
7 lines
123 B
Idris
|
%default total
|
||
|
|
||
|
fix : Void
|
||
|
fix = case the (Either () Void) (Left ()) of
|
||
|
Left () => fix
|
||
|
Right p => absurd p
|