Gaith Hallak
a982f25262
Pattern guards for functions and switch statements ( #339 )
...
* Add case guards to parser
* Add pattern guards to infer types and fcode generation
* Add functions guards
* Add test for patterns guards
* Update docs
* Update CHANGELOG.md
* Remove stateful context from Env for guards
* Elaborate on guards
* Add failing test for stateful pattern guards
* Implement multiple guards
* Fix tests
* Disable aevm related tests
* Split the sentence before if and otherwise
* Fix type in docs
* Implement multiple exprs in the same guard
* Fix pretty printing
* Change tests to include multiple guards
* Add test for non-boolean guards
* Desugar clauses with guards
* Fix incomplete patterns bug
* Fix docs
* Compile to icode when no guards are used
* Revert "Disable aevm related tests"
This reverts commit e828099bd97dffe11438f2e48f3a92ce3641e85b.
2021-10-20 11:04:00 +03:00
..
2021-05-18 12:21:57 +02:00
2019-08-14 13:53:58 +02:00
2021-05-18 12:21:57 +02:00
2020-03-30 14:52:16 +02:00
2019-07-22 13:56:45 +02:00
2019-07-22 13:56:45 +02:00
2021-05-18 12:21:57 +02:00
2021-05-18 12:21:57 +02:00
2020-02-03 12:52:00 +01:00
2019-11-18 16:25:47 +01:00
2019-06-14 10:27:07 +02:00
2020-04-02 15:32:26 +02:00
2021-05-18 12:21:57 +02:00
2021-09-11 16:18:30 +02:00
2021-09-11 16:18:30 +02:00
2021-05-18 12:21:57 +02:00
2020-03-30 14:52:16 +02:00
2019-09-09 18:40:45 +02:00
2019-09-09 18:40:45 +02:00
2019-06-28 09:42:28 +02:00
2019-06-28 09:42:28 +02:00
2020-05-15 19:09:08 +02:00
2019-06-28 09:42:28 +02:00
2020-02-21 10:28:55 +01:00
2021-05-18 12:21:57 +02:00
2019-12-09 08:45:55 +01:00
2021-01-25 21:28:10 +01:00
2021-05-18 12:21:57 +02:00
2020-03-30 14:52:16 +02:00
2020-02-11 10:00:46 +01:00
2019-09-12 21:17:01 +02:00
2019-08-21 09:29:40 +02:00
2019-06-28 09:42:28 +02:00
2019-06-28 09:42:28 +02:00
2019-09-09 18:40:45 +02:00
2019-06-28 09:42:28 +02:00
2020-02-21 09:45:11 +01:00
2019-09-03 14:47:13 +02:00
2019-02-08 14:16:06 +01:00
2018-12-22 01:23:40 +01:00
2018-12-22 01:23:40 +01:00
2020-02-03 12:24:27 +01:00
2018-12-22 01:23:40 +01:00
2018-12-22 01:23:40 +01:00
2021-07-05 09:29:43 +02:00
2021-05-18 12:21:57 +02:00
2021-05-18 12:21:57 +02:00
2021-05-18 12:21:57 +02:00
2021-05-18 12:21:57 +02:00
2018-12-22 01:23:40 +01:00
2019-06-28 09:42:28 +02:00
2021-05-18 12:21:57 +02:00
2019-08-14 13:53:58 +02:00
2019-08-14 13:53:58 +02:00
2019-08-14 13:53:58 +02:00
2019-08-14 13:53:58 +02:00
2019-08-14 13:53:58 +02:00
2019-06-28 09:42:28 +02:00
2020-03-30 14:52:16 +02:00
2021-05-24 14:30:57 +02:00
2019-06-14 10:27:07 +02:00
2021-05-18 12:21:57 +02:00
2018-12-22 01:23:40 +01:00
2021-05-18 12:21:57 +02:00
2021-05-18 12:21:57 +02:00
2019-05-27 12:04:38 +02:00
2021-09-30 19:11:00 +02:00
2019-06-28 09:42:28 +02:00
2019-06-28 09:42:28 +02:00
2020-10-09 18:41:30 +02:00
2020-03-30 14:52:16 +02:00
2021-05-18 12:21:57 +02:00
2019-06-28 09:42:28 +02:00
2019-02-08 14:16:06 +01:00
2019-02-08 14:16:06 +01:00
2019-09-03 16:51:04 +02:00
2018-12-22 01:23:40 +01:00
2019-06-28 09:42:28 +02:00
2021-05-18 12:21:57 +02:00
2020-05-15 19:09:08 +02:00
2019-12-12 09:39:13 +01:00
2019-12-16 17:04:49 +01:00
2021-05-18 12:21:57 +02:00
2019-08-14 13:53:58 +02:00
2019-08-14 13:53:58 +02:00
2019-08-14 13:53:58 +02:00
2019-08-27 14:00:23 +02:00
2019-08-30 14:22:31 +02:00
2018-12-22 01:23:40 +01:00
2019-08-27 14:10:40 +02:00
2019-09-03 14:35:13 +02:00
2018-12-22 01:23:40 +01:00
2018-12-22 01:23:40 +01:00
2019-07-22 13:56:45 +02:00
2018-12-22 01:23:40 +01:00
2021-05-18 12:21:57 +02:00
2019-06-28 09:42:28 +02:00
2019-06-28 09:42:28 +02:00
2019-07-22 13:56:45 +02:00
2020-02-21 09:45:11 +01:00
2020-03-30 14:52:16 +02:00
2021-05-18 12:21:57 +02:00
2021-05-18 12:21:57 +02:00
2018-12-22 01:23:40 +01:00
2019-06-28 09:42:28 +02:00
2019-06-28 09:42:28 +02:00
2019-06-28 09:42:28 +02:00
2019-02-08 14:16:06 +01:00
2021-05-18 12:21:57 +02:00
2019-08-14 13:53:58 +02:00
2021-10-20 11:04:00 +03:00
2021-05-18 12:21:57 +02:00
2020-03-30 14:52:16 +02:00
2020-03-30 14:52:16 +02:00
2020-03-30 14:52:16 +02:00
2019-01-25 16:09:31 +01:00
2018-12-22 01:23:40 +01:00
2019-06-14 10:27:07 +02:00
2019-07-22 13:56:45 +02:00
2019-07-22 13:56:45 +02:00
2019-11-27 10:57:24 +01:00
2021-10-20 11:04:00 +03:00
2019-08-19 08:57:31 +02:00
2018-12-22 01:23:40 +01:00
2018-12-22 01:23:40 +01:00
2021-05-18 12:21:57 +02:00
2019-12-12 09:34:26 +01:00
2021-05-18 12:21:57 +02:00
2018-12-22 01:23:40 +01:00
2018-12-22 01:23:40 +01:00
2018-12-22 01:23:40 +01:00
2018-12-22 01:23:40 +01:00
2019-06-28 09:42:28 +02:00
2019-06-28 09:42:28 +02:00
2021-05-18 12:21:57 +02:00
2020-01-15 09:41:03 +01:00
2021-05-18 12:21:57 +02:00
2021-10-20 11:04:00 +03:00
2021-05-18 12:21:57 +02:00
2019-08-27 14:10:40 +02:00
2020-02-21 09:45:11 +01:00
2019-08-05 14:33:53 +02:00
2021-05-18 12:21:57 +02:00
2020-03-30 14:52:16 +02:00
2019-08-30 11:18:20 +02:00
2021-05-18 12:21:57 +02:00
2019-09-14 12:12:55 +02:00
2021-05-18 12:21:57 +02:00
2019-09-23 14:04:09 +02:00
2018-12-22 01:23:40 +01:00
2021-09-07 17:45:28 +03:00
2021-09-07 17:45:28 +03:00
2021-09-07 17:45:28 +03:00
2021-09-07 17:45:28 +03:00
2021-09-07 17:45:28 +03:00
2021-09-07 17:45:28 +03:00
2020-02-24 15:35:54 +01:00
2019-11-15 14:22:44 +01:00
2019-11-15 14:22:44 +01:00
2019-11-15 14:22:44 +01:00
2018-12-22 01:23:40 +01:00
2019-06-28 09:42:28 +02:00
2019-09-03 16:51:04 +02:00
2020-03-30 14:52:16 +02:00
2019-09-03 16:51:04 +02:00
2019-09-27 17:31:10 +02:00