From bc3e1222e552df210b9f4f0aa9d02e36cae369a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bogumi=C5=82=20Kami=C5=84ski?= Date: Sat, 5 Feb 2022 16:36:46 +0100 Subject: [PATCH] update chapter 2 codes --- ch02.jl | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/ch02.jl b/ch02.jl index c6f4818..8901ca8 100644 --- a/ch02.jl +++ b/ch02.jl @@ -408,6 +408,14 @@ winsorized_mean(1:10, 5) # Code from section 2.8 +module ExampleModule + +function example() + println("Hello") +end + +end # ExampleModule + import Statistics x = [1, 2, 3] mean(x)