Skip to content

Hide Stdlib module name from editor tooling output #7301

Closed
@zth

Description

@zth

With the latest changes to the stdlib (#7285) we've now got a few places where the Stdlib prefix "leaks" into the editor tooling. Leaks isn't really a correct way of putting it, since it's perfectly valid, but I'm thinking it'd be a good idea to figure out a way of hiding the Stdlib prefix.

A few examples of how it can look:

(array<'a>, Stdlib_Symbol.t) => 'b

('a, 'a) => Stdlib_Ordering.t

Stdlib_Iterator.t<'a> => array<'a>

"detail": "Stdlib.Date.t",

Stdlib.Promise.t<documentSnapshot<'documentdata>>

I'm thinking it'd be preferable if the above instead showed:

(array<'a>, Symbol.t) => 'b

('a, 'a) => Ordering.t

Iterator.t<'a> => array<'a>

"detail": "Date.t",

Promise.t<documentSnapshot<'documentdata>>

Not sure what the best approach here would be. @cristianoc you have any ideas?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions