Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

11.6. Exercise: Generics

This exercise requires you to come up with data structures that keep track of relationships between symbols. Our relationship is a boolean operator frop on a set S of symbols that has two properties:

  1. Reflexivity— For any symbol s in S,

    s frop s  is always true.
  2. Symmetry— For any symbols s and t in S,

    if s frop t is true, then t frop s is also true.

  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint