Skip to content

Commit 6eb0b9e

Browse files
committed
Fix in TP5
1 parent cbf85b1 commit 6eb0b9e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tps/TP5.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@
2424
-- 3. Modify data passed to the call 'html "..."' in the main function below,
2525
-- so that the list of repositories is displayed instead. For this,
2626
-- read the field 'name' of the type 'Repo' returned by 'getUserRepositories'
27-
-- /!\ The 'Repo' type uses type T.Text while 'html' requires L.text /!\
28-
-- /!\ Use L.fromStrict to convert between the two /!\
27+
-- /!\ The 'Repo' type uses type T.Text while 'html' requires TL.Text /!\
28+
-- /!\ Use TL.fromStrict to convert between the two /!\
2929
-- 4. Augment the 'Repo' type so that the json fields "private" and "description"
3030
-- are extracted from the GitHub API call. Look at the output of this
3131
-- program to see the json, find these fields, use appropriate types.

0 commit comments

Comments
 (0)