Write Numbers
This commit is contained in:
		
							parent
							
								
									3d13800d30
								
							
						
					
					
						commit
						15910480ee
					
				
					 2 changed files with 3 additions and 3 deletions
				
			
		|  | @ -1,7 +1,7 @@ | |||
| //pub mod number;
 | ||||
| pub mod number; | ||||
| 
 | ||||
| mod bool; | ||||
| mod char; | ||||
| mod number; | ||||
| mod object; | ||||
| mod predicates; | ||||
| 
 | ||||
|  |  | |||
|  | @ -72,7 +72,7 @@ impl fmt::Display for Object { | |||
| 
 | ||||
|             Object::Number(ref n) => { | ||||
|                 // TODO: Implement Display for Number
 | ||||
|                 write!(f, "{:?}", n) | ||||
|                 write!(f, "{}", n) | ||||
|             } | ||||
| 
 | ||||
|             Object::Pair(ref car, ref cdr) => { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue