|
180 | 180 | dick {:name "Philip K. Dick", :birth-year 1928, :death-year 1982}
|
181 | 181 | zelazny {:name "Roger Zelazny", :birth-year 1937, :death-year 1995}
|
182 | 182 |
|
183 |
| - authors #{china, felleisen, octavia, friedman} |
| 183 | + authors-set #{china, felleisen, octavia, friedman} |
184 | 184 |
|
185 | 185 | cities {:title "The City and the City" :authors #{china}}
|
186 | 186 | wild-seed {:title "Wild Seed", :authors #{octavia}}
|
|
247 | 247 | (books-by-author octavia books) => (just [wild-seed]))
|
248 | 248 |
|
249 | 249 | (facts "author-by-name"
|
250 |
| - (author-by-name "Octavia E. Butler" authors) => octavia |
| 250 | + (author-by-name "Octavia E. Butler" authors-set) => octavia |
251 | 251 | (author-by-name "Octavia E. Butler" #{felleisen, friedman}) => nil
|
252 |
| - (author-by-name "China Miéville" authors) => china |
253 |
| - (author-by-name "Goerge R. R. Martin" authors) => nil) |
| 252 | + (author-by-name "China Miéville" authors-set) => china |
| 253 | + (author-by-name "Goerge R. R. Martin" authors-set) => nil) |
254 | 254 |
|
255 | 255 | (facts "living-authors"
|
256 |
| - (living-authors authors) => (just #{china, felleisen, friedman}) |
| 256 | + (living-authors authors-set) => (just #{china, felleisen, friedman}) |
257 | 257 | (living-authors #{octavia}) => (just #{})
|
258 | 258 | (living-authors #{china, felleisen}) => (just #{china, felleisen}))
|
259 | 259 |
|
|
0 commit comments