fuzion-lang.dev — The Fuzion Language Portal
JavaScript seems to be disabled. Functionality is limited.
Fuzion
•
Idioms
•
Idiom # 68: Create a bitset
Idiom # 68: Create a bitset
See
programming-idioms.org
:
Code
x := bitset.type.empty
What are effects?
Running Example
ex68 is x := bitset.type.empty y := (x.put 134).put 12 z := for r := y, r.put i i := (u64 3), i + 13 while i < 400 else r say "x is $x" say "y is $y" say "z is $z"
What are effects?
last changed: 2024-07-01
next: Idiom # 69: Seed random generator