I hereby claim:
- I am glessard on github.
- I am glessard (https://keybase.io/glessard) on keybase.
- I have a public key ASBg9FfGSW_7QAPJ-Sd1KFxbrIzz4KVj4PgcwmlUTGkR5wo
To claim this, I am signing this object:
// | |
// defer.swift | |
// DeferredTaskList | |
// | |
private class DeferredTasks | |
{ | |
private typealias Task = () -> () | |
var list = [Task]() |
// | |
// shuffle.swift | |
// | |
// Created by Guillaume Lessard on 2014-08-28. | |
// Copyright (c) 2016 Guillaume Lessard. All rights reserved. | |
// | |
// https://github.com/glessard/shuffle | |
// https://gist.github.com/glessard/7140fe885af3eb874e11 | |
// |
// | |
// future.swift | |
// | |
// Created by Guillaume Lessard on 2014-11-14. | |
// Copyright (c) 2014 Guillaume Lessard. All rights reserved. | |
// | |
// https://gist.github.com/glessard/2abbfd76d401b1b833cc | |
// | |
import Dispatch |
// | |
// syncprint.swift | |
// | |
// Created by Guillaume Lessard on 2014-08-22. | |
// Copyright (c) 2016 Guillaume Lessard. All rights reserved. | |
// | |
// https://github.com/glessard/syncprint | |
// https://gist.github.com/glessard/826241431dcea3655d1e | |
// |
public struct Result<Value> | |
{ | |
private let state: State<Value> | |
init(_ value: Value) { | |
state = .value(value) | |
} | |
init(_ error: Error) { | |
state = .error(error) |
// | |
// url-extensions.swift | |
// | |
// Created by Guillaume Lessard | |
// Copyright (c) 2018 Guillaume Lessard. All rights reserved. | |
// | |
// https://gist.github.com/glessard/a2b2916aa74f082a58d50a674174f1a4 | |
// | |
import Foundation |
I hereby claim:
To claim this, I am signing this object: