Skip to content

Commit

Permalink
Merge pull request #394 from rbasso/leap-add-hints-type-signature
Browse files Browse the repository at this point in the history
leap: Add type signature and HINTS.md.
  • Loading branch information
petertseng authored Oct 12, 2016
2 parents f5cfcc7 + e6b2616 commit 7a55278
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
11 changes: 11 additions & 0 deletions exercises/leap/HINTS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
## Hints

To complete this exercise you need to implement the function `isLeapYear`,
that takes a year and determines whether it is a leap year.

You can use the provided signature if you are unsure about the types, but
don't let it restrict your creativity:

```haskell
isLeapYear :: Integer -> Bool
```
1 change: 1 addition & 0 deletions exercises/leap/src/LeapYear.hs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
module LeapYear (isLeapYear) where

isLeapYear :: Integer -> Bool
isLeapYear = undefined

0 comments on commit 7a55278

Please sign in to comment.