aiken/crates/aiken-lang/src
KtorZ 3c7663cd3c
Basic exhaustivness check on list patterns
Before that commit, the type-checker would allow unsafe list patterns
  such as:

  ```
  let [x] = xs

  when xs is {
    [x] -> ...
    [x, ..] ->  ...
  }
  ```

  This is quite unsafe and can lead to confusing situations. Now at
  least the compiler warns about this. It isn't perfect though,
  especially in the presence of clause guards. But that's a start.
2023-02-11 16:20:28 +01:00
..
parser feat: handle expect in parser 2023-02-09 00:43:29 -05:00
tests Merge pull request #353 from aiken-lang/rvcas/assert_expect 2023-02-09 15:17:14 +01:00
tipo Basic exhaustivness check on list patterns 2023-02-11 16:20:28 +01:00
air.rs feat: some code gen improvements 2023-02-04 02:33:10 -05:00
ast.rs Merge pull request #353 from aiken-lang/rvcas/assert_expect 2023-02-09 15:17:14 +01:00
builder.rs feat: fix errors and add tests for BigInt changes 2023-02-09 15:01:30 -05:00
builtins.rs Add Ordering data-type definition to prelude known constructors. 2023-02-09 14:36:39 +01:00
expr.rs feat: support negation of int 2022-12-27 20:39:03 -05:00
format.rs Merge pull request #353 from aiken-lang/rvcas/assert_expect 2023-02-09 15:17:14 +01:00
levenshtein.rs Add function to calculate lenvenshtein distance of two strings 2022-12-22 23:44:15 +01:00
lib.rs Fix generated projects' README + rename 'certify' -> 'publish' 2023-01-18 16:48:42 +01:00
parser.rs Merge pull request #353 from aiken-lang/rvcas/assert_expect 2023-02-09 15:17:14 +01:00
pretty.rs chore: clippy autofix 2023-02-01 18:53:11 -05:00
tipo.rs feat: Finish up assert feature 2023-01-29 05:21:55 -05:00
uplc.rs feat: fix errors and add tests for BigInt changes 2023-02-09 15:01:30 -05:00