3 ms·
there are some hipe_bifs that let you do naughty and unpure things like destructive modification of arrays and what-not.
by metabrew 16y ago
there are some hipe_bifs that let you do naughty and unpure things like destructive modification of arrays and what-not.
- gordonguthrie 16y agoWith all due respect metabrew, if you do that you are a nutter. Non-mutability is not some crazy quick left there as an afterthought - it is at the core of Erlang - it is how you build reliable systems in the presence of errors.
- elgenie 16y agoAnd nifs can be made to do most anything you want to module-private data. But if you're cheating on purity, there better be a darn good reason.