mirror of
https://github.com/CatalaLang/catala.git
synced 2024-11-14 03:14:55 +03:00
25 lines
358 B
Plaintext
25 lines
358 B
Plaintext
@Article@
|
|
|
|
/*
|
|
new scope A:
|
|
param a content int
|
|
param b content bool
|
|
param a_base content int
|
|
|
|
new scope B:
|
|
param a content int
|
|
param b content bool
|
|
param scopeA scope A
|
|
param scopeAbis scope A
|
|
|
|
scope A:
|
|
def a_base := 1
|
|
def a := -1
|
|
def b := a > 0
|
|
|
|
scope B:
|
|
def a := 42
|
|
def b := scopeA.b
|
|
def scopeA.a [ a > 0 ] := scopeAbis.a_base
|
|
*/
|