Skip to content
  • Simon Marlow's avatar
    [project @ 1999-04-23 13:53:28 by simonm] · 699e9f22
    Simon Marlow authored
    Support for
    
    	dataToTag# :: a -> Int#  (if a is a data type)
    
    and (partial) support for
    
    	tagToEnum# :: Int# -> a  (if a is an enumerated type)
    
    The con2tag functions generated by derived Eq,Ord and Enum instances
    are now replaced by dataToTag# for data types with a large number of
    constructors.
    699e9f22