Remove convert_down() from Number
This commit is contained in:
		
							parent
							
								
									e503e6da7c
								
							
						
					
					
						commit
						9c52bcb040
					
				
					 1 changed files with 1 additions and 4 deletions
				
			
		| 
						 | 
					@ -20,10 +20,7 @@ use super::value::*;
 | 
				
			||||||
type Int = i64;
 | 
					type Int = i64;
 | 
				
			||||||
type Flt = f64;
 | 
					type Flt = f64;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
trait Number: Debug + IsBool + IsChar + IsNumber + Value {
 | 
					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 IsExact {
 | 
					trait IsExact {
 | 
				
			||||||
    /// Should return `true` if this Number is represented exactly. This should be an inverse of
 | 
					    /// Should return `true` if this Number is represented exactly. This should be an inverse of
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue