Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
#show_module and module aliases #7189
Original bug ID: 7189
It seems that module aliases can significantly reduce the usefullness of #show_module in the toplevel. I think that #show_module should show all the equations and eventual definition in one go.
Comment author: @gasche
The proposed GPR is now merged in trunk.
Consider the input:
module A = struct let x = 1 end;;
The output is as follows:
module D = C
This is not perfect -- in particular I would like an explicit mention after the first line that the others are followed aliases -- but hopefully it already improves usability. It is hard to do much more without invasive code changes.
Anyone, please feel free to provide feedback on this feature so that we can improve it in the future.