Skip to content

Learning functional typescript concepts and implementations

Notifications You must be signed in to change notification settings

JAWorsfold/functional-ts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Functional Typescript

Definition

Unary = only receive one input &&

Declarative = state what the task or desired outcome is &&

Pure = no side effects

Composition

Composition and Currying

Run file with:

yarn log:curry

Recursion and Tail Recursion

Recursion

Run file with:

yarn log:tail

Option / Some / None

OptionSomeNone

Run file with:

yarn log:option

Either

Either

Run file with:

yarn log:either

Linked Lists

Linked Lists

Run file with:

yarn log:list

ADT and Pattern Matching

Pattern Matching

Run file with:

yarn log:pattern

Magma, Semigroup, Monoid

Magma, Semigroup, Monoid

Run file with:

yarn log:monoid

About

Learning functional typescript concepts and implementations

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published