Created
April 28, 2020 05:56
-
-
Save fvilante/ee18b9983be5980ee3b9d515602d4936 to your computer and use it in GitHub Desktop.
AST Exploration
This file contains hidden or 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
// The Essence of A Turing Machine - | |
// AST explorer studies | |
import { hello } from './juca' | |
hello() | |
const arr = [2,hello,3] | |
type Reader<A> = { | |
readonly map: (_:A) => Reader<A> | |
readonly tap: (_: A) => Reader<A> | |
} | |
const f = <D>(_:D) => _ | |
declare const Reader: <A>() => Reader<A> | |
const a = Reader<number>() | |
.map(2) | |
.tap(3) | |
f(2) | |
const b = 2 === 2 ? true : false | |
let c = 0 | |
if(2===2) { c = 1 } | |
while(1===1 || 2===2) {} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment