Skip to content

Instantly share code, notes, and snippets.

View TylorS's full-sized avatar
🍕
OSS on my mind

Tylor Steinberger TylorS

🍕
OSS on my mind
View GitHub Profile
module Cycle where
import Almost (Stream, Promise, observe, Subject, holdSubject, next, complete, thenp)
import Data.StrMap (fromFoldable, StrMap, keys)
import Data.StrMap.Unsafe (unsafeIndex)
import Data.Tuple (Tuple(..))
import Prelude (map)
type Drivers a b = StrMap (Subject a -> b)
type Sinks a = StrMap (Stream a)
@TylorS
TylorS / esnextbin.md
Last active March 6, 2017 01:06
esnextbin sketch
@TylorS
TylorS / perfect_functional_language.md
Last active February 26, 2017 23:01
The perfect functional web application language, according to me :)

Language Specification Wishes

The desire to create a new language has come from my own experiences in programming in a framework I’ve built, Motorcycle.js and the language TypeScript. Motorcycle is very similar to the more popular project Cycle.js. In my current place of employment we are building a rather large and complex application and we have felt the language barriers of ECMAScript and TypeScript much more than we have the programming patterns we have come to use.

This is, currently, a very informal and non-exhaustive list of things I wish a single programming language would have. This language would likely to be very opinionated, and geared towards functional and reactive web applications. In many ways, but not all, I’d like to see a language designed around the programming patterns of Cycle and Motorcycle.

I hope to develop this language in the future, unless someone else beats me to it! Following this is a

@TylorS
TylorS / esnextbin.md
Last active February 24, 2017 22:20
esnextbin sketch
@TylorS
TylorS / esnextbin.md
Last active February 21, 2017 20:26
esnextbin sketch
@TylorS
TylorS / esnextbin.md
Last active February 14, 2017 11:56
esnextbin sketch
@TylorS
TylorS / esnextbin.md
Last active February 12, 2017 01:42
esnextbin sketch
@TylorS
TylorS / esnextbin.md
Last active January 30, 2017 20:15
esnextbin sketch
@TylorS
TylorS / esnextbin.md
Last active January 30, 2017 19:16
esnextbin sketch
@TylorS
TylorS / esnextbin.md
Created January 30, 2017 19:14
esnextbin sketch