shithub: mc

ref: 74d91a0021de012908cfdb35fb61a1473a376130
dir: mc/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)
}