erl_interface compare ...

Per Bergqvist per@REDACTED
Fri Apr 12 12:22:18 CEST 2002


Hi,                                                                   
                                                                      
Snip from in beam/utils.c:                                            
 * According to the Erlang Standard, types are orderered as follows:  
 *   numbers < (characters) < atoms < refs < funs < ports < pids <    
 *   tuples < [] < conses < binaries.                                 
 *                                                                    
                                                                      
But in erl_marshal cmp_array for NIL has the lowest value and not     
between tuples and conses.                                            
                                                                      
Bug ?                                                                 
                                                                      
/Per                                                                  
                                                                      
=========================================================             
Per Bergqvist                                                         
Synapse Systems AB                                                    
Phone: +46 709 686 685                                                
Email: per@REDACTED                                                   



More information about the erlang-questions mailing list