shithub: mc

ref: 06fc25275fb97aec1e46467138330b202a6e3313
dir: /test/occur.myr/

View raw version
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)
}