Skip to content

Commit

Permalink
Rename String.x=>String.x_ascii where needed
Browse files Browse the repository at this point in the history
  • Loading branch information
AltGr committed Jul 23, 2024
1 parent 6d00e76 commit 14fd5c7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion exercises/mooc/week2/seq4/ex1/test.ml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ let sample_contact =
names.(id)
else names.(id mod len) ^ name (id / len) in
id := !id + len + 2 ;
let name = String.capitalize (name !id) in
let name = String.capitalize_ascii (name !id) in
let phone_number = (!id mod 23, !id mod 19, !id mod 7, !id mod 17) in
{ name ; phone_number }

Expand Down
2 changes: 1 addition & 1 deletion exercises/mooc/week4/seq1/ex1/test.ml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ let sample_string_ff =
sample_cases
[ printable_fun "((^) \"@\")" ((^) "@") ;
printable_fun "(fun s -> s ^ s)" (fun s -> s ^ s) ;
printable_fun "String.uppercase" (String.uppercase) ]
printable_fun "String.uppercase_ascii" (String.uppercase_ascii) ]

let exercise_1 =
set_progress "Grading exercise 1." ;
Expand Down

0 comments on commit 14fd5c7

Please sign in to comment.