Referenced from lesson Table Methods

Print and cut these out, for use with the unplugged .filter activity in this lesson. You can make up your own using the blanks provided at the bottom!

# has-glasses :: (s :: Student) -> Boolean # consumes a student, and produces true if they are wearing glasses

# is-taller :: (s :: Student) -> Boolean # consumes a student, and produces true if they are taller than you

# has-long-hair :: (s :: Student) -> Boolean # consumes a student, and produces true if they have long hair

# has-red-hair :: (s :: Student) -> Boolean # consumes a student, and produces true if they have red hair

# is-shorter :: (s :: Student) -> Boolean # consumes a student, and produces true if they are shorter than you

# is-smiling :: (s :: Student) -> Boolean # consumes a student, and produces true if they are smiling

# starts-with-vowel :: (s :: Student) -> Boolean # consumes a student, and produces true if the first letter of their name is a vowel

# likes-tacos :: (s :: Student) -> Boolean # consumes a student, and produces true if they like tacos

 

 

 

 

 

 

 

 

These materials were developed partly through support of the National Science Foundation, (awards 1042210, 1535276, 1648684, and 1738598). CCbadge Bootstrap:Data Science by Emmanuel Schanzer, Nancy Pfenning, Emma Youndtsmith, Jennifer Poole, Shriram Krishnamurthi, Joe Politz, Ben Lerner, Flannery Denny, and Dorai Sitaram with help from Eric Allatta and Joy Straub is licensed under a Creative Commons 4.0 Unported License. Based on a work at www.BootstrapWorld.org. Permissions beyond the scope of this license may be available by contacting schanzer@BootstrapWorld.org.