diff --git a/LICENSE b/LICENSE index 81a871bf1..e2cbff5ce 100644 --- a/LICENSE +++ b/LICENSE @@ -1,4 +1,5 @@ (c) Copyright 2019 OCaml Software Foundation. +(c) Copyright 2016-2018 OCamlPro. Licensed under the MIT license: @@ -20,4 +21,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. \ No newline at end of file +THE SOFTWARE. diff --git a/src/ace-lib/ace.ml b/src/ace-lib/ace.ml index 8ba2c2e91..3cc81ea0f 100644 --- a/src/ace-lib/ace.ml +++ b/src/ace-lib/ace.ml @@ -1,19 +1,10 @@ (* This file is part of Learn-OCaml. * * Copyright (C) 2019 OCaml Software Foundation. + * Copyright (C) 2016-2018 OCamlPro. * - * Learn-OCaml is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * Learn-OCaml is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . *) + * Learn-OCaml is distributed under the terms of the MIT license. See the + * included LICENSE file for details. *) open Ace_types diff --git a/src/ace-lib/ace.mli b/src/ace-lib/ace.mli index 57d2fc551..b53513da9 100644 --- a/src/ace-lib/ace.mli +++ b/src/ace-lib/ace.mli @@ -1,19 +1,10 @@ (* This file is part of Learn-OCaml. * * Copyright (C) 2019 OCaml Software Foundation. + * Copyright (C) 2016-2018 OCamlPro. * - * Learn-OCaml is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * Learn-OCaml is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . *) + * Learn-OCaml is distributed under the terms of the MIT license. See the + * included LICENSE file for details. *) (** Editor *) diff --git a/src/ace-lib/ace_types.mli b/src/ace-lib/ace_types.mli index 0644394d4..bf165d59d 100644 --- a/src/ace-lib/ace_types.mli +++ b/src/ace-lib/ace_types.mli @@ -1,19 +1,10 @@ (* This file is part of Learn-OCaml. * * Copyright (C) 2019 OCaml Software Foundation. + * Copyright (C) 2016-2018 OCamlPro. * - * Learn-OCaml is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * Learn-OCaml is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . *) + * Learn-OCaml is distributed under the terms of the MIT license. See the + * included LICENSE file for details. *) class type token = object method value : Js.js_string Js.t Js.prop diff --git a/src/ace-lib/ocaml_mode.ml b/src/ace-lib/ocaml_mode.ml index a571df17d..62b8ab540 100644 --- a/src/ace-lib/ocaml_mode.ml +++ b/src/ace-lib/ocaml_mode.ml @@ -1,19 +1,10 @@ (* This file is part of Learn-OCaml. * * Copyright (C) 2019 OCaml Software Foundation. + * Copyright (C) 2016-2018 OCamlPro. * - * Learn-OCaml is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * Learn-OCaml is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . *) + * Learn-OCaml is distributed under the terms of the MIT license. See the + * included LICENSE file for details. *) open Js_utils diff --git a/src/ace-lib/ocaml_mode.mli b/src/ace-lib/ocaml_mode.mli index b670b4b0c..55ca0ed51 100644 --- a/src/ace-lib/ocaml_mode.mli +++ b/src/ace-lib/ocaml_mode.mli @@ -1,19 +1,10 @@ (* This file is part of Learn-OCaml. * * Copyright (C) 2019 OCaml Software Foundation. + * Copyright (C) 2016-2018 OCamlPro. * - * Learn-OCaml is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * Learn-OCaml is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . *) + * Learn-OCaml is distributed under the terms of the MIT license. See the + * included LICENSE file for details. *) type editor diff --git a/src/app/learnocaml_common.ml b/src/app/learnocaml_common.ml index d07006dd1..be1938466 100644 --- a/src/app/learnocaml_common.ml +++ b/src/app/learnocaml_common.ml @@ -1,19 +1,10 @@ (* This file is part of Learn-OCaml. * * Copyright (C) 2019 OCaml Software Foundation. + * Copyright (C) 2016-2018 OCamlPro. * - * Learn-OCaml is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * Learn-OCaml is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . *) + * Learn-OCaml is distributed under the terms of the MIT license. See the + * included LICENSE file for details. *) open Js_utils open Lwt.Infix diff --git a/src/app/learnocaml_common.mli b/src/app/learnocaml_common.mli index 9f335b7b9..3e0a1ff09 100644 --- a/src/app/learnocaml_common.mli +++ b/src/app/learnocaml_common.mli @@ -1,19 +1,10 @@ (* This file is part of Learn-OCaml. * * Copyright (C) 2019 OCaml Software Foundation. + * Copyright (C) 2016-2018 OCamlPro. * - * Learn-OCaml is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * Learn-OCaml is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . *) + * Learn-OCaml is distributed under the terms of the MIT license. See the + * included LICENSE file for details. *) open Learnocaml_data diff --git a/src/app/learnocaml_exercise_main.ml b/src/app/learnocaml_exercise_main.ml index f564982ec..f35c4adb1 100644 --- a/src/app/learnocaml_exercise_main.ml +++ b/src/app/learnocaml_exercise_main.ml @@ -1,19 +1,10 @@ (* This file is part of Learn-OCaml. * * Copyright (C) 2019 OCaml Software Foundation. + * Copyright (C) 2016-2018 OCamlPro. * - * Learn-OCaml is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * Learn-OCaml is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . *) + * Learn-OCaml is distributed under the terms of the MIT license. See the + * included LICENSE file for details. *) open Js_utils open Lwt.Infix diff --git a/src/app/learnocaml_index_main.ml b/src/app/learnocaml_index_main.ml index e8f9f4ae6..153f3cdbe 100644 --- a/src/app/learnocaml_index_main.ml +++ b/src/app/learnocaml_index_main.ml @@ -1,19 +1,10 @@ (* This file is part of Learn-OCaml. * * Copyright (C) 2019 OCaml Software Foundation. + * Copyright (C) 2016-2018 OCamlPro. * - * Learn-OCaml is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * Learn-OCaml is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . *) + * Learn-OCaml is distributed under the terms of the MIT license. See the + * included LICENSE file for details. *) open Js_utils open Lwt diff --git a/src/app/learnocaml_local_storage.ml b/src/app/learnocaml_local_storage.ml index 472d5617e..9d7e3ac3e 100644 --- a/src/app/learnocaml_local_storage.ml +++ b/src/app/learnocaml_local_storage.ml @@ -1,19 +1,10 @@ (* This file is part of Learn-OCaml. * * Copyright (C) 2019 OCaml Software Foundation. + * Copyright (C) 2016-2018 OCamlPro. * - * Learn-OCaml is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * Learn-OCaml is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . *) + * Learn-OCaml is distributed under the terms of the MIT license. See the + * included LICENSE file for details. *) open Learnocaml_data diff --git a/src/app/learnocaml_local_storage.mli b/src/app/learnocaml_local_storage.mli index 6422a4295..bc77607b2 100644 --- a/src/app/learnocaml_local_storage.mli +++ b/src/app/learnocaml_local_storage.mli @@ -1,19 +1,10 @@ (* This file is part of Learn-OCaml. * * Copyright (C) 2019 OCaml Software Foundation. + * Copyright (C) 2016-2018 OCamlPro. * - * Learn-OCaml is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * Learn-OCaml is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . *) + * Learn-OCaml is distributed under the terms of the MIT license. See the + * included LICENSE file for details. *) open Learnocaml_data diff --git a/src/app/learnocaml_student_view.ml b/src/app/learnocaml_student_view.ml index e07d74d5d..6773f503d 100644 --- a/src/app/learnocaml_student_view.ml +++ b/src/app/learnocaml_student_view.ml @@ -1,19 +1,10 @@ (* This file is part of Learn-OCaml. * * Copyright (C) 2019 OCaml Software Foundation. + * Copyright (C) 2016-2018 OCamlPro. * - * Learn-OCaml is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * Learn-OCaml is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . *) + * Learn-OCaml is distributed under the terms of the MIT license. See the + * included LICENSE file for details. *) open Js_utils open Lwt diff --git a/src/app/learnocaml_teacher_tab.ml b/src/app/learnocaml_teacher_tab.ml index 20833039c..56b93f207 100644 --- a/src/app/learnocaml_teacher_tab.ml +++ b/src/app/learnocaml_teacher_tab.ml @@ -1,19 +1,10 @@ (* This file is part of Learn-OCaml. * * Copyright (C) 2019 OCaml Software Foundation. + * Copyright (C) 2016-2018 OCamlPro. * - * Learn-OCaml is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * Learn-OCaml is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . *) + * Learn-OCaml is distributed under the terms of the MIT license. See the + * included LICENSE file for details. *) open Js_utils open Lwt diff --git a/src/app/learnocaml_teacher_tab.mli b/src/app/learnocaml_teacher_tab.mli index bc66c0c80..a373b9021 100644 --- a/src/app/learnocaml_teacher_tab.mli +++ b/src/app/learnocaml_teacher_tab.mli @@ -1,19 +1,10 @@ (* This file is part of Learn-OCaml. * * Copyright (C) 2019 OCaml Software Foundation. + * Copyright (C) 2016-2018 OCamlPro. * - * Learn-OCaml is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * Learn-OCaml is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . *) + * Learn-OCaml is distributed under the terms of the MIT license. See the + * included LICENSE file for details. *) val teacher_tab: Learnocaml_data.Token.t -> (unit -> 'a Lwt.t) -> 'b -> unit -> diff --git a/src/app/server_caller.ml b/src/app/server_caller.ml index 5dc8eed6f..1a162d879 100644 --- a/src/app/server_caller.ml +++ b/src/app/server_caller.ml @@ -1,19 +1,10 @@ (* This file is part of Learn-OCaml. * * Copyright (C) 2019 OCaml Software Foundation. + * Copyright (C) 2016-2018 OCamlPro. * - * Learn-OCaml is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * Learn-OCaml is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . *) + * Learn-OCaml is distributed under the terms of the MIT license. See the + * included LICENSE file for details. *) open Lwt.Infix diff --git a/src/app/server_caller.mli b/src/app/server_caller.mli index 1d1fe412e..a9b7497ec 100644 --- a/src/app/server_caller.mli +++ b/src/app/server_caller.mli @@ -1,19 +1,10 @@ (* This file is part of Learn-OCaml. * * Copyright (C) 2019 OCaml Software Foundation. + * Copyright (C) 2016-2018 OCamlPro. * - * Learn-OCaml is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * Learn-OCaml is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . *) + * Learn-OCaml is distributed under the terms of the MIT license. See the + * included LICENSE file for details. *) open Learnocaml_data diff --git a/src/grader/grader_cli.ml b/src/grader/grader_cli.ml index 2cfc3c1a1..688ea473a 100644 --- a/src/grader/grader_cli.ml +++ b/src/grader/grader_cli.ml @@ -1,19 +1,10 @@ (* This file is part of Learn-OCaml. * * Copyright (C) 2019 OCaml Software Foundation. + * Copyright (C) 2016-2018 OCamlPro. * - * Learn-OCaml is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * Learn-OCaml is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . *) + * Learn-OCaml is distributed under the terms of the MIT license. See the + * included LICENSE file for details. *) let display_std_outputs = ref false let dump_outputs = ref None diff --git a/src/grader/grader_cli.mli b/src/grader/grader_cli.mli index 9faa097dc..9f1abd31e 100644 --- a/src/grader/grader_cli.mli +++ b/src/grader/grader_cli.mli @@ -1,19 +1,10 @@ (* This file is part of Learn-OCaml. * * Copyright (C) 2019 OCaml Software Foundation. + * Copyright (C) 2016-2018 OCamlPro. * - * Learn-OCaml is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * Learn-OCaml is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . *) + * Learn-OCaml is distributed under the terms of the MIT license. See the + * included LICENSE file for details. *) (** {2 Configuration options} *) diff --git a/src/grader/grader_jsoo_messages.ml b/src/grader/grader_jsoo_messages.ml index 5ad5d9aee..f6b71160a 100644 --- a/src/grader/grader_jsoo_messages.ml +++ b/src/grader/grader_jsoo_messages.ml @@ -1,19 +1,10 @@ (* This file is part of Learn-OCaml. * * Copyright (C) 2019 OCaml Software Foundation. + * Copyright (C) 2016-2018 OCamlPro. * - * Learn-OCaml is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * Learn-OCaml is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . *) + * Learn-OCaml is distributed under the terms of the MIT license. See the + * included LICENSE file for details. *) type to_worker = { exercise : Learnocaml_exercise.t ; diff --git a/src/grader/grader_jsoo_messages.mli b/src/grader/grader_jsoo_messages.mli index 2f8de1b17..c451a2e8f 100644 --- a/src/grader/grader_jsoo_messages.mli +++ b/src/grader/grader_jsoo_messages.mli @@ -1,19 +1,10 @@ (* This file is part of Learn-OCaml. * * Copyright (C) 2019 OCaml Software Foundation. + * Copyright (C) 2016-2018 OCamlPro. * - * Learn-OCaml is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * Learn-OCaml is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . *) + * Learn-OCaml is distributed under the terms of the MIT license. See the + * included LICENSE file for details. *) type to_worker = { exercise : Learnocaml_exercise.t ; diff --git a/src/grader/grader_jsoo_worker.ml b/src/grader/grader_jsoo_worker.ml index 94029a503..58b764b28 100644 --- a/src/grader/grader_jsoo_worker.ml +++ b/src/grader/grader_jsoo_worker.ml @@ -1,19 +1,10 @@ (* This file is part of Learn-OCaml. * * Copyright (C) 2019 OCaml Software Foundation. + * Copyright (C) 2016-2018 OCamlPro. * - * Learn-OCaml is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * Learn-OCaml is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . *) + * Learn-OCaml is distributed under the terms of the MIT license. See the + * included LICENSE file for details. *) let get_grade ?callback exo solution = let path = "/grading_cmis" in diff --git a/src/grader/grading.ml b/src/grader/grading.ml index ec2387774..96a45fb9a 100644 --- a/src/grader/grading.ml +++ b/src/grader/grading.ml @@ -1,19 +1,10 @@ (* This file is part of Learn-OCaml. * * Copyright (C) 2019 OCaml Software Foundation. + * Copyright (C) 2016-2018 OCamlPro. * - * Learn-OCaml is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * Learn-OCaml is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . *) + * Learn-OCaml is distributed under the terms of the MIT license. See the + * included LICENSE file for details. *) exception Internal_error of string * Toploop_ext.error exception User_code_error of Toploop_ext.error diff --git a/src/grader/grading.mli b/src/grader/grading.mli index 3883db3dc..a918a6544 100644 --- a/src/grader/grading.mli +++ b/src/grader/grading.mli @@ -1,19 +1,10 @@ (* This file is part of Learn-OCaml. * * Copyright (C) 2019 OCaml Software Foundation. + * Copyright (C) 2016-2018 OCamlPro. * - * Learn-OCaml is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * Learn-OCaml is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . *) + * Learn-OCaml is distributed under the terms of the MIT license. See the + * included LICENSE file for details. *) open Toploop_ext diff --git a/src/grader/grading_cli.ml b/src/grader/grading_cli.ml index 5fe369b0a..47e0fcf8f 100644 --- a/src/grader/grading_cli.ml +++ b/src/grader/grading_cli.ml @@ -1,19 +1,10 @@ (* This file is part of Learn-OCaml. * * Copyright (C) 2019 OCaml Software Foundation. + * Copyright (C) 2016-2018 OCamlPro. * - * Learn-OCaml is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * Learn-OCaml is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . *) + * Learn-OCaml is distributed under the terms of the MIT license. See the + * included LICENSE file for details. *) open Lwt diff --git a/src/grader/grading_cli.mli b/src/grader/grading_cli.mli index 12ed75963..227f3ac94 100644 --- a/src/grader/grading_cli.mli +++ b/src/grader/grading_cli.mli @@ -1,19 +1,10 @@ (* This file is part of Learn-OCaml. * * Copyright (C) 2019 OCaml Software Foundation. + * Copyright (C) 2016-2018 OCamlPro. * - * Learn-OCaml is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * Learn-OCaml is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . *) + * Learn-OCaml is distributed under the terms of the MIT license. See the + * included LICENSE file for details. *) (** Take an exercise, a solution, and return the report, stdout, stderr and outcomes of the toplevel, or raise ont of the diff --git a/src/grader/grading_jsoo.ml b/src/grader/grading_jsoo.ml index 3b225f0b5..97724fa14 100644 --- a/src/grader/grading_jsoo.ml +++ b/src/grader/grading_jsoo.ml @@ -1,19 +1,10 @@ (* This file is part of Learn-OCaml. * * Copyright (C) 2019 OCaml Software Foundation. + * Copyright (C) 2016-2018 OCamlPro. * - * Learn-OCaml is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * Learn-OCaml is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . *) + * Learn-OCaml is distributed under the terms of the MIT license. See the + * included LICENSE file for details. *) exception Timeout diff --git a/src/grader/grading_jsoo.mli b/src/grader/grading_jsoo.mli index b92f1b819..1c50b5bfe 100644 --- a/src/grader/grading_jsoo.mli +++ b/src/grader/grading_jsoo.mli @@ -1,19 +1,10 @@ (* This file is part of Learn-OCaml. * * Copyright (C) 2019 OCaml Software Foundation. + * Copyright (C) 2016-2018 OCamlPro. * - * Learn-OCaml is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * Learn-OCaml is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . *) + * Learn-OCaml is distributed under the terms of the MIT license. See the + * included LICENSE file for details. *) exception Timeout diff --git a/src/grader/introspection.ml b/src/grader/introspection.ml index 0b6b1baa2..143b20114 100644 --- a/src/grader/introspection.ml +++ b/src/grader/introspection.ml @@ -1,19 +1,10 @@ (* This file is part of Learn-OCaml. * * Copyright (C) 2019 OCaml Software Foundation. + * Copyright (C) 2016-2018 OCamlPro. * - * Learn-OCaml is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * Learn-OCaml is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . *) + * Learn-OCaml is distributed under the terms of the MIT license. See the + * included LICENSE file for details. *) (** Introspection *) diff --git a/src/grader/introspection.mli b/src/grader/introspection.mli index db5314c81..842fc9d9a 100644 --- a/src/grader/introspection.mli +++ b/src/grader/introspection.mli @@ -1,19 +1,10 @@ (* This file is part of Learn-OCaml. * * Copyright (C) 2019 OCaml Software Foundation. + * Copyright (C) 2016-2018 OCamlPro. * - * Learn-OCaml is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * Learn-OCaml is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . *) + * Learn-OCaml is distributed under the terms of the MIT license. See the + * included LICENSE file for details. *) type 'a value = | Absent diff --git a/src/grader/introspection_intf.mli b/src/grader/introspection_intf.mli index b365f4bd9..b1afabf59 100644 --- a/src/grader/introspection_intf.mli +++ b/src/grader/introspection_intf.mli @@ -1,19 +1,10 @@ (* This file is part of Learn-OCaml. * * Copyright (C) 2019 OCaml Software Foundation. + * Copyright (C) 2016-2018 OCamlPro. * - * Learn-OCaml is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * Learn-OCaml is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . *) + * Learn-OCaml is distributed under the terms of the MIT license. See the + * included LICENSE file for details. *) (** Signature for the types self-introspection module. diff --git a/src/grader/learnocaml_report.ml b/src/grader/learnocaml_report.ml index 0e1110f93..f4b75de8b 100644 --- a/src/grader/learnocaml_report.ml +++ b/src/grader/learnocaml_report.ml @@ -1,19 +1,10 @@ (* This file is part of Learn-OCaml. * * Copyright (C) 2019 OCaml Software Foundation. + * Copyright (C) 2016-2018 OCamlPro. * - * Learn-OCaml is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * Learn-OCaml is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . *) + * Learn-OCaml is distributed under the terms of the MIT license. See the + * included LICENSE file for details. *) (* -- minimal HTML producer ------------------------------------------------- *) diff --git a/src/grader/learnocaml_report.mli b/src/grader/learnocaml_report.mli index c48f1c50c..8e8ac2248 100644 --- a/src/grader/learnocaml_report.mli +++ b/src/grader/learnocaml_report.mli @@ -1,19 +1,10 @@ (* This file is part of Learn-OCaml. * * Copyright (C) 2019 OCaml Software Foundation. + * Copyright (C) 2016-2018 OCamlPro. * - * Learn-OCaml is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * Learn-OCaml is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . *) + * Learn-OCaml is distributed under the terms of the MIT license. See the + * included LICENSE file for details. *) (** {2 Formatted report output} *) diff --git a/src/grader/test_lib.ml b/src/grader/test_lib.ml index e102d39e1..aad0a1c4b 100644 --- a/src/grader/test_lib.ml +++ b/src/grader/test_lib.ml @@ -1,19 +1,10 @@ (* This file is part of Learn-OCaml. * * Copyright (C) 2019 OCaml Software Foundation. + * Copyright (C) 2016-2018 OCamlPro. * - * Learn-OCaml is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * Learn-OCaml is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . *) + * Learn-OCaml is distributed under the terms of the MIT license. See the + * included LICENSE file for details. *) module type S = sig diff --git a/src/grader/test_lib.mli b/src/grader/test_lib.mli index 8efd0b1d1..e83c0c619 100644 --- a/src/grader/test_lib.mli +++ b/src/grader/test_lib.mli @@ -1,19 +1,10 @@ (* This file is part of Learn-OCaml. * * Copyright (C) 2019 OCaml Software Foundation. + * Copyright (C) 2016-2018 OCamlPro. * - * Learn-OCaml is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * Learn-OCaml is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . *) + * Learn-OCaml is distributed under the terms of the MIT license. See the + * included LICENSE file for details. *) (** Documentation for [test_lib] library. [Test_lib] module can be used to write graders for learn-ocaml. *) diff --git a/src/main/learnocaml_client.ml b/src/main/learnocaml_client.ml index 8b55950b2..6c1de76e0 100644 --- a/src/main/learnocaml_client.ml +++ b/src/main/learnocaml_client.ml @@ -1,19 +1,10 @@ (* This file is part of Learn-OCaml. * * Copyright (C) 2019 OCaml Software Foundation. + * Copyright (C) 2016-2018 OCamlPro. * - * Learn-OCaml is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * Learn-OCaml is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . *) + * Learn-OCaml is distributed under the terms of the MIT license. See the + * included LICENSE file for details. *) open Learnocaml_data open Lwt.Infix @@ -689,9 +680,8 @@ let man = [ `S "OPTIONS"; `S "AUTHORS"; `P "Learn OCaml is written by OCamlPro. Its main authors are Benjamin Canou, \ - Çağdaş Bozman and Grégoire Henry. It is licensed under the GNU Affero \ - General Public License version 3: any instance of the app must provide \ - its source code to its users."; + Çağdaş Bozman, Grégoire Henry and Louis Gesbert. It is licensed under \ + the MIT License."; `S "BUGS"; `P "Bugs should be reported to \ $(i,https://github.com/ocaml-sf/learn-ocaml/issues)"; diff --git a/src/main/learnocaml_main.ml b/src/main/learnocaml_main.ml index 0d36095ea..cb662edcb 100644 --- a/src/main/learnocaml_main.ml +++ b/src/main/learnocaml_main.ml @@ -1,19 +1,10 @@ (* This file is part of Learn-OCaml. * * Copyright (C) 2019 OCaml Software Foundation. + * Copyright (C) 2016-2018 OCamlPro. * - * Learn-OCaml is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * Learn-OCaml is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . *) + * Learn-OCaml is distributed under the terms of the MIT license. See the + * included LICENSE file for details. *) open Lwt.Infix @@ -359,9 +350,8 @@ let man = [ sub-directories $(b,lessons), $(b,tutorials) and $(b,exercises)."; `S "AUTHORS"; `P "Learn OCaml is written by OCamlPro. Its main authors are Benjamin Canou, \ - Çağdaş Bozman and Grégoire Henry. It is licensed under the GNU Affero \ - General Public License version 3: any instance of the app must provide \ - its source code to its users."; + Çağdaş Bozman, Grégoire Henry and Louis Gesbert. It is licensed under \ + the MIT License."; `S "BUGS"; `P "Bugs should be reported to \ $(i,https://github.com/ocaml-sf/learn-ocaml/issues)"; diff --git a/src/main/learnocaml_server_args.ml b/src/main/learnocaml_server_args.ml index 4f3eb94de..715d9aa00 100644 --- a/src/main/learnocaml_server_args.ml +++ b/src/main/learnocaml_server_args.ml @@ -1,19 +1,10 @@ (* This file is part of Learn-OCaml. * * Copyright (C) 2019 OCaml Software Foundation. + * Copyright (C) 2016-2018 OCamlPro. * - * Learn-OCaml is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * Learn-OCaml is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . *) + * Learn-OCaml is distributed under the terms of the MIT license. See the + * included LICENSE file for details. *) open Cmdliner open Arg diff --git a/src/main/learnocaml_server_args.mli b/src/main/learnocaml_server_args.mli index 7bef2bcac..6cf943494 100644 --- a/src/main/learnocaml_server_args.mli +++ b/src/main/learnocaml_server_args.mli @@ -1,19 +1,10 @@ (* This file is part of Learn-OCaml. * * Copyright (C) 2019 OCaml Software Foundation. + * Copyright (C) 2016-2018 OCamlPro. * - * Learn-OCaml is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * Learn-OCaml is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . *) + * Learn-OCaml is distributed under the terms of the MIT license. See the + * included LICENSE file for details. *) type t = { sync_dir: string; diff --git a/src/main/learnocaml_server_main.ml b/src/main/learnocaml_server_main.ml index 7c7c58981..f0dfdc3e8 100644 --- a/src/main/learnocaml_server_main.ml +++ b/src/main/learnocaml_server_main.ml @@ -1,19 +1,10 @@ (* This file is part of Learn-OCaml. * * Copyright (C) 2019 OCaml Software Foundation. + * Copyright (C) 2016-2018 OCamlPro. * - * Learn-OCaml is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * Learn-OCaml is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . *) + * Learn-OCaml is distributed under the terms of the MIT license. See the + * included LICENSE file for details. *) open Learnocaml_server_args open Lwt.Infix @@ -64,9 +55,8 @@ let man = [ `S "SERVER OPTIONS"; `S "AUTHORS"; `P "Learn OCaml is written by OCamlPro. Its main authors are Benjamin Canou, \ - Çağdaş Bozman and Grégoire Henry. It is licensed under the GNU Affero \ - General Public License version 3: any instance of the app must provide \ - its source code to its users."; + Çağdaş Bozman, Grégoire Henry and Louis Gesbert. It is licensed under \ + the MIT License."; `S "BUGS"; `P "Bugs should be reported to \ $(i,https://github.com/ocaml-sf/learn-ocaml/issues)"; diff --git a/src/ppx-metaquot/ty.ml b/src/ppx-metaquot/ty.ml index 140b00347..dab0d0ffa 100644 --- a/src/ppx-metaquot/ty.ml +++ b/src/ppx-metaquot/ty.ml @@ -1,19 +1,10 @@ (* This file is part of Learn-OCaml. * * Copyright (C) 2019 OCaml Software Foundation. + * Copyright (C) 2016-2018 OCamlPro. * - * Learn-OCaml is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * Learn-OCaml is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . *) + * Learn-OCaml is distributed under the terms of the MIT license. See the + * included LICENSE file for details. *) type repr = Parsetree.core_type type 'a ty = Ty of repr diff --git a/src/ppx-metaquot/ty.mli b/src/ppx-metaquot/ty.mli index 9235789f6..19507f409 100644 --- a/src/ppx-metaquot/ty.mli +++ b/src/ppx-metaquot/ty.mli @@ -1,19 +1,10 @@ (* This file is part of Learn-OCaml. * * Copyright (C) 2019 OCaml Software Foundation. + * Copyright (C) 2016-2018 OCamlPro. * - * Learn-OCaml is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * Learn-OCaml is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . *) + * Learn-OCaml is distributed under the terms of the MIT license. See the + * included LICENSE file for details. *) (** Runtime library for our custom 'ppx_metaquot'. diff --git a/src/repo/learnocaml_exercise.ml b/src/repo/learnocaml_exercise.ml index 3405be990..ff26d66db 100644 --- a/src/repo/learnocaml_exercise.ml +++ b/src/repo/learnocaml_exercise.ml @@ -1,19 +1,10 @@ (* This file is part of Learn-OCaml. * * Copyright (C) 2019 OCaml Software Foundation. + * Copyright (C) 2016-2018 OCamlPro. * - * Learn-OCaml is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * Learn-OCaml is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . *) + * Learn-OCaml is distributed under the terms of the MIT license. See the + * included LICENSE file for details. *) type id = string diff --git a/src/repo/learnocaml_exercise.mli b/src/repo/learnocaml_exercise.mli index 3a8b28693..9b435469e 100644 --- a/src/repo/learnocaml_exercise.mli +++ b/src/repo/learnocaml_exercise.mli @@ -1,19 +1,10 @@ (* This file is part of Learn-OCaml. * * Copyright (C) 2019 OCaml Software Foundation. + * Copyright (C) 2016-2018 OCamlPro. * - * Learn-OCaml is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * Learn-OCaml is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . *) + * Learn-OCaml is distributed under the terms of the MIT license. See the + * included LICENSE file for details. *) (** Internal representation of the exercises files, including the metadata from the repository. *) diff --git a/src/repo/learnocaml_index.ml b/src/repo/learnocaml_index.ml index 11b22e4c9..22d589675 100644 --- a/src/repo/learnocaml_index.ml +++ b/src/repo/learnocaml_index.ml @@ -1,19 +1,10 @@ (* This file is part of Learn-OCaml. * * Copyright (C) 2019 OCaml Software Foundation. + * Copyright (C) 2016-2018 OCamlPro. * - * Learn-OCaml is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * Learn-OCaml is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . *) + * Learn-OCaml is distributed under the terms of the MIT license. See the + * included LICENSE file for details. *) let exercise_index_path = "exercises.json" diff --git a/src/repo/learnocaml_index.mli b/src/repo/learnocaml_index.mli index d07ce0f90..c7711868e 100644 --- a/src/repo/learnocaml_index.mli +++ b/src/repo/learnocaml_index.mli @@ -1,19 +1,10 @@ (* This file is part of Learn-OCaml. * * Copyright (C) 2019 OCaml Software Foundation. + * Copyright (C) 2016-2018 OCamlPro. * - * Learn-OCaml is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * Learn-OCaml is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . *) + * Learn-OCaml is distributed under the terms of the MIT license. See the + * included LICENSE file for details. *) (** the following are relative paths to the www root, using [/] as path separator *) diff --git a/src/repo/learnocaml_lesson.ml b/src/repo/learnocaml_lesson.ml index d9cd6ee96..8adea2c24 100644 --- a/src/repo/learnocaml_lesson.ml +++ b/src/repo/learnocaml_lesson.ml @@ -1,19 +1,10 @@ (* This file is part of Learn-OCaml. * * Copyright (C) 2019 OCaml Software Foundation. + * Copyright (C) 2016-2018 OCamlPro. * - * Learn-OCaml is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * Learn-OCaml is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . *) + * Learn-OCaml is distributed under the terms of the MIT license. See the + * included LICENSE file for details. *) type lesson = { lesson_title : string ; diff --git a/src/repo/learnocaml_lesson.mli b/src/repo/learnocaml_lesson.mli index 0ccc2cde4..3b5c2c8d5 100644 --- a/src/repo/learnocaml_lesson.mli +++ b/src/repo/learnocaml_lesson.mli @@ -1,19 +1,10 @@ (* This file is part of Learn-OCaml. * * Copyright (C) 2019 OCaml Software Foundation. + * Copyright (C) 2016-2018 OCamlPro. * - * Learn-OCaml is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * Learn-OCaml is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . *) + * Learn-OCaml is distributed under the terms of the MIT license. See the + * included LICENSE file for details. *) type lesson = { lesson_title : string (* may contains HTML formatting *) ; diff --git a/src/repo/learnocaml_process_exercise_repository.ml b/src/repo/learnocaml_process_exercise_repository.ml index 7426b4625..3e96fdb0a 100644 --- a/src/repo/learnocaml_process_exercise_repository.ml +++ b/src/repo/learnocaml_process_exercise_repository.ml @@ -1,19 +1,10 @@ (* This file is part of Learn-OCaml. * * Copyright (C) 2019 OCaml Software Foundation. + * Copyright (C) 2016-2018 OCamlPro. * - * Learn-OCaml is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * Learn-OCaml is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . *) + * Learn-OCaml is distributed under the terms of the MIT license. See the + * included LICENSE file for details. *) open Learnocaml_data open Exercise diff --git a/src/repo/learnocaml_process_exercise_repository.mli b/src/repo/learnocaml_process_exercise_repository.mli index eb4657567..54470acf5 100644 --- a/src/repo/learnocaml_process_exercise_repository.mli +++ b/src/repo/learnocaml_process_exercise_repository.mli @@ -1,19 +1,10 @@ (* This file is part of Learn-OCaml. * * Copyright (C) 2019 OCaml Software Foundation. + * Copyright (C) 2016-2018 OCamlPro. * - * Learn-OCaml is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of ther - * License, or (at your option) any later version. - * - * Learn-OCaml is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . *) + * Learn-OCaml is distributed under the terms of the MIT license. See the + * included LICENSE file for details. *) (** Configuration options *) diff --git a/src/repo/learnocaml_process_tutorial_repository.ml b/src/repo/learnocaml_process_tutorial_repository.ml index 95b44b6fe..65773c707 100644 --- a/src/repo/learnocaml_process_tutorial_repository.ml +++ b/src/repo/learnocaml_process_tutorial_repository.ml @@ -1,19 +1,10 @@ (* This file is part of Learn-OCaml. * * Copyright (C) 2019 OCaml Software Foundation. + * Copyright (C) 2016-2018 OCamlPro. * - * Learn-OCaml is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * Learn-OCaml is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . *) + * Learn-OCaml is distributed under the terms of the MIT license. See the + * included LICENSE file for details. *) open Learnocaml_index diff --git a/src/repo/learnocaml_process_tutorial_repository.mli b/src/repo/learnocaml_process_tutorial_repository.mli index 011deb068..102ea11ab 100644 --- a/src/repo/learnocaml_process_tutorial_repository.mli +++ b/src/repo/learnocaml_process_tutorial_repository.mli @@ -1,19 +1,10 @@ (* This file is part of Learn-OCaml. * * Copyright (C) 2019 OCaml Software Foundation. + * Copyright (C) 2016-2018 OCamlPro. * - * Learn-OCaml is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of ther - * License, or (at your option) any later version. - * - * Learn-OCaml is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . *) + * Learn-OCaml is distributed under the terms of the MIT license. See the + * included LICENSE file for details. *) (** Configuration options *) diff --git a/src/repo/learnocaml_tutorial.ml b/src/repo/learnocaml_tutorial.ml index a782dba28..3c0c95119 100644 --- a/src/repo/learnocaml_tutorial.ml +++ b/src/repo/learnocaml_tutorial.ml @@ -1,19 +1,10 @@ (* This file is part of Learn-OCaml. * * Copyright (C) 2019 OCaml Software Foundation. + * Copyright (C) 2016-2018 OCamlPro. * - * Learn-OCaml is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * Learn-OCaml is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . *) + * Learn-OCaml is distributed under the terms of the MIT license. See the + * included LICENSE file for details. *) type tutorial = { tutorial_title : Learnocaml_index.text ; diff --git a/src/repo/learnocaml_tutorial.mli b/src/repo/learnocaml_tutorial.mli index 9d031f1b3..731009b59 100644 --- a/src/repo/learnocaml_tutorial.mli +++ b/src/repo/learnocaml_tutorial.mli @@ -1,19 +1,10 @@ (* This file is part of Learn-OCaml. * * Copyright (C) 2019 OCaml Software Foundation. + * Copyright (C) 2016-2018 OCamlPro. * - * Learn-OCaml is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * Learn-OCaml is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . *) + * Learn-OCaml is distributed under the terms of the MIT license. See the + * included LICENSE file for details. *) type tutorial = { tutorial_title : Learnocaml_index.text ; diff --git a/src/repo/learnocaml_tutorial_checker_main.ml b/src/repo/learnocaml_tutorial_checker_main.ml index 16e18eeb3..78575f4da 100644 --- a/src/repo/learnocaml_tutorial_checker_main.ml +++ b/src/repo/learnocaml_tutorial_checker_main.ml @@ -1,16 +1,7 @@ (* This file is part of Learn-OCaml. * * Copyright (C) 2019 OCaml Software Foundation. + * Copyright (C) 2016-2018 OCamlPro. * - * Learn-OCaml is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * Learn-OCaml is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . *) + * Learn-OCaml is distributed under the terms of the MIT license. See the + * included LICENSE file for details. *) diff --git a/src/repo/learnocaml_tutorial_parser.ml b/src/repo/learnocaml_tutorial_parser.ml index f234c7e20..a371535ca 100644 --- a/src/repo/learnocaml_tutorial_parser.ml +++ b/src/repo/learnocaml_tutorial_parser.ml @@ -1,19 +1,10 @@ (* This file is part of Learn-OCaml. * * Copyright (C) 2019 OCaml Software Foundation. + * Copyright (C) 2016-2018 OCamlPro. * - * Learn-OCaml is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * Learn-OCaml is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . *) + * Learn-OCaml is distributed under the terms of the MIT license. See the + * included LICENSE file for details. *) open Learnocaml_data open Tutorial diff --git a/src/repo/learnocaml_tutorial_parser.mli b/src/repo/learnocaml_tutorial_parser.mli index 81a2f1946..24052d52e 100644 --- a/src/repo/learnocaml_tutorial_parser.mli +++ b/src/repo/learnocaml_tutorial_parser.mli @@ -1,19 +1,10 @@ (* This file is part of Learn-OCaml. * * Copyright (C) 2019 OCaml Software Foundation. + * Copyright (C) 2016-2018 OCamlPro. * - * Learn-OCaml is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * Learn-OCaml is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . *) + * Learn-OCaml is distributed under the terms of the MIT license. See the + * included LICENSE file for details. *) open Learnocaml_data diff --git a/src/repo/learnocaml_tutorial_reader_main.ml b/src/repo/learnocaml_tutorial_reader_main.ml index a3868c2d7..3e034fda6 100644 --- a/src/repo/learnocaml_tutorial_reader_main.ml +++ b/src/repo/learnocaml_tutorial_reader_main.ml @@ -1,19 +1,10 @@ (* This file is part of Learn-OCaml. * * Copyright (C) 2019 OCaml Software Foundation. + * Copyright (C) 2016-2018 OCamlPro. * - * Learn-OCaml is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * Learn-OCaml is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . *) + * Learn-OCaml is distributed under the terms of the MIT license. See the + * included LICENSE file for details. *) open Learnocaml_data diff --git a/src/server/learnocaml_server.ml b/src/server/learnocaml_server.ml index 304a87bff..9eccab616 100644 --- a/src/server/learnocaml_server.ml +++ b/src/server/learnocaml_server.ml @@ -1,19 +1,10 @@ (* This file is part of Learn-OCaml. * * Copyright (C) 2019 OCaml Software Foundation. + * Copyright (C) 2016-2018 OCamlPro. * - * Learn-OCaml is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * Learn-OCaml is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . *) + * Learn-OCaml is distributed under the terms of the MIT license. See the + * included LICENSE file for details. *) open Learnocaml_data open Learnocaml_store diff --git a/src/server/learnocaml_server.mli b/src/server/learnocaml_server.mli index 1cb4a834c..cc7c9a102 100644 --- a/src/server/learnocaml_server.mli +++ b/src/server/learnocaml_server.mli @@ -1,19 +1,10 @@ (* This file is part of Learn-OCaml. * * Copyright (C) 2019 OCaml Software Foundation. + * Copyright (C) 2016-2018 OCamlPro. * - * Learn-OCaml is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of ther - * License, or (at your option) any later version. - * - * Learn-OCaml is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . *) + * Learn-OCaml is distributed under the terms of the MIT license. See the + * included LICENSE file for details. *) (** Configuration options *) diff --git a/src/state/learnocaml_api.ml b/src/state/learnocaml_api.ml index 78d691bbe..c78df2d7d 100644 --- a/src/state/learnocaml_api.ml +++ b/src/state/learnocaml_api.ml @@ -1,19 +1,10 @@ (* This file is part of Learn-OCaml. * * Copyright (C) 2019 OCaml Software Foundation. + * Copyright (C) 2016-2018 OCamlPro. * - * Learn-OCaml is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * Learn-OCaml is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . *) + * Learn-OCaml is distributed under the terms of the MIT license. See the + * included LICENSE file for details. *) open Learnocaml_data diff --git a/src/state/learnocaml_api.mli b/src/state/learnocaml_api.mli index 660f502c4..38625212e 100644 --- a/src/state/learnocaml_api.mli +++ b/src/state/learnocaml_api.mli @@ -1,19 +1,10 @@ (* This file is part of Learn-OCaml. * * Copyright (C) 2019 OCaml Software Foundation. + * Copyright (C) 2016-2018 OCamlPro. * - * Learn-OCaml is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * Learn-OCaml is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . *) + * Learn-OCaml is distributed under the terms of the MIT license. See the + * included LICENSE file for details. *) (** This module defines the complete LearnOCaml API, with helpers for generating well-typed implementations of both the client and server side. diff --git a/src/state/learnocaml_data.ml b/src/state/learnocaml_data.ml index da44296fd..59de0d5bf 100644 --- a/src/state/learnocaml_data.ml +++ b/src/state/learnocaml_data.ml @@ -1,19 +1,10 @@ (* This file is part of Learn-OCaml. * * Copyright (C) 2019 OCaml Software Foundation. + * Copyright (C) 2016-2018 OCamlPro. * - * Learn-OCaml is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * Learn-OCaml is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . *) + * Learn-OCaml is distributed under the terms of the MIT license. See the + * included LICENSE file for details. *) module J = Json_encoding diff --git a/src/state/learnocaml_data.mli b/src/state/learnocaml_data.mli index ac3b7e7f6..ed72fe9c7 100644 --- a/src/state/learnocaml_data.mli +++ b/src/state/learnocaml_data.mli @@ -1,19 +1,10 @@ (* This file is part of Learn-OCaml. * * Copyright (C) 2019 OCaml Software Foundation. + * Copyright (C) 2016-2018 OCamlPro. * - * Learn-OCaml is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * Learn-OCaml is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . *) + * Learn-OCaml is distributed under the terms of the MIT license. See the + * included LICENSE file for details. *) module SMap: sig diff --git a/src/state/learnocaml_store.ml b/src/state/learnocaml_store.ml index fecc6a7df..e4f549ce6 100644 --- a/src/state/learnocaml_store.ml +++ b/src/state/learnocaml_store.ml @@ -1,19 +1,10 @@ (* This file is part of Learn-OCaml. * * Copyright (C) 2019 OCaml Software Foundation. + * Copyright (C) 2016-2018 OCamlPro. * - * Learn-OCaml is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * Learn-OCaml is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . *) + * Learn-OCaml is distributed under the terms of the MIT license. See the + * included LICENSE file for details. *) open Lwt.Infix open Learnocaml_data diff --git a/src/state/learnocaml_store.mli b/src/state/learnocaml_store.mli index 1de740816..67e294b0d 100644 --- a/src/state/learnocaml_store.mli +++ b/src/state/learnocaml_store.mli @@ -1,19 +1,10 @@ (* This file is part of Learn-OCaml. * * Copyright (C) 2019 OCaml Software Foundation. + * Copyright (C) 2016-2018 OCamlPro. * - * Learn-OCaml is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * Learn-OCaml is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . *) + * Learn-OCaml is distributed under the terms of the MIT license. See the + * included LICENSE file for details. *) open Learnocaml_data diff --git a/src/toplevel/learnocaml_toplevel.ml b/src/toplevel/learnocaml_toplevel.ml index 9a00524f0..4c29f9f26 100644 --- a/src/toplevel/learnocaml_toplevel.ml +++ b/src/toplevel/learnocaml_toplevel.ml @@ -1,19 +1,10 @@ (* This file is part of Learn-OCaml. * * Copyright (C) 2019 OCaml Software Foundation. + * Copyright (C) 2016-2018 OCamlPro. * - * Learn-OCaml is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * Learn-OCaml is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . *) + * Learn-OCaml is distributed under the terms of the MIT license. See the + * included LICENSE file for details. *) open Js_utils open Tyxml_js diff --git a/src/toplevel/learnocaml_toplevel.mli b/src/toplevel/learnocaml_toplevel.mli index 8c91a634c..31b4e7fe8 100644 --- a/src/toplevel/learnocaml_toplevel.mli +++ b/src/toplevel/learnocaml_toplevel.mli @@ -1,19 +1,10 @@ (* This file is part of Learn-OCaml. * * Copyright (C) 2019 OCaml Software Foundation. + * Copyright (C) 2016-2018 OCamlPro. * - * Learn-OCaml is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * Learn-OCaml is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . *) + * Learn-OCaml is distributed under the terms of the MIT license. See the + * included LICENSE file for details. *) (** An OCaml toplevel whose input and output will be in a given HTML [div]. *) diff --git a/src/toplevel/learnocaml_toplevel_history.ml b/src/toplevel/learnocaml_toplevel_history.ml index 62a9c3307..a75507333 100644 --- a/src/toplevel/learnocaml_toplevel_history.ml +++ b/src/toplevel/learnocaml_toplevel_history.ml @@ -1,19 +1,10 @@ (* This file is part of Learn-OCaml. * * Copyright (C) 2019 OCaml Software Foundation. + * Copyright (C) 2016-2018 OCamlPro. * - * Learn-OCaml is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * Learn-OCaml is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . *) + * Learn-OCaml is distributed under the terms of the MIT license. See the + * included LICENSE file for details. *) type history = { mutable storage : string array ; diff --git a/src/toplevel/learnocaml_toplevel_history.mli b/src/toplevel/learnocaml_toplevel_history.mli index 6db429637..72807cd5f 100644 --- a/src/toplevel/learnocaml_toplevel_history.mli +++ b/src/toplevel/learnocaml_toplevel_history.mli @@ -1,19 +1,10 @@ (* This file is part of Learn-OCaml. * * Copyright (C) 2019 OCaml Software Foundation. + * Copyright (C) 2016-2018 OCamlPro. * - * Learn-OCaml is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * Learn-OCaml is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . *) + * Learn-OCaml is distributed under the terms of the MIT license. See the + * included LICENSE file for details. *) type history diff --git a/src/toplevel/learnocaml_toplevel_input.ml b/src/toplevel/learnocaml_toplevel_input.ml index 33cb7f1c7..b5e24c447 100644 --- a/src/toplevel/learnocaml_toplevel_input.ml +++ b/src/toplevel/learnocaml_toplevel_input.ml @@ -1,19 +1,10 @@ (* This file is part of Learn-OCaml. * * Copyright (C) 2019 OCaml Software Foundation. + * Copyright (C) 2016-2018 OCamlPro. * - * Learn-OCaml is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * Learn-OCaml is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . *) + * Learn-OCaml is distributed under the terms of the MIT license. See the + * included LICENSE file for details. *) let indent_caml s in_lines = let output = { diff --git a/src/toplevel/learnocaml_toplevel_input.mli b/src/toplevel/learnocaml_toplevel_input.mli index 0337c43c8..8d3bd3e66 100644 --- a/src/toplevel/learnocaml_toplevel_input.mli +++ b/src/toplevel/learnocaml_toplevel_input.mli @@ -1,19 +1,10 @@ (* This file is part of Learn-OCaml. * * Copyright (C) 2019 OCaml Software Foundation. + * Copyright (C) 2016-2018 OCamlPro. * - * Learn-OCaml is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * Learn-OCaml is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . *) + * Learn-OCaml is distributed under the terms of the MIT license. See the + * included LICENSE file for details. *) (** Toplevel input box. *) diff --git a/src/toplevel/learnocaml_toplevel_output.ml b/src/toplevel/learnocaml_toplevel_output.ml index c3098f393..927dae3e9 100644 --- a/src/toplevel/learnocaml_toplevel_output.ml +++ b/src/toplevel/learnocaml_toplevel_output.ml @@ -1,19 +1,10 @@ (* This file is part of Learn-OCaml. * * Copyright (C) 2019 OCaml Software Foundation. + * Copyright (C) 2016-2018 OCamlPro. * - * Learn-OCaml is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * Learn-OCaml is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . *) + * Learn-OCaml is distributed under the terms of the MIT license. See the + * included LICENSE file for details. *) type block = | Html of string * [ `Div ] Tyxml_js.Html5.elt diff --git a/src/toplevel/learnocaml_toplevel_output.mli b/src/toplevel/learnocaml_toplevel_output.mli index d9ff64792..4985a8cde 100644 --- a/src/toplevel/learnocaml_toplevel_output.mli +++ b/src/toplevel/learnocaml_toplevel_output.mli @@ -1,19 +1,10 @@ (* This file is part of Learn-OCaml. * * Copyright (C) 2019 OCaml Software Foundation. + * Copyright (C) 2016-2018 OCamlPro. * - * Learn-OCaml is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * Learn-OCaml is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . *) + * Learn-OCaml is distributed under the terms of the MIT license. See the + * included LICENSE file for details. *) (** Toplevel output console. *) diff --git a/src/toplevel/learnocaml_toplevel_worker_caller.ml b/src/toplevel/learnocaml_toplevel_worker_caller.ml index fe34bef9b..9f7b38838 100644 --- a/src/toplevel/learnocaml_toplevel_worker_caller.ml +++ b/src/toplevel/learnocaml_toplevel_worker_caller.ml @@ -1,19 +1,10 @@ (* This file is part of Learn-OCaml. * * Copyright (C) 2019 OCaml Software Foundation. + * Copyright (C) 2016-2018 OCamlPro. * - * Learn-OCaml is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * Learn-OCaml is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . *) + * Learn-OCaml is distributed under the terms of the MIT license. See the + * included LICENSE file for details. *) let debug = ref false diff --git a/src/toplevel/learnocaml_toplevel_worker_caller.mli b/src/toplevel/learnocaml_toplevel_worker_caller.mli index faff649e2..99ef183d0 100644 --- a/src/toplevel/learnocaml_toplevel_worker_caller.mli +++ b/src/toplevel/learnocaml_toplevel_worker_caller.mli @@ -1,19 +1,10 @@ (* This file is part of Learn-OCaml. * * Copyright (C) 2019 OCaml Software Foundation. + * Copyright (C) 2016-2018 OCamlPro. * - * Learn-OCaml is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * Learn-OCaml is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . *) + * Learn-OCaml is distributed under the terms of the MIT license. See the + * included LICENSE file for details. *) (** An unified interface for OCaml toplevels running in a Web Worker or not. This module signature is very simalar to the signature of diff --git a/src/toplevel/learnocaml_toplevel_worker_main.ml b/src/toplevel/learnocaml_toplevel_worker_main.ml index 2b9269de5..bc5617c72 100644 --- a/src/toplevel/learnocaml_toplevel_worker_main.ml +++ b/src/toplevel/learnocaml_toplevel_worker_main.ml @@ -1,19 +1,10 @@ (* This file is part of Learn-OCaml. * * Copyright (C) 2019 OCaml Software Foundation. + * Copyright (C) 2016-2018 OCamlPro. * - * Learn-OCaml is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * Learn-OCaml is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . *) + * Learn-OCaml is distributed under the terms of the MIT license. See the + * included LICENSE file for details. *) open Learnocaml_toplevel_worker_messages diff --git a/src/toplevel/learnocaml_toplevel_worker_main.mli b/src/toplevel/learnocaml_toplevel_worker_main.mli index dec3661b7..f53cf8310 100644 --- a/src/toplevel/learnocaml_toplevel_worker_main.mli +++ b/src/toplevel/learnocaml_toplevel_worker_main.mli @@ -1,19 +1,10 @@ (* This file is part of Learn-OCaml. * * Copyright (C) 2019 OCaml Software Foundation. + * Copyright (C) 2016-2018 OCamlPro. * - * Learn-OCaml is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * Learn-OCaml is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . *) + * Learn-OCaml is distributed under the terms of the MIT license. See the + * included LICENSE file for details. *) (** Events loop for the toplevel's Web Worker. *) diff --git a/src/toplevel/learnocaml_toplevel_worker_messages.mli b/src/toplevel/learnocaml_toplevel_worker_messages.mli index 3ebfd6d3d..d6035419f 100644 --- a/src/toplevel/learnocaml_toplevel_worker_messages.mli +++ b/src/toplevel/learnocaml_toplevel_worker_messages.mli @@ -1,19 +1,10 @@ (* This file is part of Learn-OCaml. * * Copyright (C) 2019 OCaml Software Foundation. + * Copyright (C) 2016-2018 OCamlPro. * - * Learn-OCaml is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * Learn-OCaml is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . *) + * Learn-OCaml is distributed under the terms of the MIT license. See the + * included LICENSE file for details. *) (** Types of the messages exchanged with a toplevel in a Web Worker. *) diff --git a/src/toploop/toploop_ext.ml b/src/toploop/toploop_ext.ml index b2df7ccb9..f8c2084ab 100644 --- a/src/toploop/toploop_ext.ml +++ b/src/toploop/toploop_ext.ml @@ -1,19 +1,10 @@ (* This file is part of Learn-OCaml. * * Copyright (C) 2019 OCaml Software Foundation. + * Copyright (C) 2016-2018 OCamlPro. * - * Learn-OCaml is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * Learn-OCaml is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . *) + * Learn-OCaml is distributed under the terms of the MIT license. See the + * included LICENSE file for details. *) type 'a toplevel_result = 'a Toploop_results.toplevel_result = (* ('a * warning list, error * warning list) result = *) diff --git a/src/toploop/toploop_ext.mli b/src/toploop/toploop_ext.mli index aa0cbefdb..c6903d57b 100644 --- a/src/toploop/toploop_ext.mli +++ b/src/toploop/toploop_ext.mli @@ -1,19 +1,10 @@ (* This file is part of Learn-OCaml. * * Copyright (C) 2019 OCaml Software Foundation. + * Copyright (C) 2016-2018 OCamlPro. * - * Learn-OCaml is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * Learn-OCaml is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . *) + * Learn-OCaml is distributed under the terms of the MIT license. See the + * included LICENSE file for details. *) type 'a toplevel_result = 'a Toploop_results.toplevel_result = (* ('a * warning list, error * warning list) result = *) diff --git a/src/toploop/toploop_jsoo.ml b/src/toploop/toploop_jsoo.ml index f678223fc..7f3ecff49 100644 --- a/src/toploop/toploop_jsoo.ml +++ b/src/toploop/toploop_jsoo.ml @@ -1,19 +1,10 @@ (* This file is part of Learn-OCaml. * * Copyright (C) 2019 OCaml Software Foundation. + * Copyright (C) 2016-2018 OCamlPro. * - * Learn-OCaml is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * Learn-OCaml is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . *) + * Learn-OCaml is distributed under the terms of the MIT license. See the + * included LICENSE file for details. *) open Js_of_ocaml_compiler diff --git a/src/toploop/toploop_jsoo.mli b/src/toploop/toploop_jsoo.mli index 2f7a486e5..88fb2a428 100644 --- a/src/toploop/toploop_jsoo.mli +++ b/src/toploop/toploop_jsoo.mli @@ -1,19 +1,10 @@ (* This file is part of Learn-OCaml. * * Copyright (C) 2019 OCaml Software Foundation. + * Copyright (C) 2016-2018 OCamlPro. * - * Learn-OCaml is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * Learn-OCaml is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . *) + * Learn-OCaml is distributed under the terms of the MIT license. See the + * included LICENSE file for details. *) (** To be called before using any [Toploop] function. *) val initialize: unit -> unit diff --git a/src/toploop/toploop_results.ml b/src/toploop/toploop_results.ml index eac4e87d3..0fe6b7328 100644 --- a/src/toploop/toploop_results.ml +++ b/src/toploop/toploop_results.ml @@ -1,19 +1,10 @@ (* This file is part of Learn-OCaml. * * Copyright (C) 2019 OCaml Software Foundation. + * Copyright (C) 2016-2018 OCamlPro. * - * Learn-OCaml is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * Learn-OCaml is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . *) + * Learn-OCaml is distributed under the terms of the MIT license. See the + * included LICENSE file for details. *) type 'a toplevel_result = (* ('a * warning list, error * warning list) result = *) diff --git a/src/toploop/toploop_results.mli b/src/toploop/toploop_results.mli index eac4e87d3..0fe6b7328 100644 --- a/src/toploop/toploop_results.mli +++ b/src/toploop/toploop_results.mli @@ -1,19 +1,10 @@ (* This file is part of Learn-OCaml. * * Copyright (C) 2019 OCaml Software Foundation. + * Copyright (C) 2016-2018 OCamlPro. * - * Learn-OCaml is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * Learn-OCaml is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . *) + * Learn-OCaml is distributed under the terms of the MIT license. See the + * included LICENSE file for details. *) type 'a toplevel_result = (* ('a * warning list, error * warning list) result = *) diff --git a/src/toploop/toploop_unix.ml b/src/toploop/toploop_unix.ml index 4e2b30f78..c5168b2e7 100644 --- a/src/toploop/toploop_unix.ml +++ b/src/toploop/toploop_unix.ml @@ -1,19 +1,10 @@ (* This file is part of Learn-OCaml. * * Copyright (C) 2019 OCaml Software Foundation. + * Copyright (C) 2016-2018 OCamlPro. * - * Learn-OCaml is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * Learn-OCaml is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . *) + * Learn-OCaml is distributed under the terms of the MIT license. See the + * included LICENSE file for details. *) let map_opt f = function | None -> None diff --git a/src/toploop/toploop_unix.mli b/src/toploop/toploop_unix.mli index 2f7a486e5..88fb2a428 100644 --- a/src/toploop/toploop_unix.mli +++ b/src/toploop/toploop_unix.mli @@ -1,19 +1,10 @@ (* This file is part of Learn-OCaml. * * Copyright (C) 2019 OCaml Software Foundation. + * Copyright (C) 2016-2018 OCamlPro. * - * Learn-OCaml is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * Learn-OCaml is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . *) + * Learn-OCaml is distributed under the terms of the MIT license. See the + * included LICENSE file for details. *) (** To be called before using any [Toploop] function. *) val initialize: unit -> unit diff --git a/src/utils/lwt_request.ml b/src/utils/lwt_request.ml index e9b7f26c6..0db86c40f 100644 --- a/src/utils/lwt_request.ml +++ b/src/utils/lwt_request.ml @@ -1,19 +1,10 @@ (* This file is part of Learn-OCaml. * * Copyright (C) 2019 OCaml Software Foundation. + * Copyright (C) 2016-2018 OCamlPro. * - * Learn-OCaml is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * Learn-OCaml is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . *) + * Learn-OCaml is distributed under the terms of the MIT license. See the + * included LICENSE file for details. *) exception Request_failed of (int * string) diff --git a/src/utils/lwt_request.mli b/src/utils/lwt_request.mli index 7ce90e305..67a7012be 100644 --- a/src/utils/lwt_request.mli +++ b/src/utils/lwt_request.mli @@ -1,19 +1,10 @@ (* This file is part of Learn-OCaml. * * Copyright (C) 2019 OCaml Software Foundation. + * Copyright (C) 2016-2018 OCamlPro. * - * Learn-OCaml is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * Learn-OCaml is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . *) + * Learn-OCaml is distributed under the terms of the MIT license. See the + * included LICENSE file for details. *) exception Request_failed of (int * string) diff --git a/src/utils/lwt_utils.ml b/src/utils/lwt_utils.ml index a13da4298..4f1bd29f5 100644 --- a/src/utils/lwt_utils.ml +++ b/src/utils/lwt_utils.ml @@ -1,19 +1,10 @@ (* This file is part of Learn-OCaml. * * Copyright (C) 2019 OCaml Software Foundation. + * Copyright (C) 2016-2018 OCamlPro. * - * Learn-OCaml is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * Learn-OCaml is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . *) + * Learn-OCaml is distributed under the terms of the MIT license. See the + * included LICENSE file for details. *) open Lwt.Infix diff --git a/src/utils/lwt_utils.mli b/src/utils/lwt_utils.mli index f3f3bd39e..10e7f4870 100644 --- a/src/utils/lwt_utils.mli +++ b/src/utils/lwt_utils.mli @@ -1,19 +1,10 @@ (* This file is part of Learn-OCaml. * * Copyright (C) 2019 OCaml Software Foundation. + * Copyright (C) 2016-2018 OCamlPro. * - * Learn-OCaml is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * Learn-OCaml is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . *) + * Learn-OCaml is distributed under the terms of the MIT license. See the + * included LICENSE file for details. *) val mkdir_p: ?perm:int -> string -> unit Lwt.t diff --git a/src/utils/xor.ml b/src/utils/xor.ml index 210f6f20a..b76861a57 100644 --- a/src/utils/xor.ml +++ b/src/utils/xor.ml @@ -1,19 +1,10 @@ (* This file is part of Learn-OCaml. * * Copyright (C) 2019 OCaml Software Foundation. + * Copyright (C) 2016-2018 OCamlPro. * - * Learn-OCaml is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * Learn-OCaml is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . *) + * Learn-OCaml is distributed under the terms of the MIT license. See the + * included LICENSE file for details. *) let alphabet = Bytes.of_string diff --git a/src/utils/xor.mli b/src/utils/xor.mli index 7ece1b726..57606cfe7 100644 --- a/src/utils/xor.mli +++ b/src/utils/xor.mli @@ -1,19 +1,10 @@ (* This file is part of Learn-OCaml. * * Copyright (C) 2019 OCaml Software Foundation. + * Copyright (C) 2016-2018 OCamlPro. * - * Learn-OCaml is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * Learn-OCaml is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . *) + * Learn-OCaml is distributed under the terms of the MIT license. See the + * included LICENSE file for details. *) (* This is trivial and dummy "encryption" for the tests and the solutions. *)