[swift-users] package graphroot error

2017-10-01 Thread Muhammad Tahir Vali via swift-users
Hello, I've updated to swift 4.0 and downloaded a CL tool swiftenv . Mixing and debugging with different versions , I may have messed up my swift environment variables and ultimately deleted my swift-tools. How do I safely default everything back to working form? swift tools --version error:

[swift-users] bigintegers

2017-09-19 Thread Muhammad Tahir Vali via swift-users
hello, im in a crypto class. we had to compute with big integers and i found out swift 4 doesnt support BigIntegers but the new integer protocol can pave the way to help create it. I want to know how immediate the plans to implement it in the standard library and if there was any help needed to

[swift-users] Error: Type 'Self.T' does not conform to protocol 'Equatable'

2017-07-10 Thread Muhammad Tahir Vali via swift-users
hey all, just trying to figuring out a few workarounds for a problem I'm having. Im having 2 errors both because of associatedtype. *#1 can be found on the "Vertexable" protocol. This is a strange error which should work but I'm guessing associatedtypes are causing trouble. * *//error: Type

[swift-users] Protocol Conformance

2017-06-19 Thread Muhammad Tahir Vali via swift-users
Hey all, I wanted to know if theres a work around for a problem I am having lets say I have a protocol protocol *Graphable* : CustomStringConvertible, Sequence, Collection { var vertices : [AnyVertexable] { get set } *var edges: [AnyEdge]? { get set }* } Then I have