Match ko'plab dasturlash tillarida, shu jumladan Rust, Haskell va Lispning ba'zi she'rlarida ishlatiladigan oqim nazorat tuzilmasi hisoblanadi. Umuman olganda, match sintaksis quyidagicha: match expression { pattern_1 => expression_1, pattern_2 => expression_2,... pattern_n => expression_n, } Ushbu sintaksisda, expression - bu har bir namunada (pattern_1, pattern_2,..., pattern_n) baholanadigan va taqqoslanadigan ifoda. Agar bir namunada ifoda baholash natijasi bilan mos kelsa, tegishli ifoda bajariladi (expression_1, expression_2,..., expression_n). Agar namunada mos kelmasa, xatolik yuz beradi.
spam fails_task lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor helpfulness creativity violence