Skip to content

Commit

Permalink
Renamed to wend
Browse files Browse the repository at this point in the history
  • Loading branch information
alkozin committed Jul 15, 2024
1 parent b119ec9 commit 835a9ba
Show file tree
Hide file tree
Showing 39 changed files with 279 additions and 180 deletions.
2 changes: 1 addition & 1 deletion App/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<key>CFBundleShortVersionString</key>
<string>1.1.1</string>
<key>CFBundleVersion</key>
<string>787</string>
<string>835</string>
<key>UILaunchStoryboardName</key>
<string></string>
<key>LSApplicationCategoryType</key>
Expand Down
2 changes: 1 addition & 1 deletion App/watchInfo.plist
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<key>CFBundleShortVersionString</key>
<string>1.1.1</string>
<key>CFBundleVersion</key>
<string>787</string>
<string>835</string>
<key>LSApplicationCategoryType</key>
<string>public.app-category.developer-tools</string>
<key>UISupportedInterfaceOrientations~ipad</key>
Expand Down
2 changes: 1 addition & 1 deletion INSPIRATION.TXT
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
- 🏛️ Clean Architecture: A Craftsman's Guide to Software Structure and Design (2017)
Robert C. Martin

- 😜 The Inmates Are Running the Asylum:
- 🎲 The Inmates Are Running the Asylum:
Why High Tech Products Drive Us Crazy and How to Restore the Sanity (2019)
Alan Cooper (Author)

Expand Down
2 changes: 1 addition & 1 deletion Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@
<key>CFBundleShortVersionString</key>
<string>1.1.1</string>
<key>CFBundleVersion</key>
<string>787</string>
<string>835</string>
</dict>
</plist>
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
10 changes: 5 additions & 5 deletions Sources/Wand/Wanded/Wanded.swift → Sources/wanded/Wanded.swift
Original file line number Diff line number Diff line change
Expand Up @@ -48,18 +48,18 @@ extension Wanded {

}

/// Any?: Wanded
extension Optional: Wanded {
///Any?
extension Optional {

@inline(__always)
public
var wand: Wand {
isWanded ?? .to(self)
var _w: Wand {
_is ?? .to(self)
}

@inline(__always)
public
var isWanded: Wand? {
var _is: Wand? {
Wand[self]
}

Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion Sources/Wand/|.swift → Sources/|.swift
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
/// Created by Alex Kozin
/// 2020 El Machine

/// Abstract interface
///||e♟️
prefix operator |
postfix operator |
infix operator | : AdditionPrecedence
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,6 @@
/// Created by Alex Kozin
/// 2020 El Machine

///<#Any#>
@inline(__always)
postfix
public
func |<T>(object: T) -> String {
String(describing: object)
}

///Data
#if canImport(Foundation)
import Foundation.NSData
Expand Down
64 changes: 64 additions & 0 deletions Sources/|tools/Describing/_.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
///
/// Copyright © 2020-2024 El Machine 🤖
/// https://el-machine.com/
///
/// Licensed under the Apache License, Version 2.0 (the "License");
/// you may not use this file except in compliance with the License.
/// You may obtain a copy of the License at
///
/// 1) .LICENSE
/// 2) https://apache.org/licenses/LICENSE-2.0
///
/// Unless required by applicable law or agreed to in writing, software
/// distributed under the License is distributed on an "AS IS" BASIS,
/// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
/// See the License for the specific language governing permissions and
/// limitations under the License.
///
/// Created by Alex Kozin
/// 2020 El Machine

///<#Any#>
@inline(__always)
postfix
public
func |<T>(object: T) -> String {
String(describing: object)
}

//postfix
//func | (value: Int) -> String {
// String(format: "%u", value)
//}
//
//@available(swift, introduced: 19.0, message: "_")
//@inline(__always)
//postfix
//public
//func | (value: Int) -> Character {
// .init(value)
//}
//
//@available(swift, introduced: 19.0, message: "_")
//@inline(__always)
//postfix
//public
//func | (value: Int8) -> Character {
// .init(value)
//}
//
//@available(swift, introduced: 19.0, message: "_")
//@inline(__always)
//postfix
//public
//func | (char: Character) -> Int {
// char.hexDigitValue!
//}
//
//@available(swift, introduced: 19.0, message: "_")
//@inline(__always)
//postfix
//public
//func | (char: Character) -> UInt8 {
// UInt8(char.hexDigitValue!)
//}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
38 changes: 38 additions & 0 deletions Tests/WandTests/cases/_tests.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
///
/// Copyright © 2020-2024 El Machine 🤖
/// https://el-machine.com/
///
/// Licensed under the Apache License, Version 2.0 (the "License");
/// you may not use this file except in compliance with the License.
/// You may obtain a copy of the License at
///
/// 1) .LICENSE
/// 2) https://apache.org/licenses/LICENSE-2.0
///
/// Unless required by applicable law or agreed to in writing, software
/// distributed under the License is distributed on an "AS IS" BASIS,
/// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
/// See the License for the specific language governing permissions and
/// limitations under the License.
///
/// Created by Alex Kozin
/// 2020 El Machine

import Foundation

import Wand
import XCTest

class Wand_Tests: XCTestCase {

func test|() throws {
let char: Character = 0x7C|
XCTAssertEqual("|", char)
}

func test_() throws {
let char: Character = 0x5F|
XCTAssertEqual("_", char)
}

}
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import XCTest

import Wand

/// Test Unit
/// Test unit
//struct Unit {
//
//}
Expand Down

This file was deleted.

Loading

0 comments on commit 835a9ba

Please sign in to comment.