extract code from ScalaActionsComposition.md