-
By Supporting the column-major table we can improve performance of the certain operations and the new table can be used as data structure that is similar to that of Pandas DataFrames.
Ballerina ta…
-
In the following program, all xml values `a`,`b`, and `c` are equal. But we found a scenario, where users want to preserve the original literal with the value. Right now this is not possible with jBal…
-
**Description:**
```ballerina
public enum LiftStatus {
OPEN,
CLOSED,
HOLD
}
public enum TrailStatus {
OPEN,
CLOSED
}
```
Since both `LiftStatus.OPEN` and `TrailStatus…
-
The following prints `false` when it should print `true`:
```
import ballerina/io;
public function main() {
[int,int|string] t = [1,2];
io:println(t is [int,int]|[int,string]);
}
```
…
-
### Description
For the following code
```
import ballerina/io;
public function main() returns error? {
var orders = [
{orderId: 1, itemName: "A", price: 23.4, quantity: 2},
…
-
Similar to current if-else-stmt, while-stmt can narrow after normal completion. Simpler for cases without break, with break, it maybe possible to consider that as another path for narrowings/assignmen…
-
In https://ballerina.io/spec/lang/2021R1/#section_5.7.1
> Mutation of a structured value during iteration is handled as follows. A call to next() must panic if there has been any mutation to the st…
-
**Description:**
Referring to the following sections of the spec:
```
compound-assignment-stmt := lvexpr CompoundAssignmentOperator action-or-expr ;
lvexpr :=
variable-reference-lvexpr
…
-
### Description
```ballerina
import ballerina/io;
public function main() {
io:println(isIsolated(foo)); // prints false
}
transactional isolated function foo() {
}
function isIsolate…
-
**Description:**
Right now, the [TCP client ](https://github.com/ballerina-platform/module-ballerina-tcp/blob/master/tcp-ballerina/client.bal)doesn't allow us to specify a proxy host (SOCKS proxy). T…
IMS94 updated
3 years ago