- 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)
Seems like sort of the "standard" book for type theory. but looks big and maybe math-y
[options="foo,bar"]
is equiv to [%foo%bar]
@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) } | |
} |
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 |
// #[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 { |
function useVerifySignup(reqState: RequestState['state'], token: string): void { | |
const dispatch = useDispatch(); | |
useEffect(() => { | |
// necessary because the API request is not idempotent, you can only verify once | |
// and react strict mode tries to force effects be idempotent for future versions | |
// https://github.com/facebook/react/issues/24502#issuecomment-1118846544 | |
let isStrictModeDevRemount = false; | |
async function verify(): Promise<void> { |
ts-oldwatch: | |
$(CONCURRENTLY) \ | |
-n dash/app,dash/amb,dash/cmp,dash/dtm,dash/key,dash/typ,dash/utl,mark/app,mark/cmp,docs/app,shar/cmp,shar/dtm,shar/twd,strybook \ | |
-c cyan.dim,red.dim,green.dim,blue.dim,gray,magenta.dim,yellow.dim,cyan,red,green,blue,magenta,#f80 \ | |
"pnpm tsc --noEmit --project dash/app --watch --preserveWatchOutput" \ | |
"pnpm tsc --noEmit --project dash/ambient --watch --preserveWatchOutput" \ | |
"pnpm tsc --noEmit --project dash/components --watch --preserveWatchOutput" \ | |
"pnpm tsc --noEmit --project dash/datetime --watch --preserveWatchOutput" \ | |
"pnpm tsc --noEmit --project dash/keys --watch --preserveWatchOutput" \ | |
"pnpm tsc --noEmit --project dash/types --watch --preserveWatchOutput" \ |