apply suggested code simplifications
provide symbolic aliases for modo and assigno based on Haskell