grain
grain copied to clipboard
Have compiler not allow Pervasives to depend on Pervasives
This is currently done using --no-pervasives. See https://github.com/grain-lang/grain/pull/1584#discussion_r1090037762
I think given the changes being made in #2104 this issue should probably also look into addressing the exception module the same way. Beyond flags I don't quite know what we were thinking here, one thought I did have here is just changing the flags around a little we could have a flag @pervasives which basically enables the Pervasive's functionality where the module is imported by default and non cyclic. We will have to see what switching out the stdlib ends up looking like before finalizing on any ideas though.