Can't use function calls in pattern matching

Er, right, my bad, I meant this:

cond do
  match?(^c, fast_op()) -> 1
  match?(^c, long_running_thing()) -> 2
end

^.^;

Although using == would probably be better in this specific case, since it’s not a complex match at all:

cond do
  c == fast_op() -> 1
  c == long_running_thing() -> 2
end