A newtype over normal function (->), which guarantees stack safety. It's safe to be used in FFI code, as representation of underlying function is not changed.
NOTE: Stack safety applies to composition only! It does not make a function, that is not stacksafe, safe.
bower install purescript-stacksafe-function
Some context about the work:
- medium.com/@safareli Stack safe Function compositio
Module documentation is published on Pursuit: http://pursuit.purescript.org/packages/purescript-stacksafe-function