Skip to content

Commit

Permalink
Merge pull request #470 from purescript-contrib/466-chapter5-subdirec…
Browse files Browse the repository at this point in the history
…tories
  • Loading branch information
i-am-the-slime authored Aug 3, 2024
2 parents 1f5e18d + 0133859 commit ec46253
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
${{ runner.os }}-
- name: Install NPM dependencies
run: npm install purescript spago markdownlint-cli
run: npm install purescript spago markdownlint-cli@0.37.0

- name: Run Build
run: ./scripts/buildAll.sh
Expand Down
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 ec46253

Please sign in to comment.