From 74f11019e496edb30081c9a297254fc0895b5a5d Mon Sep 17 00:00:00 2001 From: mirzababarbaigbukhari Date: Mon, 4 Jul 2022 15:01:53 +0500 Subject: [PATCH] Modules Tutorial Page Has Extra Error Code Block fix --- data/tutorials/lg_03_modules.md | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/data/tutorials/lg_03_modules.md b/data/tutorials/lg_03_modules.md index 7be9fbffb8..448f933243 100644 --- a/data/tutorials/lg_03_modules.md +++ b/data/tutorials/lg_03_modules.md @@ -118,15 +118,12 @@ let hello () = print_endline "Hello" As it is, `Amodule` has the following interface: + ```ocaml val message : string val hello : unit -> unit ``` -```mdx-error -Line 1, characters 1-21: -Error: Value declarations are only allowed in signatures -``` Let's assume that accessing the `message` value directly is none of the others modules' business. We want to hide it by defining a restricted interface. This