clash-lang / clash-prelude

CLaSH prelude library containing datatypes and functions for circuit design
http://www.clash-lang.org/
Other
31 stars 27 forks source link

Rename plus/minus/mult to add/sub/mul #174

Closed blaxill closed 6 years ago

blaxill commented 6 years ago

Perform the changes in issue #132 :

This passes clash-prelude unittests and doctests, but appropriate changes also need to be made to clash-compiler, clash-lib and clash-ghc.

blaxill commented 6 years ago

Without the ExtendingNum changes, the required changes to clash-compiler, clash-lib and clash-ghc would be less severe, but I think this PR would be the most consistent naming scheme.

blaxill commented 6 years ago

I've reverted the primitive name changes (plus#, minus#, times#)

christiaanb commented 6 years ago

Thanks!