-
v2.0.10
```
?- must_be(positive_int, +-).
true.
?- must_be(positive_int, \0 + - 1).
true.
?- must_be(flix,flux).
true.
% may_be
?- must_be(flux,flix).
true.
```
Ludwig van B…
-
https://github.com/flix/flix/blob/2d6ac85f5690ac02f578854894906cfff80cfd66/main/src/ca/uwaterloo/flix/language/phase/unification/Unification.scala#L251
I assume that this:
```scala
ca…
-
I think this example would be nice to have in Flix.
-
### 确认
- [X] 我的版本是最新版本,我的版本号与 [version](https://github.com/hsuyelin/nas-tools/releases/latest) 相同。
- [X] 我已经 [issue](https://github.com/hsuyelin/nas-tools/issues) 中搜索过,确认我的问题没有被提出过。
- [X] 我已经修改标题…
-
A gentleman on Reddit humbly suggested that our syntax is sometimes confusing:
![image](https://user-images.githubusercontent.com/2287953/99387634-9f8e1a00-28d4-11eb-8e5d-82adacbbca3a.png)
I gen…
-
We should investigate adding syntactic sugar for two types of for-loops: An imperative-style loop and a monadic style-loop.
# Tasks
- [x] #3950
- [x] #3951
# Imperative Style
Add something …
-
- Offer the same set of color functions, e.g. `red` and `bgRed`, etc.
- Use the same colors in Scala as in Flix.
-
-
```
type alias KeyEvents = ##java.awt.event.KeyListener
type alias Event = ##java.awt.event.KeyEvent
def main(): Unit \ IO =
region r {
let mut = MutList.new(r) ;
let _anon = new KeyEv…
-
I will start from the beginning and work my way to the end.
## Stream Data Type
We begin by defining the following data type:
```scala
enum Stream[t: Type, pur: Bool, ef: Eff]{
case Str…