Last active
November 26, 2019 01:15
-
-
Save saleebm/f037525f8c811382e3adc5706e76b2ff to your computer and use it in GitHub Desktop.
typeof Life
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
type Eternal = unknown; | |
type Dust<T extends any[], R> = (...args: T) => R; | |
class Sin extends Error { | |
source: InnerLife; | |
} | |
class Choices implements Sweat { | |
Labor: any[][]; | |
Toil: any[][]; | |
private Implusitivity: RandomSource; | |
private Sorrow: Emotions; | |
addEventListener( | |
type: string, | |
listener: EventListenerOrEventListenerObject, | |
options?: boolean | AddEventListenerOptions | |
): void { | |
bubbles: true; | |
cancelable: false; | |
} | |
dispatchEvent(event: Event): boolean { | |
throw new Error("Watch your heart, from it proceed your thoughts."); | |
} | |
removeEventListener( | |
type: string, | |
callback: EventListenerOrEventListenerObject, | |
options?: boolean | EventListenerOptions | |
): void { | |
throw new Error("They become your actions."); | |
} | |
constructor(public outcome: any[], { details }: { details: string[] }) {} | |
handleEvent(outcome) { | |
outcome.map((consequences: {}) => {}); | |
} | |
} | |
interface Bible { | |
Books: string[][]; | |
MoralLaw: boolean[]; | |
} | |
type Truth = { | |
WordOfGod: Bible; | |
} | |
interface Food extends EventSource { | |
Nourishment: any[]; | |
} | |
interface Sweat extends EventTarget { | |
Labor: any[][]; | |
Toil: any[][]; | |
} | |
interface Emotions extends EventHandlerNonNull { | |
Purpose: GlobalEventHandlers; | |
Usage: (arg0: Choices) => void; | |
} | |
interface Desires extends EventListenerOptions {} | |
type InnerLife = { | |
love: Emotions; | |
longingForGod: Truth; | |
rejoicing: Desires; | |
knowing: OfLife; | |
memory: Human; | |
onEvent?: Choices; | |
}; | |
interface OfLife extends Function { | |
Blood: (arg0: Dust<Food[], Sweat>) => void; | |
// "For what will it profit a man if he gains the whole world, | |
// and loses his own soul? Or what will a man give in exchange | |
// for his soul?" (Mark 8:36). | |
Alive: boolean; | |
InnerLife: Choices[]; | |
} | |
type Human = { | |
meta?: (...Dust: any[]) => void; | |
spirit: ({ breathOfGod }: { breathOfGod: Eternal }) => Promise<Eternal>; | |
// "For the life of the flesh is in the blood: | |
// and I have given it to you upon the altar to make an atonement for your souls: | |
// for it is the blood that maketh an atonement for the soul. Lev. 17:11" | |
soul?: OfLife; | |
}; | |
const Human = function() {}; | |
const blessing = null; | |
/** | |
* probably need to evaluate the conditions of humanity. | |
*/ | |
const Person = new Human(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment