type
Orange = distinct string
Apple = distinct string
proc peel*(fruit: Orange): string =
result = string(fruit) & " (peeled with my hands)"
proc peel*(fruit: Apple): string =
result = string(fruit) & " (peeled with a knife)"
let small_orange = Orange("A small orange")
let big_apple = Apple("A red apple")
echo small_orange.peel()
echo big_apple.peel()