Skip to content

Commit

Permalink
v1.1 ready for the app store
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanfallet committed Mar 28, 2021
1 parent 4a13be0 commit e4a7d4b
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions OCaml.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
CODE_SIGN_ENTITLEMENTS = OCaml/OCaml.entitlements;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 12;
CURRENT_PROJECT_VERSION = 13;
DEVELOPMENT_TEAM = ZL9396WK65;
INFOPLIST_FILE = OCaml/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 14.1;
Expand All @@ -475,7 +475,7 @@
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
CODE_SIGN_ENTITLEMENTS = OCaml/OCaml.entitlements;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 12;
CURRENT_PROJECT_VERSION = 13;
DEVELOPMENT_TEAM = ZL9396WK65;
INFOPLIST_FILE = OCaml/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 14.1;
Expand Down
8 changes: 4 additions & 4 deletions OCaml/JavaScript/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,14 @@
color: #ccc;
border: none;
line-height:18px;
font-size: 12px;
font-size: 14px;
margin-bottom: 0px;
}

#toplevel-container textarea {
width:90%;
line-height:18px;
font-size: 12px;
font-size: 14px;
background-color: transparent;
color: #fff;
border: 0;
Expand All @@ -59,14 +59,14 @@
#toplevel-container #sharp {
float: left;
line-height:18px;
font-size: 12px;
font-size: 14px;
font-family: Menlo,Monaco,Consolas,monospace;
white-space: pre;
}
.sharp:before{
content:"# ";
line-height:18px;
font-size: 12px;
font-size: 14px;
font-family: Menlo,Monaco,Consolas,monospace;
}
.caml{
Expand Down
8 changes: 4 additions & 4 deletions OCaml/Models/OCamlCourse.swift
Original file line number Diff line number Diff line change
Expand Up @@ -115,9 +115,9 @@ class OCamlCourse {
LearnParagraph(content: "chapter_operations_print_intro"),
LearnCode(content: """
let a = 2 + 3 - 1 in
print_endline (string_of_int a);;
print_int a;;
let b = 2.7 +. 3.2 -. 0.5 in
print_endline (string_of_float b);;
print_float b;;
"""),
]),

Expand Down Expand Up @@ -191,14 +191,14 @@ class OCamlCourse {
LearnParagraph(content: "chapter_arrays_get_intro"),
LearnCode(content: """
let array1 = [|1; 2; 3; 4|] in
print_endline (string_of_int array1.(2));; (* 3 *)
print_int array1.(2);; (* 3 *)
"""),
LearnParagraph(content: "chapter_arrays_interate"),
LearnCode(content: """
let array1 = [|1; 2; 3; 4|] in
let len = Array.length array1 in
for k = 0 to len-1 do
print_endline (string_of_int array1.(k))
print_int array1.(k)
done;;
"""),
LearnParagraph(content: "chapter_arrays_interate_details"),
Expand Down
2 changes: 1 addition & 1 deletion OCaml/en.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
"chapter_operations_funcs" = "Usual functions";
"chapter_operations_funcs_intro" = "Usual functions like 'sin' are also available in OCaml:";
"chapter_operations_print" = "Print numbers to the console";
"chapter_operations_print_intro" = "You can convert numbers to strings using 'string_of_int' and 'string_of_float' to print them in the console:";
"chapter_operations_print_intro" = "You can print numbers to the console using 'print_int' and 'print_float':";
"chapter_conditions_title" = "Conditions";
"chapter_conditions_inline" = "Inline conditions";
"chapter_conditions_inline_intro" = "You can use inline conditions in any expression with an 'if … then … else …' statement like this example does:";
Expand Down
2 changes: 1 addition & 1 deletion OCaml/fr.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@
"chapter_conditions_multiline" = "Conditions sur plusieurs lignes";
"chapter_conditions_inline_intro" = "Vous pouvez utiliser des conditions en ligne dans n'importe quelle expression avec une instruction 'if … then … else …' comme le fait cet exemple :";
"chapter_conditions_inline" = "Conditions en ligne";
"chapter_operations_print_intro" = "Vous pouvez convertir les nombres en chaines de caractères en utilisant 'string_of_int' et 'string_of_float' pour les afficher dans la console :";
"chapter_operations_print_intro" = "Vous pouvez afficher des nombres dans la console en utilisant 'print_int' et 'print_float' :";
"chapter_operations_print" = "Afficher des nombres dans la console";
"chapter_operations_funcs_intro" = "Les fonctions usuelles comme 'sin' sont aussi disponibles en OCaml :";
"chapter_operations_funcs" = "Fonctions usuelles";
Expand Down

0 comments on commit e4a7d4b

Please sign in to comment.