From 46e2668f08b877e8a2e9e33328477e93db707a35 Mon Sep 17 00:00:00 2001 From: Augusto Date: Fri, 19 Mar 2021 23:46:18 +0000 Subject: [PATCH] Add clarification for the exercises delete_prefix and lalgebra_vector --- subjects/delete_prefix/README.md | 2 +- subjects/lalgebra_vector/README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/subjects/delete_prefix/README.md b/subjects/delete_prefix/README.md index 76b4faa5e..b082825e2 100644 --- a/subjects/delete_prefix/README.md +++ b/subjects/delete_prefix/README.md @@ -2,7 +2,7 @@ ### Instructions -Define the function `delete_prefix(prefix, s)` which returns the string slice `s` with the `prefix` removed wrapped in `Some`. If `prefix ` is not contained in `s` it returns `None`. +Define the function `delete_prefix(prefix, s)` which returns the string slice `s` with the `prefix` removed wrapped in `Some`. If `prefix ` is not a prefix of `s` it returns `None`. ### Expected Function diff --git a/subjects/lalgebra_vector/README.md b/subjects/lalgebra_vector/README.md index b864f49de..bf153eb0f 100644 --- a/subjects/lalgebra_vector/README.md +++ b/subjects/lalgebra_vector/README.md @@ -4,7 +4,7 @@ A vector in linear algebra is defined as "anything that can be added and that can be multiplied by a scalar" -And the associated function dot that calculates the dot product between two vectors +Define the associated function `dot` that calculates the dot product between two vectors The dot product between two vectors of different length it's not defined