aiken/examples/acceptance_tests
KtorZ 858dfccc82
Authorize complete patterns as function args.
This is mainly a syntactic trick/sugar, but it's been pretty annoying
  to me for a while that we can't simply pattern-match/destructure
  single-variant constructors directly from the args list. A classic
  example is when writing property tests:

  ```ak
  test foo(params via both(bytearray(), int())) {
    let (bytes, ix) = params
    ...
  }
  ```

  Now can be replaced simply with:

  ```
  test foo((bytes, ix) via both(bytearray(), int())) {
    ...
  }
  ```

  If feels natural, especially coming from the JavaScript, Haskell or
  Rust worlds and is mostly convenient. Behind the scene, the compiler
  does nothing more than re-writing the AST as the first form, with
  pre-generated arg names. Then, we fully rely on the existing
  type-checking capabilities and thus, works in a seamless way as if we
  were just pattern matching inline.
2024-06-07 15:42:25 +02:00
..
001 Re-format and re-run all acceptance tests. 2024-01-20 10:44:16 +01:00
002 chore: new aiken.lock files for examples 2023-09-13 18:17:40 -04:00
003 Re-format and re-run all acceptance tests. 2024-01-20 10:44:16 +01:00
004 Re-format and re-run all acceptance tests. 2024-01-20 10:44:16 +01:00
005 chore: new aiken.lock files for examples 2023-09-13 18:17:40 -04:00
006 Re-format and re-run all acceptance tests. 2024-01-20 10:44:16 +01:00
007 Re-format and re-run all acceptance tests. 2024-01-20 10:44:16 +01:00
008 chore: new aiken.lock files for examples 2023-09-13 18:17:40 -04:00
009 chore: new aiken.lock files for examples 2023-09-13 18:17:40 -04:00
010 Re-format and re-run all acceptance tests. 2024-01-20 10:44:16 +01:00
011 chore: new aiken.lock files for examples 2023-09-13 18:17:40 -04:00
012 chore: new aiken.lock files for examples 2023-09-13 18:17:40 -04:00
013 Re-format and re-run all acceptance tests. 2024-01-20 10:44:16 +01:00
014 chore: new aiken.lock files for examples 2023-09-13 18:17:40 -04:00
015 chore: new aiken.lock files for examples 2023-09-13 18:17:40 -04:00
016 Re-format and re-run all acceptance tests. 2024-01-20 10:44:16 +01:00
017 chore: new aiken.lock files for examples 2023-09-13 18:17:40 -04:00
018 Re-format and re-run all acceptance tests. 2024-01-20 10:44:16 +01:00
019 Re-format and re-run all acceptance tests. 2024-01-20 10:44:16 +01:00
020 Re-format and re-run all acceptance tests. 2024-01-20 10:44:16 +01:00
021 chore: new aiken.lock files for examples 2023-09-13 18:17:40 -04:00
022 Re-format and re-run all acceptance tests. 2024-01-20 10:44:16 +01:00
023 chore: new aiken.lock files for examples 2023-09-13 18:17:40 -04:00
024 Re-format and re-run all acceptance tests. 2024-01-20 10:44:16 +01:00
025 chore: new aiken.lock files for examples 2023-09-13 18:17:40 -04:00
026 Re-format and re-run all acceptance tests. 2024-01-20 10:44:16 +01:00
027 chore: new aiken.lock files for examples 2023-09-13 18:17:40 -04:00
028 chore: new aiken.lock files for examples 2023-09-13 18:17:40 -04:00
029 Re-format and re-run all acceptance tests. 2024-01-20 10:44:16 +01:00
030 chore: new aiken.lock files for examples 2023-09-13 18:17:40 -04:00
031 chore: new aiken.lock files for examples 2023-09-13 18:17:40 -04:00
032 chore: new aiken.lock files for examples 2023-09-13 18:17:40 -04:00
033 Re-format and re-run all acceptance tests. 2024-01-20 10:44:16 +01:00
034 Re-format and re-run all acceptance tests. 2024-01-20 10:44:16 +01:00
035 Re-format and re-run all acceptance tests. 2024-01-20 10:44:16 +01:00
036 add test for curry optimization that is a reduced case of #945 2024-05-22 15:46:32 -04:00
037 chore: new aiken.lock files for examples 2023-09-13 18:17:40 -04:00
038 Re-format and re-run all acceptance tests. 2024-01-20 10:44:16 +01:00
039 chore: new aiken.lock files for examples 2023-09-13 18:17:40 -04:00
040 Fix indentation of pipelines. 2024-03-09 20:44:51 +01:00
041 chore: new aiken.lock files for examples 2023-09-13 18:17:40 -04:00
042 chore: new aiken.lock files for examples 2023-09-13 18:17:40 -04:00
043 chore: new aiken.lock files for examples 2023-09-13 18:17:40 -04:00
044 Re-format and re-run all acceptance tests. 2024-01-20 10:44:16 +01:00
045 Re-format and re-run all acceptance tests. 2024-01-20 10:44:16 +01:00
046 Re-format and re-run all acceptance tests. 2024-01-20 10:44:16 +01:00
047 add test for curry optimization that is a reduced case of #945 2024-05-22 15:46:32 -04:00
048 Re-format and re-run all acceptance tests. 2024-01-20 10:44:16 +01:00
049 Re-format and re-run all acceptance tests. 2024-01-20 10:44:16 +01:00
050 Re-format and re-run all acceptance tests. 2024-01-20 10:44:16 +01:00
051 chore: new aiken.lock files for examples 2023-09-13 18:17:40 -04:00
052 Re-format and re-run all acceptance tests. 2024-01-20 10:44:16 +01:00
053 Re-format and re-run all acceptance tests. 2024-01-20 10:44:16 +01:00
054 add test for curry optimization that is a reduced case of #945 2024-05-22 15:46:32 -04:00
055 add test for curry optimization that is a reduced case of #945 2024-05-22 15:46:32 -04:00
056 Re-format and re-run all acceptance tests. 2024-01-20 10:44:16 +01:00
057 Re-format and re-run all acceptance tests. 2024-01-20 10:44:16 +01:00
058 Re-format and re-run all acceptance tests. 2024-01-20 10:44:16 +01:00
059 Re-format and re-run all acceptance tests. 2024-01-20 10:44:16 +01:00
060 Re-format and re-run all acceptance tests. 2024-01-20 10:44:16 +01:00
061 add test for curry optimization that is a reduced case of #945 2024-05-22 15:46:32 -04:00
062 chore: new aiken.lock files for examples 2023-09-13 18:17:40 -04:00
063 add test for curry optimization that is a reduced case of #945 2024-05-22 15:46:32 -04:00
064 Review & fix acceptance tests 2024-05-04 14:04:12 -04:00
065 chore: new aiken.lock files for examples 2023-09-13 18:17:40 -04:00
066 fix: There was a stack overflow due to passing unbound types to a function 2023-09-25 21:16:19 -04:00
067 add test for curry optimization that is a reduced case of #945 2024-05-22 15:46:32 -04:00
068 add test for curry optimization that is a reduced case of #945 2024-05-22 15:46:32 -04:00
069 add test for curry optimization that is a reduced case of #945 2024-05-22 15:46:32 -04:00
070 add test for curry optimization that is a reduced case of #945 2024-05-22 15:46:32 -04:00
071 add test for curry optimization that is a reduced case of #945 2024-05-22 15:46:32 -04:00
072 add test for curry optimization that is a reduced case of #945 2024-05-22 15:46:32 -04:00
073 add test for curry optimization that is a reduced case of #945 2024-05-22 15:46:32 -04:00
074 add test for curry optimization that is a reduced case of #945 2024-05-22 15:46:32 -04:00
075 activate test 75 2024-05-06 15:17:01 -04:00
076 Re-format and re-run all acceptance tests. 2024-01-20 10:44:16 +01:00
077 Rename AList -> Pairs due to popular demand. 2024-05-23 16:45:40 +02:00
078 Re-format and re-run all acceptance tests. 2024-01-20 10:44:16 +01:00
079 add test for curry optimization that is a reduced case of #945 2024-05-22 15:46:32 -04:00
080 chore: new aiken.lock files for examples 2023-09-13 18:17:40 -04:00
081 chore: new aiken.lock files for examples 2023-09-13 18:17:40 -04:00
082 add test for curry optimization that is a reduced case of #945 2024-05-22 15:46:32 -04:00
083 add test for curry optimization that is a reduced case of #945 2024-05-22 15:46:32 -04:00
084 add test for curry optimization that is a reduced case of #945 2024-05-22 15:46:32 -04:00
085 chore: commit artifacts from acceptance tests 2024-02-13 21:29:46 -05:00
086 add test for curry optimization that is a reduced case of #945 2024-05-22 15:46:32 -04:00
087 add test for curry optimization that is a reduced case of #945 2024-05-22 15:46:32 -04:00
088 add test for curry optimization that is a reduced case of #945 2024-05-22 15:46:32 -04:00
089 add test for curry optimization that is a reduced case of #945 2024-05-22 15:46:32 -04:00
090 add test for curry optimization that is a reduced case of #945 2024-05-22 15:46:32 -04:00
091 remove wrongly committed acceptance test blueprints 2024-01-20 10:38:40 +01:00
092 remove wrongly committed acceptance test blueprints 2024-01-20 10:38:40 +01:00
093 add back test 93 2024-03-04 10:52:56 -05:00
094 Fix Int/BigInt pivot 2024-02-25 14:09:56 -05:00
095 disable assert that was blocking issue #844 2024-03-04 11:48:22 -05:00
096 add test for curry optimization that is a reduced case of #945 2024-05-22 15:46:32 -04:00
097 add one more test 2024-03-08 12:25:26 -05:00
098 Fix indentation of pipelines. 2024-03-09 20:44:51 +01:00
099 fix: casting a field type to Data with expect and traces on was assuming the raw Data was of type constr 2024-03-27 15:52:23 -04:00
100 Add new acceptance test illustrating need for fn call ordering 2024-05-06 15:17:01 -04:00
101 add test for curry optimization that is a reduced case of #945 2024-05-22 15:46:32 -04:00
102 add test for curry optimization that is a reduced case of #945 2024-05-22 15:46:32 -04:00
103 New test 103 and clippy fixes 2024-05-21 11:56:12 -04:00
104 Authorize complete patterns as function args. 2024-06-07 15:42:25 +02:00
script_context add test for curry optimization that is a reduced case of #945 2024-05-22 15:46:32 -04:00
.gitignore feat: add trace 2022-12-21 14:39:46 -05:00
ci Chore: 2024-05-04 14:04:12 -04:00
fmt chore: fmt most of the acceptance tests 2023-02-09 00:57:14 -05:00
fmt-all chore: fmt most of the acceptance tests 2023-02-09 00:57:14 -05:00
run Fix 'run' script, also do 'check' on modules that have validators. 2023-03-16 23:04:24 +01:00
run-all Add new acceptance test scenario: 036 2022-12-29 12:11:55 +01:00