Closed rvirding closed 9 years ago
I would like to change the argument order in some of the functions in the erlog module, specifically move the state argument to last:
erlog
prove(State, Goal) ==> prove(Goal, State) consult(State, File) ==> consult(File, State) reconsult(State, File) ==> reconsult(File, State) load(State, Mod) ==> load(Mod, State) set_db(State, [Mod, ] Ref) ==> set_db([Mod, ] Ref, State)
This is more consistent with how state is handle in arguments in the rest of erlang. It is however not backwards compatible so I was wondering what people would think and react.
This is implemented in 2e2c2b50938b7602b14cb1cbab4b24bd0698292c.
I would like to change the argument order in some of the functions in the
erlog
module, specifically move the state argument to last:This is more consistent with how state is handle in arguments in the rest of erlang. It is however not backwards compatible so I was wondering what people would think and react.