Oscar Byström Ericsson

Results 16 issues of Oscar Byström Ericsson

#### Introduction Swift 5.9 ([SE-0377](https://github.com/apple/swift-evolution/blob/main/proposals/0377-parameter-ownership-modifiers.md)) introduces `borrowing` and `consuming` parameter ownership modifiers. #### An immediate use case I'm working on some utility methods with the following `inout` convention: ```swift @inlinable...

await
brrr

I'd like to have a protocol that encompasses Signed\ without shoehorning it down the binary integer protocol hierarchy. I imagine something like a numeric-but-divisible-and-convertible-thing-y. I haven't thought of the requirements...

addition
maybe

I need lots of free-function-y stuff to get things done without tying myself to any particular implementation. But free-function-y stuff is messy. The function signatures get way too long or...

await
addition
maybe
brrr

I tried to set up a GitHub workflow with tests on Linux (#60) (#63), but I discovered that the Swift 5.7 compiler is ~~broken~~. In particular, it cannot parse the...

await

I think `init(repeating:)` should be moved to NBKBinaryInteger so it becomes available to IntXL, and UIntXL could reasonably trap on `init(repeating: true)`. I suppose that adding a duplicate requirement to...

addition
maybe

I provide three `quotientAndRemainder(dividingBy:)` defaults in NBKBinaryInteger.swift, which is one more than you'd expect. That's because the core integers do not compile without the `where Self == Digit` version. I...

help