Referenced from lesson Table Methods (Spring, 2021)

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 :: Student -> Boolean # consumes a student, and produces true if they are wearing glasses

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

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

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

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

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

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

# likes-tacos :: 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 the Bootstrap Community is licensed under a Creative Commons 4.0 Unported License. This license does not grant permission to run training or professional development. Offering training or professional development with materials substantially derived from Bootstrap must be approved in writing by a Bootstrap Director. Permissions beyond the scope of this license, such as to run training, may be available by contacting contact@BootstrapWorld.org.