Say I have something like this. It does not compile, but you can see what I'm trying to do. I tried every time in google, but without dice. It can be done?
let inline read (s:string) : ^x = let parsed = (^x : (static member ofString: string -> ^x option) (s))
source share