Say I have this:
MyComputationExpression {
let! addr = Salesrecord.Address
let! name = Salesrecord.Name
return (name + " " + addr)
}
Is there any way to "unwrap" (call the bind
method on) the address and name on the fly? Sort of like:
MyComputationExpression {
(Salesrecord.Name! + " " + Salesrecord.Address!)
}
(If ! was the operator for unwrap on the fly). It seems a bit verbose to have to declare a new variable every time I want to use the result of bind
just once.