mirror of
https://github.com/CatalaLang/catala.git
synced 2024-11-10 15:04:15 +03:00
correct typos in English tutorial
This commit is contained in:
parent
dbfd990f95
commit
31b7df38ae
@ -72,7 +72,7 @@ declaration structure Individual:
|
|||||||
*/
|
*/
|
||||||
@@End metadata@@
|
@@End metadata@@
|
||||||
|
|
||||||
This structre contains two data fields, "income" and "age". Structures are
|
This structre contains two data fields, "income" and "number_of_children". Structures are
|
||||||
useful to group together data that goes together. Usually, you
|
useful to group together data that goes together. Usually, you
|
||||||
get one structure per concrete object on which the law applies (like the
|
get one structure per concrete object on which the law applies (like the
|
||||||
individual). It is up to you to decide how to group the data together,
|
individual). It is up to you to decide how to group the data together,
|
||||||
@ -110,7 +110,7 @@ programming. Scopes also have to be declared in metadata, so here we go:
|
|||||||
declaration scope IncomeTaxComputation:
|
declaration scope IncomeTaxComputation:
|
||||||
# Scope names use CamlCase
|
# Scope names use CamlCase
|
||||||
context individual content Individual
|
context individual content Individual
|
||||||
# This line declares a context element of the scope, which is aking to
|
# This line declares a context element of the scope, which is akin to
|
||||||
# a function parameter in computer science term. This is the piece of
|
# a function parameter in computer science term. This is the piece of
|
||||||
# data on which the scope will operate
|
# data on which the scope will operate
|
||||||
context fixed_percentage content decimal
|
context fixed_percentage content decimal
|
||||||
|
Loading…
Reference in New Issue
Block a user