Christoffer Lerno

Results 1217 comments of Christoffer Lerno

Is this feature needed still you think?

32-bit, x64 and macos aarch64 done

In use. `#foo` would be a lazily evaluated argument.

> ```c3 > // or a better 'or_else' > int? a = foo() ||| ?io::EOF; > ``` `|||` is compile time `||` where the right hand side is not evaluated...

Compare: ```c3 fn fault? some_function() => io:EOF~; ``` or ```c3 fn fault? some_function() => ?io:EOF; ```

What I dislike about `?io::EOF` is that it combines poorly with `??` visually. Compare these: ```c3 int? a = foo() ?? ?io::EOF; /* ... */ int? a = foo() ??...

> perhaps `??` could be replaced by `else` or `otherwise`, `or_else`, `default`, `then`, `if_not`, `lest`, `or` ... then the `?` prefix would work No, we'll keep `??`, I'm aware of...