from github
- Types and Programming Languages - Benjamin Pierce
Seems like sort of the "standard" book for type theory. but looks big and maybe math-y
- Dragon book (lots of complaints about it, but would be sort of cool to have read)
[options="foo,bar"]
is equiv to[%foo%bar]
- there are both cell specifiers and column specifiers, cell specifier wins if sets same value w/ col spec
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@dynamicMemberLookup | |
@propertyWrapper | |
enum Indirect<T> { | |
indirect case wrapped(T) | |
var wrappedValue: T { | |
get { switch self { case .wrapped(let x): return x } } | |
set { self = .wrapped(newValue) } | |
} |
- go to disk utility, then choose "View" -> Show all Devices"
- right click the container in the sidebar, and add an APFS volume, named for the OS
- get an installer for the OS you want, from the App store, or from somewhere else...
- launch the installer, and when it asks you to choose the disk, choose the new partition
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Process: SwiftUIHelloWorld [1982] | |
Path: /Users/USER/Desktop/SwiftUIHelloWorld.app/Contents/MacOS/SwiftUIHelloWorld | |
Identifier: com.catalina-compat.SwiftUIHelloWorld | |
Version: 1.0 (1) | |
Code Type: X86-64 (Native) | |
Parent Process: ??? [1] | |
Responsible: SwiftUIHelloWorld [1982] | |
User ID: 501 | |
Date/Time: 2023-08-18 12:09:02.420 -0400 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// #[macro_use] | |
macro_rules! block_struct { | |
($name: ident, $context: ident) => { | |
#[derive(Debug, PartialEq, Eq)] | |
pub struct $name { | |
pub blocks: Vec<Block>, | |
} | |
impl $name { | |
fn new() -> Self { |
NewerOlder