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
Would have been useful for #375 parse and print floats
This almost works. It's blocked only by needing the @field builtin (#383) and having to work around #280.
I think it's a demonstration of a valid use case of using var and var args for arguments, although
I might change it so that composeInt takes a struct in the same way that decomposeInt does, then it wouldn't use var args.
Would have been useful for #375 parse and print floats
This almost works. It's blocked only by needing the
@field
builtin (#383) and having to work around #280.I think it's a demonstration of a valid use case of using
var
and var args for arguments, althoughI might change it so that
composeInt
takes a struct in the same way thatdecomposeInt
does, then it wouldn't use var args.If I did it with a struct instead of var args:
At this point though, isn't just using a
packed struct
better?This is clearly the best option. I'm still going to file this issue though as a point of reference.
The text was updated successfully, but these errors were encountered: