mirror of
https://github.com/unisonweb/unison.git
synced 2024-09-23 16:28:02 +03:00
12 lines
225 B
Plaintext
12 lines
225 B
Plaintext
--Abort
|
|
ability Abort where
|
|
Abort : forall a . () -> {Abort} a
|
|
|
|
use Nat +
|
|
|
|
bork = u -> 1 + (Abort.Abort ())
|
|
|
|
(bork : Nat)
|
|
|
|
-- fails with loop instead of with type mismatch in commit 2819c206acf80f926c6d970a4ffd47c961fa4502
|