-
The typescript type system is helpful in most cases, but it can’t be utilized when handling exceptions.
For example:
```
function fn(num: number): void {
if (num === 0) {
throw "error…
-
## Layered Language
We want Flix to be a layered programming language that can be learned gradually.
For example, a programmer should be able to work with `Option` without
knowledge of higher-ord…
-
A common request last year was to allow 3,4 etc input gates.
This has four parts:
1. Add a new gate definition AndN to `CommonTypes.ComponentType` and `CommonTypes.JSONComponent.CommonType`. `AN…
-
I am reading on this page that find this:
``` ocaml
let area = function
| Point _ -> 0.0
| Circle (_, r) -> Float.pi *. (r ** 2.0)
| Rect ((x1, y1), (x2, y2)) ->
let w = x2 -. x1 i…
-
We're starting to investigate a couple of related language changes around tuples, pattern matching, and destructuring. These features touch on other things like "data classes", so I wanted to kick thi…
-
The manual introduces [discriminated unions in TNT](https://github.com/informalsystems/tnt/blob/main/doc/lang.md#discriminated-unions). We had discussions about changing the syntax of discriminated un…
-
We modify `src/setup.py` to support editable installs via pipenv (`pipenv install -e .`, which invokes `pip install --editable`). Since distribution continues using build/pkgs/sagelib/src/setup.py,…
-
According to the docs, deconstruction of a oneof-type is meant to be done in the following way:
```proto
syntax = "proto3";
message Test {
oneof foo {
bool on = 1;
int32 count = 2;…
-
The product will be benchmarked to compare it with other relational databases. The focus of the benchmarking is to assess how the performance is affected with the implementation of algebraic datatypes…
-
Prior the implementation of RFC002 (see #595), Nickel used the following syntax for enum types: ``. Once we merged the term and type syntax, this became ambiguous with the comparison operators. We are…