typelevel / algebra

Experimental project to lay out basic algebra type classes
https://typelevel.org/algebra/
Other
378 stars 69 forks source link

Add Ring#fromBigInt #173

Closed tixxit closed 8 years ago

tixxit commented 8 years ago

This is similar to fromInt, but works with larger numbers. There is a default implementation that is based on fromInt, but this method is easily implementable by all our instances that also override fromInt.

codecov-io commented 8 years ago

Current coverage is 69.66% (diff: 93.75%)

Merging #173 into master will increase coverage by 2.20%

@@             master       #173   diff @@
==========================================
  Files            43         43          
  Lines           885        913    +28   
  Methods         848        851     +3   
  Messages          0          0          
  Branches         37         62    +25   
==========================================
+ Hits            597        636    +39   
+ Misses          288        277    -11   
  Partials          0          0          

Powered by Codecov. Last update b577b54...547bb4a

non commented 8 years ago

This looks good to me. 👍