Skip to content

Commit 23c3684

Browse files
author
Elviro Rocca
committed
Fix Operadics dependency in First.swift; properly linked FunctionTests; update package definition
1 parent f7e2a3b commit 23c3684

File tree

12 files changed

+25
-68
lines changed

12 files changed

+25
-68
lines changed

Package.resolved

Lines changed: 11 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// swift-tools-version:4.0
1+
// swift-tools-version:4.1
22

33
import Foundation
44
import PackageDescription

Sources/Abstract/Free/FreeMonoid.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#if SWIFT_PACKAGE
2-
import Operadics
2+
import Operadics
33
#endif
44

55
// sourcery: fixedTypesForPropertyBasedTests = "Int"

Sources/Abstract/Types/Bool.swift

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,3 @@
1-
//
2-
// Bool.swift
3-
// Abstract
4-
//
5-
// Created by Elviro Rocca on 13/04/18.
6-
// Copyright © 2018 TypeLift. All rights reserved.
7-
//
8-
9-
import Foundation
10-
111
extension Bool: Semiring {
122
public typealias Additive = And
133
public typealias Multiplicative = Or

Sources/Abstract/Types/First.swift

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
import Foundation
1+
#if SWIFT_PACKAGE
2+
import Operadics
3+
#endif
24

35
// sourcery: wrapperEquatable
46
// sourcery: fixedTypesForPropertyBasedTests = "Int"

Sources/Abstract/Types/Function.swift

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,3 @@
1-
//
2-
// Function.swift
3-
// Abstract
4-
//
5-
// Created by Elviro Rocca on 13/04/18.
6-
// Copyright © 2018 TypeLift. All rights reserved.
7-
//
8-
91
#if SWIFT_PACKAGE
102
import Operadics
113
#endif

Sources/Abstract/Types/Max.swift

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,3 @@
1-
//
2-
// Max.swift
3-
// Abstract
4-
//
5-
// Created by Elviro Rocca on 13/04/18.
6-
// Copyright © 2018 TypeLift. All rights reserved.
7-
//
8-
91
#if SWIFT_PACKAGE
102
import Operadics
113
#endif

Sources/Abstract/Types/Min.swift

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,3 @@
1-
//
2-
// Min.swift
3-
// Abstract
4-
//
5-
// Created by Elviro Rocca on 13/04/18.
6-
// Copyright © 2018 TypeLift. All rights reserved.
7-
//
8-
91
#if SWIFT_PACKAGE
102
import Operadics
113
#endif

Sources/Abstract/Types/Multiply.swift

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,3 @@
1-
//
2-
// Multiply.swift
3-
// Abstract
4-
//
5-
// Created by Elviro Rocca on 13/04/18.
6-
// Copyright © 2018 TypeLift. All rights reserved.
7-
//
8-
91
#if SWIFT_PACKAGE
102
import Operadics
113
#endif

Sources/Abstract/Types/Or.swift

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,3 @@
1-
//
2-
// Or.swift
3-
// Abstract
4-
//
5-
// Created by Elviro Rocca on 13/04/18.
6-
// Copyright © 2018 TypeLift. All rights reserved.
7-
//
8-
91
#if SWIFT_PACKAGE
102
import Operadics
113
#endif

0 commit comments

Comments
 (0)