Created
July 19, 2016 19:55
-
-
Save eiri/9981e5ee30e1e4d4a03a0e3cefa60700 to your computer and use it in GitHub Desktop.
universal detector of changed state (useful for hot upgrades)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-define(IS_OLD_STATE(S), tuple_size(S) /= tuple_size(#state{})). |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment