move Matcher interface to numval.go