From 5d66c96bdc73f615788431c03dd0018a68cc9395 Mon Sep 17 00:00:00 2001 From: Daniel Barclay Date: Mon, 3 Feb 2025 17:02:04 -0500 Subject: [PATCH] Fixed "as ... argument" to "as an ... argument" in ca-context-parameters.md Added missing article (since singular noun). (Also added parenthetical expression hinting at case of having multiple arguments.) --- _overviews/scala3-book/ca-context-parameters.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_overviews/scala3-book/ca-context-parameters.md b/_overviews/scala3-book/ca-context-parameters.md index d0ea350416..3da62d4b3b 100644 --- a/_overviews/scala3-book/ca-context-parameters.md +++ b/_overviews/scala3-book/ca-context-parameters.md @@ -17,7 +17,7 @@ Scala offers two important features for contextual abstraction: ## Context Parameters When designing a system, often context information like _configuration_ or settings need to be provided to the different components of your system. -One common way to achieve this is by passing the configuration as additional argument to your methods. +One common way to achieve this is by passing the configuration as an additional argument (or arguments) to your methods. In the following example, we define a case class `Config` to model some website configuration and pass it around in the different methods.