Allow assigning patterns to variables #827

Merged
ghallak merged 10 commits from ghallak/231 into master 2021-09-11 23:18:30 +09:00
ghallak commented 2021-08-13 18:41:45 +09:00 (Migrated from gitlab.com)

Fixes #231

Examples of the new syntax can be found in the file test/contracts/assign_patterns.aes.

Fixes #231 Examples of the new syntax can be found in the file `test/contracts/assign_patterns.aes`.
zxq9 commented 2021-08-19 23:15:49 +09:00 (Migrated from gitlab.com)

Created by: hanssv

An example snippet might be nice!?

*Created by: hanssv* An example snippet might be nice!?
zxq9 commented 2021-08-19 23:17:05 +09:00 (Migrated from gitlab.com)

Created by: hanssv

Review: Dismissed

Looks good to me, perhaps this could/should also be mentioned somewhere in the documentation?

*Created by: hanssv* **Review:** Dismissed Looks good to me, perhaps this could/should also be mentioned somewhere in the documentation?
ghallak commented 2021-08-20 21:59:27 +09:00 (Migrated from gitlab.com)

Updated docs and changelog in this commit 6c53144ccb14830846d63ed3bfe6f3df4eda0ad8

Updated docs and changelog in this commit 6c53144ccb14830846d63ed3bfe6f3df4eda0ad8
zxq9 commented 2021-09-03 21:26:11 +09:00 (Migrated from gitlab.com)

Created by: hanssv

Some trivial conflict to sort out, but still looks good. Remember that our target audience to a large extent consists of people who are afraid of functional programming so the less scary or at least well documented we can do things the better 😅

*Created by: hanssv* Some trivial conflict to sort out, but still looks good. Remember that our target audience to a large extent consists of people who are afraid of functional programming so the less scary or at least well documented we can do things the better 😅
zxq9 commented 2021-09-07 17:57:29 +09:00 (Migrated from gitlab.com)

Created by: radrow

@ghallak you forgot to add letpat in aeso_syntax_utils:fold

*Created by: radrow* @ghallak you forgot to add letpat in aeso_syntax_utils:fold
zxq9 commented 2021-09-08 18:35:30 +09:00 (Migrated from gitlab.com)

Created by: radrow

Review: Approved

*Created by: radrow* **Review:** Approved
zxq9 commented 2021-09-11 22:38:21 +09:00 (Migrated from gitlab.com)

Created by: hanssv

Review: Approved

*Created by: hanssv* **Review:** Approved
zxq9 commented 2021-09-11 23:18:30 +09:00 (Migrated from gitlab.com)

Merged by: radrow at 2021-09-11 14:18:30 UTC

*Merged by: radrow at 2021-09-11 14:18:30 UTC*
Sign in to join this conversation.
No description provided.