alt
Signature
alt(aAlt, bAlt)
forall F, a:
(F a, F a) => F a
where F is Alt
Documentation
Source Code
Defined in source/fantasy-land/alt.js at line 28, column 0
(aAlt, bAlt) =>
isNew(bAlt) ? bAlt[flAlt](aAlt)
: isOld(aAlt) ? warn(aAlt.ap(bAlt))
: /*otherwise*/ unsupported(aAlt)