You are here: irt.org | FOLDOC | ternary
<programming> A description of an operator taking three
arguments. The only common example is C's ?: operator which
is used in the form "CONDITION ? EXP1 : EXP2" and returns EXP1
if CONDITION is true else EXP2. Haskell has a similar "if
CONDITION then EXP1 else EXP2" operator.
See also unary, binary.
Nearby terms: terminator « term rewriting system « Terms Of Service « ternary » terpri » terrabyte » Terse
FOLDOC, Topics, A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, ?, ALL
©2018 Martin Webb