grain icon indicating copy to clipboard operation
grain copied to clipboard

Have compiler not allow Pervasives to depend on Pervasives

Open ospencer opened this issue 2 years ago • 1 comments

This is currently done using --no-pervasives. See https://github.com/grain-lang/grain/pull/1584#discussion_r1090037762

ospencer avatar Jan 29 '23 22:01 ospencer

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.

spotandjake avatar Jan 04 '25 03:01 spotandjake