You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Closes#860
BREAKING CHANGE: Lists loaded from `py(...)` expressions are now turned
into immutable `frozenarray`s instead of regular `array`s.
---------
Co-authored-by: Douglas Wilson <[email protected]>
Methods:
__len__(self: frozenarray[n, L])
implemented with Guppy source__getitem__(self: frozenarray[n, L], idx: int) -> L
lowers to Hugr op (maybe custom compiler to convert index tousize
)__iter__(self: frozenarray[n, L] @owned) -> FrozenarrayIter[n, L]
implemented with Guppy sourceAlso use
frozenarray
instead ofarray
when loading lists frompy
expressionsThe text was updated successfully, but these errors were encountered: