api-doc-tools icon indicating copy to clipboard operation
api-doc-tools copied to clipboard

F#: inline

Open cartermp opened this issue 7 years ago • 3 comments

We'll need a way to show inline for F# type signatures when migrating the FSharp.Core API reference.

cartermp avatar Jun 22 '18 20:06 cartermp

@cartermp Do you happen to know how/if this information is represented in the compiled assembly metadata? Is there an attribute on the method?

joelmartinez avatar Jun 28 '18 18:06 joelmartinez

It doesn't look like it, no. Example. Similar to the units of measure issue, the tool would have to know about all F# constructs that are inline to be able to produce the correct signature.

cartermp avatar Jun 28 '18 18:06 cartermp

So it's interesting ... when you're using constructs from that library in your own projects, how then does the compiler know to inline a given function?

joelmartinez avatar Jun 28 '18 18:06 joelmartinez