From d2a4b883ee31e41213be5efdd1e13d86173a922c Mon Sep 17 00:00:00 2001 From: Mo8it Date: Fri, 1 Apr 2022 05:35:04 +0200 Subject: [PATCH] Fix typos --- Day_5/Day_5.jl | 10 +++++----- Day_5/Tasks_day_5.jl | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Day_5/Day_5.jl b/Day_5/Day_5.jl index bdfb5fa..499b541 100644 --- a/Day_5/Day_5.jl +++ b/Day_5/Day_5.jl @@ -186,7 +186,7 @@ end big_vec2d = BetterVec2d(factorial(big(1000)), big(1)) # ╔═╡ f91b0c58-bc44-414a-b357-145d8c4339d2 -# You see that a concrete type was choosen! +# You see that a concrete type was chosen! typeof(big_vec2d) # ╔═╡ 169de33e-cff8-4419-be18-0f487c185ad7 @@ -243,7 +243,7 @@ end # ╔═╡ d635a63b-44d9-4bfc-a873-ef537cdbdb09 md""" ## Structs from abstract types -To use the features of mutliple dispatch, define an abstract type and derive structs from it. +To use the features of multiple dispatch, define an abstract type and derive structs from it. """ # ╔═╡ 10c380fd-80e6-4cb7-b50e-1a7998ec00c5 @@ -350,7 +350,7 @@ mutable struct BiologyStudent<:Student end # ╔═╡ 3063d330-c411-431e-9e7a-eb3f5cd3ee7b -# This will not work because the default constructor is overritten! +# This will not work because the default constructor is overwritten! # BiologyStudent("Kate", "Swimming") # ╔═╡ 9e621eb5-a163-4a7a-abd5-85bdf9469692 @@ -378,7 +378,7 @@ It is useful if you want to enforce checking fields before construction. # ╔═╡ c24c04e4-b131-11ec-2c1b-7de12fe0c324 md""" # Ecosystem -In this section, some interessting Julia packages will be presented briefly. If you want to learn more about them, check out their documentation! Just search for the package name and take a look at the Github page or the documentation page. +In this section, some interesting Julia packages will be presented briefly. If you want to learn more about them, check out their documentation! Just search for the package name and take a look at the Github page or the documentation page. """ # ╔═╡ 7e75da58-f110-41cb-ab19-79376370965f @@ -410,7 +410,7 @@ md""" ## `Makie` Makie is a plotting package that does use the GPU for plotting. Depending on what you are doing, it might be more powerful than `Plots.jl`. -Makie has more than one backend. The most important ones are `GLMakie` and `CairoMakie`. Use `CairoMakie` for puplications and `GLMakie` especially for animations. +Makie has more than one backend. The most important ones are `GLMakie` and `CairoMakie`. Use `CairoMakie` for publications and `GLMakie` especially for animations. """ # ╔═╡ 6b417e5d-01c2-4b06-9708-62c422a6b64b diff --git a/Day_5/Tasks_day_5.jl b/Day_5/Tasks_day_5.jl index 3b7f7a4..aaa3be1 100644 --- a/Day_5/Tasks_day_5.jl +++ b/Day_5/Tasks_day_5.jl @@ -117,7 +117,7 @@ length_squared(v) # ╔═╡ 4a69ccd4-576c-4d31-b75b-8caa9c7159fa md""" # Chess matrices -Implement a function that takes an integer `n` as an arguement and returns a `n × n` matrix with a chess pattern using `1` and `0`. +Implement a function that takes an integer `n` as an argument and returns a `n × n` matrix with a chess pattern using `1` and `0`. The matrix elements have to be integers. @@ -129,7 +129,7 @@ $n = 3 \rightarrow \begin{pmatrix} 0 & 1 & 0 \\ \end{pmatrix}$ -If you want to have more fun, implement the function again, but this time with the emojies ⬜️ and ⬛️ instead of 0 and 1 😹 +If you want to have more fun, implement the function again, but this time with the emojis ⬜️ and ⬛️ instead of 0 and 1 😹 """ # ╔═╡ 070e9dc2-884c-4a3b-873a-9a9ebf40c7c6