flix

439 posts

flix banner
flix

flix

@flixlang

The Flix Programming Language. A next-generation effect-oriented programming language.

Katılım Ekim 2020
0 Takip Edilen1.9K Takipçiler
flix
flix@flixlang·
2/2
flix tweet media
0
0
7
233
flix
flix@flixlang·
1/2 The next version of Flix will feature significantly improved effect error messages:
flix tweet media
English
1
3
24
1.2K
flix
flix@flixlang·
We have moved to Zulip, come talk to us 👇
English
1
1
8
836
flix
flix@flixlang·
1/2 We are pleased to announce the release of Flix 0.71.0! This is a major release which brings significantly improved Java interoperability, improved pattern match compilation, and other bytecode optimizations.
English
1
3
11
780
flix
flix@flixlang·
2/2 Example (B): Flix does not have classes, but we can always implement/extend any Java interface/class using a new object expression, even generic classes. Here we implement Comparator for String:
flix tweet media
English
0
0
6
300
flix
flix@flixlang·
1/2 There was a lot of interest in our improved Java interoperability, so here are two more examples: Example (A) Flix functions automatically implement appropriate Java functional interfaces, so can be passed as Java SAMs: Here a Flix function is passed to Stream's map:
flix tweet media
English
1
2
17
1.1K
flix
flix@flixlang·
@__dwr__ It infers the generic types correctly.
English
0
0
1
10
David Rogers
David Rogers@__dwr__·
@flixlang does it infer by subsequent usage that K=String,V=Integer? or it's just Object,Object?
English
1
0
0
14
flix
flix@flixlang·
1/2 We have significantly improved Java interoperability which makes using Java from within Flix near seamless:
flix tweet media
English
3
3
40
2.9K
flix
flix@flixlang·
2/2 That said, we recommended that Flix programs are written using algebraic effects and handlers, and that Java interoperability is only used to implement effect handlers. Here is a simple example of this idea:
flix tweet media
English
0
1
15
469
flix
flix@flixlang·
The new syntax is already available today!
English
0
0
2
386
flix
flix@flixlang·
After much soul searching and internal deliberations, we have decided to update the Flix syntax to give it a more timeless aesthetic. Here is the new Flix!:
flix tweet media
English
6
5
60
3.9K
flix
flix@flixlang·
3/4 Fs middleware in action:
flix tweet media
English
1
0
2
309
flix
flix@flixlang·
1/4 We are pleased to announce the release of Flix 0.70.0! This is a major release which introduces a rich set of standard library effects, handlers, and middleware.
English
1
3
15
893
flix
flix@flixlang·
2/2 Here withConflictCheck detects whether files are modified between reads and writes, withBackup maintains a .bak file, and `withAtomicWrite` writes to temp file and then moves into place.
English
0
0
1
163
flix
flix@flixlang·
1/2 New filesystem effects and middleware coming in the next version:
flix tweet media
English
1
0
18
955
flix
flix@flixlang·
The Flix VSCode extension now supports single-file, i.e. its possible to open and work on a singe file without having to work within a project.
English
1
0
7
482