i trying work out why following line:
let emailquotation: expr<loginview -> string> = <@ fun (v: loginview) -> v.email.text @>
is failing compile error, saying "lookup of object on indeterminate type...". property viewmodel.email
xamarin forms entry
, containing text
property.
what more information compiler need, , why not able interpret expression?
my solution ugly. can this:
let emailquotation = <@ fun (v: loginview) -> let email: entry = v.email in email.text @>
the quotation wasn't able interpret type of v.email
. i'm no expert on code quotations, there may way make compiler pick type in single expression.
Comments
Post a Comment