summaryrefslogtreecommitdiff
path: root/test/occur.myr
blob: 06d79213c801fa7815eb7c880958b706aab60a5c (plain)
1
2
3
4
5
6
7
8
9
10
use std
/* checks that f is not an infinite type (ie, the type
doesn't exist within itself). If 'f' typechecked,
it's type would be:

f : (std.exit((-> (-> ... ad infinitum ...))))
*/
const f = {
	std.exit(f)
}