Skip to content

Instantly share code, notes, and snippets.

@tueda
Created February 3, 2014 12:44
Show Gist options
  • Save tueda/8783213 to your computer and use it in GitHub Desktop.
Save tueda/8783213 to your computer and use it in GitHub Desktop.
(* The following pattern matching freezes Mathematica v9.0.1 Linux x86-64. *)
MatchQ[{1}, {m_Integer..., ml_Integer /; ml != 0}]
(* The following is OK. *)
MatchQ[{1}, {_Integer..., ml_Integer /; ml != 0}]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment