Changes between Version 1 and Version 2 of Ticket #1409, comment 79


Ignore:
Timestamp:
Jan 22, 2019 9:58:48 AM (11 months ago)
Author:
sgraf
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1409, comment 79

    v1 v2  
    4545Note that if we only leave out the type signature of `flip`, we still have enough information to compute the hs-boot file for `B` instead of `A`. In general, deciding which module to generate the boot file for could take other criteria, like minimality, into account.
    4646
    47 We could also have a look at [https://github.com/dlang/dmd/blob/ba961d66d177fbb846762e121dc3c9e423f70e3f/src/dmd/dmodule.d#L286 how the D language does things], which has both strong meta-programming capabilities and allows circular module dependencies. [https://gist.github.com/sgraf812/24f7161b3bebd6fef90897bae911597a Here's an example] of how a similar (and valid) program to the above looks like in D.
     47We could also have a look at [https://github.com/dlang/dmd/blob/ba961d66d177fbb846762e121dc3c9e423f70e3f/src/dmd/dmodule.d#L1215 how the D language does things], which has both strong meta-programming capabilities and allows circular module dependencies. [https://gist.github.com/sgraf812/24f7161b3bebd6fef90897bae911597a Here's an example] of how a similar (and valid) program to the above looks like in D.