Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better opaque/abstract value inspection #56

Open
hackwaly opened this issue Jan 20, 2024 · 2 comments
Open

Better opaque/abstract value inspection #56

hackwaly opened this issue Jan 20, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@hackwaly
Copy link
Owner

I tested utop example. It displays "some_values" perfectly. I don't know how it works. Maybe we can learn how it achieved.

https://github.com/ocaml-community/utop/blob/8cc563282597abdb8f5cca64df41166c5ebca6b5/examples/interact/test_program.ml#L1-L11

image
@sim642
Copy link
Collaborator

sim642 commented Jan 20, 2024

Is it really abstract/opaque there though?

@hackwaly
Copy link
Owner Author

I think it is.

type value = V : string * _ -> value

val interact
  :  ?search_path:string list
  -> ?build_dir:string
  -> unit:string
  -> loc:(string * int * int * int)
  -> values:value list
  -> unit
  -> unit

@sim642 sim642 added the enhancement New feature or request label Feb 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants