flix / programming-flix

A tutorial for programming in Flix
Apache License 2.0
6 stars 13 forks source link

Rewrite `Interoperability`'s `Invoking Static Methods` paragraph #64

Closed ninaandrup closed 2 years ago

ninaandrup commented 2 years ago

We have changed the syntax of importing static methods from

import java.lang.String:valueOf(Bool);
valueOf(true)

to

import static java.lang.String.valueOf(Bool);
valueOf(true)

The paragraph can be found here.

ninaandrup commented 2 years ago

@magnus-madsen Do you want to rewrite this, or should I do it?

magnus-madsen commented 2 years ago

I think you should give it an attempt :) You can do it 👍