Skip to content

Commit f0ea83c

Browse files
committed
[Chapter 5] Clarify that an exercise should include subdirectories
1 parent 1f5e18d commit f0ea83c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

text/chapter5.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -630,7 +630,7 @@ Try out the new version in PSCi – you should get the same result. I'll let you
630630
```
631631
632632
_Hint_: Try to write this function as an array comprehension using do notation.
633-
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.
633+
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.
634634
635635
## Conclusion
636636

0 commit comments

Comments
 (0)