namespace services.language { export function give(value : string) : Promise { return (repositories.language.identify(value).catch(() => repositories.language.create({"value": value}))) } }