This project is read-only.

Functional Typescript

Topics: General, Language Specification
Dec 18, 2012 at 11:21 PM

We have C# and we have more functional language - F# in .Net.

Why not to have functional version of Typescript?  We already have in TypeScript type Inference and "F# looking" type declarations. So just remove curly brackets, introduce indentation instead and other functional features like pipe operator |> . 

If it is too extreme, maybe just adding some functional capabilities also would be enough.

Sorry for offtopic. 




Dec 19, 2012 at 12:48 AM

sounds like a great idea for a completely new project. may I suggest "fscript" for a name.

Dec 19, 2012 at 1:18 PM

Functional languages has nothing to with curly braces or significant WS. that is just syntax..

Are you looking for a version of TypeScript with more functional features, or with a different syntax?

If you want sigificant WS, coffiescript is that way --> ;)