This method transforms a function returning a Result to a Matcher
x.convert converts a value x of type T to type U
x.convert
x
T
U