Remove the access to the state since we do not touch it.
https://github.com/purescript/purescript/pull/662#discussion_r19645354
Internalize function inside a where clause
https://github.com/purescript/purescript/pull/662#discussion_r19645443