diff --git a/exercises/practice/sublist/.docs/instructions.md b/exercises/practice/sublist/.docs/instructions.md index e8fde86f4..400d10f71 100644 --- a/exercises/practice/sublist/.docs/instructions.md +++ b/exercises/practice/sublist/.docs/instructions.md @@ -1,5 +1,7 @@ # Instructions +Note: This exercise is called "sublist" to remain consistent across tracks. But in Clojure lists are rarely used to represent data, so instead you will be dealing with vectors. Therefore, each occurrance of the word "list" in these instructions should be interpreted as "vector". + Given two lists determine whether : - the first list is contained within the second - the second list is contained within the first list @@ -18,9 +20,9 @@ The function `classify` should either return `:sublist`, `:superlist`, `:equal` ### Examples: - * A = [1, 2, 3], B = [1, 2, 3, 4, 5], A is a sublist of B - * A = [3, 4, 5], B = [1, 2, 3, 4, 5], A is a sublist of B - * A = [3, 4], B = [1, 2, 3, 4, 5], A is a sublist of B - * A = [1, 2, 3], B = [1, 2, 3], A is equal to B - * A = [1, 2, 3, 4, 5], B = [2, 3, 4], A is a superlist of B - * A = [1, 2, 4], B = [1, 2, 3, 4, 5], A is neither a superlist, sublist nor equal to B : they are unequal + * A = [1 2 3], B = [1 2 3 4 5], A is a sublist of B + * A = [3 4 5], B = [1 2 3 4 5], A is a sublist of B + * A = [3 4], B = [1 2 3 4 5], A is a sublist of B + * A = [1 2 3], B = [1 2 3], A is equal to B + * A = [1 2 3 4 5], B = [2 3 4], A is a superlist of B + * A = [1 2 4], B = [1 2 3 4 5], A is neither a superlist, sublist nor equal to B : they are unequal