-
Notifications
You must be signed in to change notification settings - Fork 291
Closed
Labels
dxDeveloper experience improvements or workflow fixesDeveloper experience improvements or workflow fixespretty-printer
Description
Let's say I have a record type that I've added to ucm based on this definition:
type Rectangle = { width: Nat, height: Nat }
Thereafter if I try using find and view I cannot retrieve information about the argument names that the record type was created with (here, width and height).
.> find Rectangle
1. type Rectangle
2. Rectangle.Rectangle : Nat -> Nat -> Rectangle
3. Rectangle.height : Rectangle -> Nat
4. Rectangle.height.modify : (Nat ->{𝕖 } Nat) -> Rectangle ->{} Rectangle
5. Rectangle.height.set : Nat -> Rectangle -> Rectangle
6. Rectangle.width : Rectangle -> Nat
7. Rectangle.width.modify : (Nat ->{𝕖 } Nat) -> Rectangle ->{} Rectangle
8. Rectangle.width.set : Nat -> Rectangle -> Rectangle
.> view 1
type Rectangle = Rectangle Nat Nat
.> view 2
type Rectangle = Rectangle Nat Nat
I believe the desired solution here may be to update the outputs of view 1 (and perhaps view 2) in this example to provide information about the argument names, specifically to annotate the first type constructor argument with width and the second with height.
Metadata
Metadata
Assignees
Labels
dxDeveloper experience improvements or workflow fixesDeveloper experience improvements or workflow fixespretty-printer