Skip to content

Commit 9b3b6b2

Browse files
authored
Chapter 2: Fix literal type to Int (#399)
1 parent d3a385a commit 9b3b6b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

text/chapter2.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ Success! Now you're ready to try these next exercises on your own.
106106
## Exercises
107107
108108
1. (Easy) Write a function `circleArea` which computes the area of a circle with a given radius. Use the `pi` constant, which is defined in the `Math` module. _Hint_: don't forget to import `pi` by modifying the `import Math` statement.
109-
1. (Medium) Write a function `leftoverCents` which takes an `Integer` and returns what's leftover after dividing by `100`. Use the `rem` function. Search [Pursuit](https://pursuit.purescript.org/) for this function to learn about usage and which module to import it from. _Note:_ Your IDE may support auto-importing of this function if you accept the auto-completion suggestion.
109+
1. (Medium) Write a function `leftoverCents` which takes an `Int` and returns what's leftover after dividing by `100`. Use the `rem` function. Search [Pursuit](https://pursuit.purescript.org/) for this function to learn about usage and which module to import it from. _Note:_ Your IDE may support auto-importing of this function if you accept the auto-completion suggestion.
110110
111111
## Conclusion
112112

0 commit comments

Comments
 (0)