File tree 1 file changed +4
-4
lines changed
exercises/lens-person/src 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -31,13 +31,13 @@ data Address = Address { _street :: String
31
31
}
32
32
33
33
bornStreet :: Born -> String
34
- bornStreet = error " You need to implement this function."
34
+ bornStreet born = error " You need to implement this function."
35
35
36
36
setCurrentStreet :: String -> Person -> Person
37
- setCurrentStreet = error " You need to implement this function."
37
+ setCurrentStreet street person = error " You need to implement this function."
38
38
39
39
setBirthMonth :: Int -> Person -> Person
40
- setBirthMonth = error " You need to implement this function."
40
+ setBirthMonth month person = error " You need to implement this function."
41
41
42
42
renameStreets :: (String -> String ) -> Person -> Person
43
- renameStreets = error " You need to implement this function."
43
+ renameStreets f person = error " You need to implement this function."
You can’t perform that action at this time.
0 commit comments