I've done it when writing translators / compilers for school. If you're pattern matching against an AST, its easy to to have a pretty big list of possible types the AST can contain.
Probably this is a code smell that should be rearchitected.
Probably this is a code smell that should be rearchitected.