-
-
Notifications
You must be signed in to change notification settings - Fork 195
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Leap: Add link to guards to hints (#792)
* Leap: Add link to guards to hints While many students submit something with guards, some don't. This provides learning material up-front. * Remove the "don't use standard library leap functions" message. This change references exercism/problem-specifications#1418.
- Loading branch information
Showing
2 changed files
with
10 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,9 @@ | ||
## Hints | ||
|
||
To complete this exercise you need to implement the function `isLeapYear`, | ||
that takes a year and determines whether it is a leap year. | ||
To complete this exercise you need to implement the function `isLeapYear` | ||
that takes a year and determines whether it is a leap year. To solve this | ||
exercise you may read up on: | ||
|
||
You can use the provided signature if you are unsure about the types, but | ||
don't let it restrict your creativity: | ||
- [Guards][guards] | ||
|
||
```haskell | ||
isLeapYear :: Integer -> Bool | ||
``` | ||
[guards]: https://www.futurelearn.com/courses/functional-programming-haskell/0/steps/27226 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters