functional-swift icon indicating copy to clipboard operation
functional-swift copied to clipboard

Issue repository for the Functional Swift book

Results 3 functional-swift issues
Sort by recently updated
recently updated
newest added

``` extension Ship { func canSafelyEngageShip(target: Ship, friendly: Ship) -> Bool { let rangeRegion = difference(circle(firingRange), minus: circle(unsafeRange)) let firingRegion = shift(rangeRegion, offset: position) let friendlyRegion = shift(circle(unsafeRange), offset: friendly.position)...

Hi, I tried to update the code to fits Swift 5.