-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
topbar UI tweaks. renamed school mode to exercise mode across most na…
…mespaces
- Loading branch information
1 parent
ca6cd9a
commit 85ad61e
Showing
34 changed files
with
347 additions
and
395 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
module ExerciseEnv = { | ||
type node = unit; | ||
let default = (); | ||
let output_header = SchoolExercise.output_header_grading; | ||
let output_header = Exercise.output_header_grading; | ||
}; | ||
|
||
module SchoolExercise = SchoolExercise.F(ExerciseEnv); | ||
module Exercise = Exercise.F(ExerciseEnv); | ||
|
||
module Grading = Grading.F(ExerciseEnv); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,8 @@ | ||
let init_data = [ | ||
("Basic Reference", LanguageRefSlide.lang_ref), | ||
("Basic types", LanguageRefSlide.basic_type_egs), | ||
("ADT Statics", LanguageRefSlide.adt_egs), | ||
("ADT Dynamics", LanguageRefSlide.adt_dynamics_tests), | ||
let init = [ | ||
("Basic Reference", SerializedExamples.lang_ref), | ||
("Types & errors", SerializedExamples.basic_type_egs), | ||
("ADT Statics", SerializedExamples.adt_egs), | ||
("ADT Dynamics", SerializedExamples.adt_dynamics_tests), | ||
]; | ||
|
||
let init_name = name => { | ||
let data = List.assoc(name, init_data); | ||
ScratchSlide.unpersist(data); | ||
}; | ||
let init_name = name => ScratchSlide.unpersist(List.assoc(name, init)); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
include ExerciseSettings_base; | ||
let show_instructor = true; |
2 changes: 1 addition & 1 deletion
2
src/haz3lweb/SchoolSettings_base.re → src/haz3lweb/ExerciseSettings_base.re
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
let filename = "haz3l-demo"; | ||
let log_key = filename; | ||
let exercises: list(SchoolExercise.spec) = [ | ||
let exercises: list(Exercise.spec) = [ | ||
Ex_OddlyRecursive.exercise, | ||
Ex_RecursiveFibonacci.exercise, | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
include ExerciseSettings_base; | ||
let show_instructor = true; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
include ExerciseSettings_base; | ||
let show_instructor = false; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
Oops, something went wrong.