I hereby claim:
- I am loganmoseley on github.
- I am loganmoseley (https://keybase.io/loganmoseley) on keybase.
- I have a public key ASAqZ07I9TVwSRKWycoYjTWsAYO2Yiuvl45MZivPkHkqJgo
To claim this, I am signing this object:
| /* | |
| Example without a Task | |
| func testExample2() async throws { | |
| env.testNumber = 12 | |
| if false { | |
| try await Task.sleep(nanoseconds: NSEC_PER_MSEC * UInt64.random(in: 0...500)) | |
| } | |
| XCTAssertEqual(env.caseNumber, 1) | |
| XCTAssertEqual(env.testNumber, 12) |
| import SwiftUI | |
| import UIKit | |
| enum ScalableFont { | |
| case system(size: CGFloat, weight: Font.Weight = .regular, design: Font.Design = .default) | |
| case custom(_ name: String, size: CGFloat) | |
| var size: CGFloat { |
| import Foundation | |
| // A bunch of convenience things | |
| func const <A, B> (_ b: B) -> (A) -> B { | |
| return { _ in b } | |
| } | |
| func `repeat` <A> (_ n: Int) -> (A) -> [A] { | |
| return { a in | |
| Array(1...n).map(const(a)) | |
| } |
| Lifelinez iOS version 2-18 | |
| Beginning | |
| Lifeline menu -> Lifeline menu | |
| Keyboard -> keyboard shortcut | |
| Lifeline menu | |
| Turn Autocheck ON-OFF -> toggleAutocheck | |
| Check Square -> checkSelectedSquare | |
| Check Word -> checkSelectedWord | |
| Check Puzzle -> checkPuzzle |
| Lifelinez iOS version 2-17 | |
| Beginning | |
| Lifeline menu -> Lifeline menu | |
| Keyboard -> Keyboard | |
| Lifeline menu | |
| Turn Autocheck ON-OFF -> toggleAutocheck | |
| Check Square -> checkSelectedSquare | |
| Check Word -> checkSelectedWord | |
| Check Puzzle -> checkPuzzle |
| Puzzle | |
| clear -> Clear? | |
| Empty | |
| guess -> Partial | |
| reveal -> Reveal? | |
| Partial | |
| guess -> Partial | |
| reveal -> Reveal? | |
| solve -> Solved | |
| Solved |
| Square State Flow | |
| type letter -> Bare Black | |
| Bare | |
| Bare Black | |
| type letter -> Bare Black | |
| check correct -> Bare Blue | |
| check incorrect -> Slashed | |
| reveal correct -> Bare Blue | |
| reveal incorrect -> Red Flag Blue |
| Play Tab | |
| person icon -> Account Settings | |
| packs tab -> Packs Tab | |
| SVM | |
| puzzle -> Solving | |
| pack -> Pack | |
| Packs Tab | |
| Root | |
| pack -> Pack |
I hereby claim:
To claim this, I am signing this object:
| import Cocoa | |
| struct Contains : ExpressibleByStringLiteral { | |
| let s: String | |
| static func ~= (l: Contains, r: Contains) -> Bool { | |
| return r.s.contains(l.s) | |
| } | |
| init(_ c: String) { |