Skip to content

Commit 3a89ec3

Browse files
committed
Update
1 parent 313743b commit 3a89ec3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/main/scala/net/degoes/01-essentials/exercises.scala

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ object types {
7878
//
7979
type Person1 = ???
8080
final case class Person2(/* */)
81-
81+
8282
//
8383
// EXERCISE 10
8484
//
@@ -144,10 +144,10 @@ object types {
144144
// EXERCISE 17
145145
//
146146
// Create either a sum type or a product type (as appropriate) to represent a
147-
// piece on a chess board, which could be a pawn, rook, bishop, knight,
148-
// queen, or king.
147+
// the rank of a piece on a chess board, which could be a pawn, rook, bishop,
148+
// knight, queen, or king.
149149
//
150-
type ChessPiece = ???
150+
type ChessPieceRank = ???
151151

152152
//
153153
// EXERCISE 18

0 commit comments

Comments
 (0)