update inbox list

This commit is contained in:
manhlab
2021-04-07 19:25:18 -04:00
parent fda7245f7c
commit 436de2efd6
8576 changed files with 1013325 additions and 3 deletions

View File

@@ -0,0 +1,20 @@
let message =
switch (person1) {
| School.Teacher => "Hello teacher!"
| School.Director => "Hello director!"
};
let message =
School.(
switch (person1) {
| Teacher => "Hello teacher!"
| Director => "Hello director!"
}
);
let readCacheServiceConfigAndDecode = (configJson) =>
switch (configJson |> Js.Json.decodeObject) {
| None => raise(Json.Decode.DecodeError("Invalid Cache Config"))
| Some(data) =>
data |> Js.Dict.map((. json) => CachingServiceConfig.decode(json))
};