diff --git a/AlgebraicDataflowArchitectureModel/models/Accounts.model b/AlgebraicDataflowArchitectureModel/models/Accounts.model index 1dbffc5..e1d32b1 100644 --- a/AlgebraicDataflowArchitectureModel/models/Accounts.model +++ b/AlgebraicDataflowArchitectureModel/models/Accounts.model @@ -1,7 +1,7 @@ channel CIO1 { - out accounts(l:List, signup(name:Str)) == append(l, name) + out accounts(l:Map, signup(id:Int, name:Str)) == append(l, {"name": name}) } channel CIO2(uid:Int) { - out accounts.{uid}(n:Str, changeName(name)) == name + out accounts.{uid}.name(n:Str, changeName(name)) == name }