Apple compote with caramelised nuts and star anise