Simon von Hackewitz
Simon von Hackewitz
for `as_u8` this is caused by #3051
but there are still some preconditions missing, e.g. ``` a i64 := 70000 b u16 := a.as_u16 say "$a.as_u16 is $b" ``` produces the output `70000.as_u16 is 4464`
this does not yet work ``` ❯ fz -e 'a i32 := 1234578; b u8 := a.as_u8; say "$a.as_u8 is $b but should produce an error"' 1234578.as_u8 is 146 but...
updated ``` ex218 is ⋂ (a (container.ps_set String), b (container.ps_set String)) => (a ∪ b).filter(x -> a.has x && b.has x) ``` ``` ❯ FUZION_DISABLE_ANSI_ESCAPES=true fz /tmp/issue34.fz /tmp/issue34.fz:2:5: error 1:...
not solved
related to #3326
If I know what the type is, especially when it is long, like `s Sequence (choice some.nested.type some.other.type)`, I'd I find it easier to read without it. But in case...
What causes this is the missing argument type in `scheme`, adding it avoids the failed require condition: ``` scheme(ls Sequence String) is ```
Public arguments are declared with `public` and currently only they show up in the apidocs because only they can be accessed by a user. E.g. [array](https://fuzion-lang.dev/docs/base/array+%285+arguments%29/) has four more non...