With some effort you can recurse too:
```
Loop = fun(Me, State) ->
               %% do stuff
               Me(Me, State)
           end.
Loop(Loop, State0)
```