Remove convert_down() from Number

This commit is contained in:
Eryn Wells 2017-04-12 08:50:50 -07:00
parent e503e6da7c
commit 9c52bcb040

View file

@ -20,10 +20,7 @@ use super::value::*;
type Int = i64;
type Flt = f64;
trait Number: Debug + IsBool + IsChar + IsNumber + Value {
/// Convert a Number to the next lowest type in Scheme's number pyramid, if possible.
fn convert_down(&self) -> Option<Box<Number>>;
}
trait Number: Debug + IsBool + IsChar + IsNumber + Value { }
trait IsExact {
/// Should return `true` if this Number is represented exactly. This should be an inverse of