Punishing someone for an action that did not used to be a crime is an example of an ex post facto law

Punishing someone for an action that did not used to be a crime is an example of an ex post facto law. habeas corpus. a necessary and proper law. a bill of attainder.