Skip to content

Commit

Permalink
[Chapter 5] Clarify that an exercise should include subdirectories
Browse files Browse the repository at this point in the history
  • Loading branch information
Zelenya committed Jun 9, 2024
1 parent 1f5e18d commit c72033e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion text/chapter5.md
Original file line number Diff line number Diff line change
Expand Up @@ -630,7 +630,7 @@ Try out the new version in PSCi – you should get the same result. I'll let you
```

_Hint_: Try to write this function as an array comprehension using do notation.
3. (Difficult) Write a function `largestSmallest` which takes a `Path` and returns an array containing the single largest and single smallest files in the `Path`. _Note_: consider the cases where there are zero or one files in the `Path` by returning an empty or one-element array, respectively.
3. (Difficult) Write a function `largestSmallest` which takes a `Path` and returns an array containing the single largest and single smallest files in the `Path`, including (recursively) any subdirectories. _Note_: consider the cases where there are zero or one files in the `Path` by returning an empty or one-element array, respectively.

## Conclusion

Expand Down

0 comments on commit c72033e

Please sign in to comment.