Skip to content

Commit 9605e2b

Browse files
committed
Ch6 Add hint to repeatAction exercise
1 parent da1867d commit 9605e2b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

text/chapter6.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -614,6 +614,7 @@ Another reason to define a superclass relationship is in the case where there is
614614
```haskell
615615
instance repeatAction :: Action Multiply String
616616
```
617+
_Hint_: Search Pursuit for a helper-function with the signature `String -> Int -> String`. Note that `String` might appear as a more generic type.
617618

618619
Does this instance satisfy the laws listed above?
619620
1. (Medium) Write an instance `Action m a => Action m (Array a)`, where the action on arrays is defined by acting on each array element independently.

0 commit comments

Comments
 (0)