#show_module and module aliases #7189
Closed
Comments
Comment author: @dbuenzli Looks good. |
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. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Original bug ID: 7189
Reporter: @dbuenzli
Assigned to: @gasche
Status: closed (set by @xavierleroy on 2017-09-24T15:33:02Z)
Resolution: fixed
Priority: normal
Severity: minor
Version: 4.02.3
Target version: 4.03.1+dev
Fixed in version: 4.04.0 +dev / +beta1 / +beta2
Category: tools (ocaml{lex,yacc,dep,debug,...})
Monitored by: @hcarty @dbuenzli
Bug description
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.
See http://stackoverflow.com/questions/36118521/show-module-tediousness-in-ocaml-utop
for an example.
The text was updated successfully, but these errors were encountered: