Whoa, the Dotty extension method syntax has gotten all goofy:
def (c: Circle) circumference: Double
instead of the C# style
def circumference(this c: Circle) : Double
As for "converting" it to a function, it is still going to be "just a function", but you'll need to write the lambda which constructs that function. That will probably look like a callsite application, so it will mirror the definition, too. Is that what you meant?