SlideShare a Scribd company logo
1 of 102
Download to read offline
Pipeline Oriented
Programming
(DotNext 2021)
@ScottWlaschin
fsharpforfunandprofit.com/pipeline
Code examples will be in C# and F#
What is
“Pipeline-oriented Programming"?
Part I
Object-oriented
Arrows go in all directions
Pipeline-oriented
All arrows go left to right
A pipeline-oriented web backend
One directional flow,
even with branching
What are the benefits of
a pipeline-oriented approach?
Benefits
• Pipelines encourage composability
• Pipelines follow good design principles
• Pipelines are easier to maintain
• Pipelines make testing easier
• Pipelines fit well with modern architectures
– E.g. Onion/Clean/Hexagonal, etc
Benefit 1:
Pipelines encourage composability
Composable == “Like Lego”
Connect two pieces together and
get another "piece" that can still
be connected
You don't need to create a
special adapter to make
connections.
Component Component
Component
Pipelines composition
Pipelines encourage you to design so that:
• Any pieces can be connected
• You don’t need special adapters
If you do this, you get nice composable components
Bigger Component
Sub-
Component
Sub-
Component
Sub-
Component
Sub-components composed
into a new bigger unit
Benefit 2:
Pipelines follow
good design principles
Many design patterns work naturally
with a pipeline-oriented approach
Single responsibility principle
Component
Can't get more single responsibility than this!
Open/Closed principle
You could be able to add new functionality (“open for extension”)
without changing existing code (“closed for modification”)
New
Behavior
Component Component Component
Extension
Not changed
Strategy Pattern
Parameterized
Component
Component Component Component
Decorator Pattern
Decorator
Decorator
Original Component
Decorated Component
Decorator Pattern
Decorator
Decorator
"decorated" component works just like the original one
Benefit 3:
Pipelines are easier to maintain
This is easier to maintain
This is harder to maintain
Object-oriented: Real-world dependency graph
Multiple circular dependencies 
Arrows go in all directions
Pipeline-oriented: Real-world dependency graph
All arrows go left to right 
Same functionality
as the OO example
More benefits:
• Pipelines make testing easier
• Pipelines fit well with modern architectures
Pipeline-oriented Programming
in practice
Part 2
var count = 0;
foreach (var i in list) {
var j = i + 2;
if (j > 3)
{
count++;
}
}
return count;
Here is a
traditional
for- loop in C#
return list
.Select(x => x + 2)
.Where(x => x > 3)
.Count();
Here is the same code
using LINQ in C#
return list
.Select(x => x + 2)
.Where(x => x > 3)
.Count();
Benefit: Composability
The LINQ components have been designed
to fit together in many different ways
You could write your code this way too!
return list
.Select(x => x + 2)
.Where(x => x > 3)
.Count();
Benefit: Single responsibility
Each LINQ component does one thing only.
Easier to understand and test
return list
.Select(x => x + 2)
.Where(x => x > 3)
.Where(x => x < 10)
.Count();
Benefit: open for extension
It is easy to add new steps
in the pipeline without
touching anything else
list
|> List.map (fun x -> x + 2)
|> List.filter (fun x -> x > 3)
|> List.length
Here is the same code
using F#
list
|> List.map (fun x -> x + 2)
|> List.filter (fun x -> x > 3)
|> List.length
Here is the same code
using F#
Immutability and pipelines
If you have immutable data
you will probably need a pipeline
// Person is immutable
var p = new Person("Scott","s@example.com",21);
var p2 = p.WithName("Tom");
var p3 = p2.WithEmail("tom@example.com");
var p4 = p3.WithAge(42);
When each call returns
a new object, it gets
repetitive
// Person is immutable
var p = new Person("Scott","s@example.com",21);
p
.WithName("Tom")
.WithEmail("tom@example.com")
.WithAge(42); Pipelines make it
look nicer
Pipes vs. Extension methods
Pipes are more general
int Add1(int input) { return input + 1; }
int Square(int input) { return input * input; }
int Double(int input) { return input * 2; }
int Add1(int input) { return input + 1; }
int Square(int input) { return input * input; }
int Double(int input) { return input * 2; }
int NestedCalls()
{
return Double(Square(Add1(5)));
}
How can I make
this look nicer?
How about a
pipeline?
return 5
.Add1
.Square
.Double;
But this doesn't work,
because these are not
extension methods.
public static TOut Pipe<TIn, TOut>
(this TIn input, Func<TIn, TOut> fn)
{
return fn(input);
} Introducing "Pipe"
public static TOut Pipe<TIn, TOut>
(this TIn input, Func<TIn, TOut> fn)
{
return fn(input);
}
public static TOut Pipe<TIn, TOut>
(this TIn input, Func<TIn, TOut> fn)
{
return fn(input);
}
return 5
.Pipe(Add1)
.Pipe(Square)
.Pipe(Double);
And now we can create
a pipeline out of any*
existing functions
int Add(int i, int j) { return i + j; }
int Times(int i, int j) { return i * j; }
A two parameter
function
public static TOut Pipe<TIn, TParam, TOut>
(this TIn input, Func<TIn, TParam, TOut> fn, TParam p1)
{
return fn(input, p1);
}
int Add(int i, int j) { return i + j; }
int Times(int i, int j) { return i * j; }
public int PipelineWithParams()
{
return 5
.Pipe(Add, 1)
.Pipe(Times, 2);
}
We can now create a
pipeline out of any
existing functions
with parameters
public int PipelineWithParams()
{
return 5
.Pipe(Add, 1)
.Pipe(Times, 2);
}
Why bother?
Because now we get all the
benefits of a pipeline
public int PipelineWithParams()
{
return 5
.Pipe(Add, 1)
.Pipe(Times, 2)
.Pipe(Add, 42)
.Pipe(Square);
}
Why bother?
Because now we get all the
benefits of a pipeline,
such as adding things to
the pipeline easily
(diffs look nicer too!)
let add x y = x + y
let times x y = x * y
5
|> add 1
|> times 2
And here's what the same
code looks like in F#
F# uses pipelines
everywhere!
Pipes vs. Extension methods,
Part 2
Extension methods cannot be parameters
int StrategyPattern(... list, ... injectedFn) {
return list
.Select(x => x + 2)
.injectedFn
.Where(x => x > 3)
.Count();
} We cant use a function
parameter as an extension
method

My "strategy"
int StrategyPattern(... list, ... injectedFn) {
return list
.Select(x => x + 2)
.Pipe(injectedFn)
.Where(x => x > 3)
.Count();
} But we can use a function
parameter in a pipeline!

Pipelines in practice
Part 3:
Three demonstrations
• Pipeline-oriented Roman Numerals
• Pipeline-oriented FizzBuzz
• Pipeline-oriented web API
Roman Numerals
To Roman Numerals
Task: convert an integer to roman numerals
• 5 => "V"
• 12 => "XII"
• 107 => "CVII"
To Roman Numerals
To Roman Numerals
• Use the "tally" approach
– Start with N copies of "I"
– Replace five "I"s with a "V"
– Replace two "V"s with a "X"
– Replace five "X"s with a "L"
– Replace two "L"s with a "C"
– etc
To Roman Numerals
number
etc
Replicate "I"
Replace_IIIII_V
Replace_VV_X
Replace_XXXXX_L
string ToRomanNumerals(int n)
{
return new String('I', n)
.Replace("IIIII", "V")
.Replace("VV", "X")
.Replace("XXXXX", "L")
.Replace("LL", "C");
}
C# example
string ToRomanNumerals(int n)
{
return new String('I', n)
.Replace("IIIII", "V")
.Replace("VV", "X")
.Replace("XXXXX", "L")
.Replace("LL", "C");
}
C# example
.Replace("LL", "C")
.Replace("VIIII", "IX")
.Replace("IIII", "IV")
.Replace("LXXXX", "XC")
.Replace("XXXX", "XL");
}
Extend functionality
without touching
existing code
let toRomanNumerals n =
String.replicate n "I"
|> replace "IIIII" "V"
|> replace "VV" "X"
|> replace "XXXXX" "L"
|> replace "LL" "C"
// special cases
|> replace "VIIII" "IX"
|> replace "IIII" "IV"
|> replace "LXXXX" "XC"
|> replace "XXXX" "XL"
F# example
FizzBuzz
FizzBuzz definition
• Write a program that prints the numbers
from 1 to N
• But:
– For multiples of three print "Fizz" instead
– For multiples of five print "Buzz" instead
– For multiples of both three and five print
"FizzBuzz" instead.
for (var i = 1; i <= 30; i++)
{
if (i % 15 == 0)
Console.Write("FizzBuzz,");
else if (i % 3 == 0)
Console.Write("Fizz,");
else if (i % 5 == 0)
Console.Write("Buzz,");
else
Console.Write($"{i},");
}
C# example
for (var i = 1; i <= 30; i++)
{
if (i % 15 == 0)
Console.Write("FizzBuzz,");
else if (i % 3 == 0)
Console.Write("Fizz,");
else if (i % 5 == 0)
Console.Write("Buzz,");
else
Console.Write($"{i},");
}
C# example
Pipeline implementation
number Handle 15 case
Pipeline implementation
Handle 3 case
number Handle 15 case
Pipeline implementation
Handle 3 case
Handle 5 case
number Handle 15 case
Pipeline implementation
Handle 3 case
Handle 5 case
number
Answer
Handle 15 case
Final step
number Handle case
Processed
(e.g. "Fizz", "Buzz")
Unprocessed
(e.g. 2, 7, 13)
record FizzBuzzData(string Output, int Number);
record FizzBuzzData(string Output, int Number);
static FizzBuzzData Handle(
this FizzBuzzData data,
int divisor, // e.g. 3, 5, etc
string output) // e.g. "Fizz", "Buzz", etc
{
if (data.Output != "")
return data; // already processed
if (data.Number % divisor != 0)
return data; // not applicable
return new FizzBuzzData(output, data.Number);
}
record FizzBuzzData(string Output, int Number);
static FizzBuzzData Handle(
this FizzBuzzData data,
int divisor, // e.g. 3, 5, etc
string output) // e.g. "Fizz", "Buzz", etc
{
if (data.Output != "")
return data; // already processed
if (data.Number % divisor != 0)
return data; // not applicable
return new FizzBuzzData(output, data.Number);
}
Extension method
static string FizzBuzzPipeline(int i)
{
return
new FizzBuzzData("", i)
.Handle(15, "FizzBuzz")
.Handle(3, "Fizz")
.Handle(5, "Buzz")
.FinalStep();
}
static void FizzBuzz()
{
var words = Enumerable.Range(1, 30)
.Select(FizzBuzzPipeline);
Console.WriteLine(string.Join(",", words));
}
Demo:
FizzBuzz in F#
Extensions, Decorations and
Parallelization
A pipeline-oriented web API
HttpContext Web Component
Not Handled
Handled
(async) HttpContext
null
HttpContext
GET
Define a component
matches verb
doesn't match verb
HttpContext
route "/hello"
Define a component
matches route
doesn't match route
HttpContext
setStatusCode 200
Define a component
Always succeeds
HttpContext
GET route "/hello"
>=>
A special pipe for web
components
setStatusCode 200
>=>
Are you wondering how do we compose these?
Easy!
choose [
]
Picks first component
that succeeds
Define a new component
choose [
GET >=> route "/hello" >=> OK "Hello"
GET >=> route "/goodbye" >=> OK "Goodbye"
]
Pick first path
that succeeds
choose [
GET >=> route "/hello" >=> OK "Hello"
GET >=> route "/goodbye" >=> OK "Goodbye"
POST >=> route "/bad" >=> BAD_REQUEST
]
All the benefits of pipeline-oriented programming
choose [
GET >=> route "/hello" >=> OK "Hello"
GET >=> route "/goodbye" >=> OK "Goodbye"
POST
>=> route "/user"
>=> mustBeLoggedIn UNAUTHORIZED
>=> requiresRole "Admin"
// etc
]
All the benefits of pipeline-oriented programming
choose [
GET >=> route "/hello" >=> OK "Hello"
GET >=> route "/goodbye" >=> OK "Goodbye"
POST
>=> route "/user"
>=> mustBeLoggedIn UNAUTHORIZED
>=> requiresRole "Admin"
// etc
]
All the benefits of pipeline-oriented programming
Demo:
A pipeline oriented web app
For more on the web framework I'm using,
search the internet for "F# Giraffe"
Testing and architecture
Part 4
Benefit 4:
Pipelines encourage
good architecture
The "onion" architecture
Core domain is pure, and all I/O is at the edges
Core
domain
Domain Logic
I/O I/O
The "onion" architecture

Core domain is pure, and all I/O is at the edges
In a well-designed pipeline,
all I/O is at the edges.
Easy to enforce this with a pipeline-oriented approach
Database Database
Load data
Process it
Save it
I/O in the middle of a pipeline
Keep them separate
Benefit 5:
Easier to test
Deterministic
Non-deterministic Non-deterministic
This makes testing easy!
In Conclusion
Why bother?
• Reusable components
• Understandable – data flows in one direction
• Extendable – add new parts without touching old
code
• Testable – parts can be tested in isolation
• A different way of thinking –
it's good for your brain to learn new things!
Databases
Object-oriented
programmng
Pipeline-oriented
programming
Domain-driven
design
Does pipeline-oriented programming
work for every situation? No!
But it should be part of your toolkit
Pipeline Oriented Programming
– Slides and video will be posted at
• fsharpforfunandprofit.com/pipeline
Related talks
– "The Power of Composition"
• fsharpforfunandprofit.com/composition
– “Railway Oriented Programming"
• fsharpforfunandprofit.com/rop
Thanks!
Twitter: @ScottWlaschin

More Related Content

What's hot

Functional Design Patterns (DevTernity 2018)
Functional Design Patterns (DevTernity 2018)Functional Design Patterns (DevTernity 2018)
Functional Design Patterns (DevTernity 2018)Scott Wlaschin
 
The lazy programmer's guide to writing thousands of tests
The lazy programmer's guide to writing thousands of testsThe lazy programmer's guide to writing thousands of tests
The lazy programmer's guide to writing thousands of testsScott Wlaschin
 
The Functional Programming Toolkit (NDC Oslo 2019)
The Functional Programming Toolkit (NDC Oslo 2019)The Functional Programming Toolkit (NDC Oslo 2019)
The Functional Programming Toolkit (NDC Oslo 2019)Scott Wlaschin
 
Functional Programming Patterns (BuildStuff '14)
Functional Programming Patterns (BuildStuff '14)Functional Programming Patterns (BuildStuff '14)
Functional Programming Patterns (BuildStuff '14)Scott Wlaschin
 
Enterprise Tic-Tac-Toe
Enterprise Tic-Tac-ToeEnterprise Tic-Tac-Toe
Enterprise Tic-Tac-ToeScott Wlaschin
 
Reinventing the Transaction Script (NDC London 2020)
Reinventing the Transaction Script (NDC London 2020)Reinventing the Transaction Script (NDC London 2020)
Reinventing the Transaction Script (NDC London 2020)Scott Wlaschin
 
Clean Pragmatic Architecture - Avoiding a Monolith
Clean Pragmatic Architecture - Avoiding a MonolithClean Pragmatic Architecture - Avoiding a Monolith
Clean Pragmatic Architecture - Avoiding a MonolithVictor Rentea
 
Map(), flatmap() and reduce() are your new best friends: simpler collections,...
Map(), flatmap() and reduce() are your new best friends: simpler collections,...Map(), flatmap() and reduce() are your new best friends: simpler collections,...
Map(), flatmap() and reduce() are your new best friends: simpler collections,...Chris Richardson
 
The Power Of Composition (DotNext 2019)
The Power Of Composition (DotNext 2019)The Power Of Composition (DotNext 2019)
The Power Of Composition (DotNext 2019)Scott Wlaschin
 
Dr Frankenfunctor and the Monadster
Dr Frankenfunctor and the MonadsterDr Frankenfunctor and the Monadster
Dr Frankenfunctor and the MonadsterScott Wlaschin
 
The Functional Programming Triad of Map, Filter and Fold
The Functional Programming Triad of Map, Filter and FoldThe Functional Programming Triad of Map, Filter and Fold
The Functional Programming Triad of Map, Filter and FoldPhilip Schwarz
 
Monad Laws Must be Checked
Monad Laws Must be CheckedMonad Laws Must be Checked
Monad Laws Must be CheckedPhilip Schwarz
 
If You Think You Can Stay Away from Functional Programming, You Are Wrong
If You Think You Can Stay Away from Functional Programming, You Are WrongIf You Think You Can Stay Away from Functional Programming, You Are Wrong
If You Think You Can Stay Away from Functional Programming, You Are WrongMario Fusco
 
Functional Programming in JavaScript by Luis Atencio
Functional Programming in JavaScript by Luis AtencioFunctional Programming in JavaScript by Luis Atencio
Functional Programming in JavaScript by Luis AtencioLuis Atencio
 
Sum and Product Types - The Fruit Salad & Fruit Snack Example - From F# to Ha...
Sum and Product Types -The Fruit Salad & Fruit Snack Example - From F# to Ha...Sum and Product Types -The Fruit Salad & Fruit Snack Example - From F# to Ha...
Sum and Product Types - The Fruit Salad & Fruit Snack Example - From F# to Ha...Philip Schwarz
 
Clean pragmatic architecture @ devflix
Clean pragmatic architecture @ devflixClean pragmatic architecture @ devflix
Clean pragmatic architecture @ devflixVictor Rentea
 

What's hot (20)

Functional Design Patterns (DevTernity 2018)
Functional Design Patterns (DevTernity 2018)Functional Design Patterns (DevTernity 2018)
Functional Design Patterns (DevTernity 2018)
 
The lazy programmer's guide to writing thousands of tests
The lazy programmer's guide to writing thousands of testsThe lazy programmer's guide to writing thousands of tests
The lazy programmer's guide to writing thousands of tests
 
The Functional Programming Toolkit (NDC Oslo 2019)
The Functional Programming Toolkit (NDC Oslo 2019)The Functional Programming Toolkit (NDC Oslo 2019)
The Functional Programming Toolkit (NDC Oslo 2019)
 
Functional Programming Patterns (BuildStuff '14)
Functional Programming Patterns (BuildStuff '14)Functional Programming Patterns (BuildStuff '14)
Functional Programming Patterns (BuildStuff '14)
 
Enterprise Tic-Tac-Toe
Enterprise Tic-Tac-ToeEnterprise Tic-Tac-Toe
Enterprise Tic-Tac-Toe
 
Reinventing the Transaction Script (NDC London 2020)
Reinventing the Transaction Script (NDC London 2020)Reinventing the Transaction Script (NDC London 2020)
Reinventing the Transaction Script (NDC London 2020)
 
Clean Pragmatic Architecture - Avoiding a Monolith
Clean Pragmatic Architecture - Avoiding a MonolithClean Pragmatic Architecture - Avoiding a Monolith
Clean Pragmatic Architecture - Avoiding a Monolith
 
Map(), flatmap() and reduce() are your new best friends: simpler collections,...
Map(), flatmap() and reduce() are your new best friends: simpler collections,...Map(), flatmap() and reduce() are your new best friends: simpler collections,...
Map(), flatmap() and reduce() are your new best friends: simpler collections,...
 
The Power Of Composition (DotNext 2019)
The Power Of Composition (DotNext 2019)The Power Of Composition (DotNext 2019)
The Power Of Composition (DotNext 2019)
 
Dr Frankenfunctor and the Monadster
Dr Frankenfunctor and the MonadsterDr Frankenfunctor and the Monadster
Dr Frankenfunctor and the Monadster
 
Php functions
Php functionsPhp functions
Php functions
 
The Functional Programming Triad of Map, Filter and Fold
The Functional Programming Triad of Map, Filter and FoldThe Functional Programming Triad of Map, Filter and Fold
The Functional Programming Triad of Map, Filter and Fold
 
Clean coding-practices
Clean coding-practicesClean coding-practices
Clean coding-practices
 
Monad Laws Must be Checked
Monad Laws Must be CheckedMonad Laws Must be Checked
Monad Laws Must be Checked
 
If You Think You Can Stay Away from Functional Programming, You Are Wrong
If You Think You Can Stay Away from Functional Programming, You Are WrongIf You Think You Can Stay Away from Functional Programming, You Are Wrong
If You Think You Can Stay Away from Functional Programming, You Are Wrong
 
Functional Programming in JavaScript by Luis Atencio
Functional Programming in JavaScript by Luis AtencioFunctional Programming in JavaScript by Luis Atencio
Functional Programming in JavaScript by Luis Atencio
 
Sum and Product Types - The Fruit Salad & Fruit Snack Example - From F# to Ha...
Sum and Product Types -The Fruit Salad & Fruit Snack Example - From F# to Ha...Sum and Product Types -The Fruit Salad & Fruit Snack Example - From F# to Ha...
Sum and Product Types - The Fruit Salad & Fruit Snack Example - From F# to Ha...
 
Clean pragmatic architecture @ devflix
Clean pragmatic architecture @ devflixClean pragmatic architecture @ devflix
Clean pragmatic architecture @ devflix
 
Clean Code
Clean CodeClean Code
Clean Code
 
Python basics
Python basicsPython basics
Python basics
 

Similar to Pipeline oriented programming

Similar to Pipeline oriented programming (20)

C++ Functions.ppt
C++ Functions.pptC++ Functions.ppt
C++ Functions.ppt
 
Consider this code using the ArrayBag of Section 5.2 and the Locat.docx
Consider this code using the ArrayBag of Section 5.2 and the Locat.docxConsider this code using the ArrayBag of Section 5.2 and the Locat.docx
Consider this code using the ArrayBag of Section 5.2 and the Locat.docx
 
C++ Language
C++ LanguageC++ Language
C++ Language
 
Pointer
PointerPointer
Pointer
 
Object oriented programming system with C++
Object oriented programming system with C++Object oriented programming system with C++
Object oriented programming system with C++
 
16717 functions in C++
16717 functions in C++16717 functions in C++
16717 functions in C++
 
Lecture2.ppt
Lecture2.pptLecture2.ppt
Lecture2.ppt
 
Cs2312 OOPS LAB MANUAL
Cs2312 OOPS LAB MANUALCs2312 OOPS LAB MANUAL
Cs2312 OOPS LAB MANUAL
 
Intro to c++
Intro to c++Intro to c++
Intro to c++
 
Dd3.15 thru-3.21-advanced-functions
Dd3.15 thru-3.21-advanced-functionsDd3.15 thru-3.21-advanced-functions
Dd3.15 thru-3.21-advanced-functions
 
C# Loops
C# LoopsC# Loops
C# Loops
 
Functional programming in C++
Functional programming in C++Functional programming in C++
Functional programming in C++
 
Ch03
Ch03Ch03
Ch03
 
Net practicals lab mannual
Net practicals lab mannualNet practicals lab mannual
Net practicals lab mannual
 
Code optimization
Code optimization Code optimization
Code optimization
 
Code optimization
Code optimization Code optimization
Code optimization
 
C++11 & C++14
C++11 & C++14C++11 & C++14
C++11 & C++14
 
python lab programs.pdf
python lab programs.pdfpython lab programs.pdf
python lab programs.pdf
 
CPP Homework Help
CPP Homework HelpCPP Homework Help
CPP Homework Help
 
C++ Function
C++ FunctionC++ Function
C++ Function
 

More from Scott Wlaschin

Domain Modeling Made Functional (DevTernity 2022)
Domain Modeling Made Functional (DevTernity 2022)Domain Modeling Made Functional (DevTernity 2022)
Domain Modeling Made Functional (DevTernity 2022)Scott Wlaschin
 
Building confidence in concurrent code with a model checker: TLA+ for program...
Building confidence in concurrent code with a model checker: TLA+ for program...Building confidence in concurrent code with a model checker: TLA+ for program...
Building confidence in concurrent code with a model checker: TLA+ for program...Scott Wlaschin
 
Four Languages From Forty Years Ago (NewCrafts 2019)
Four Languages From Forty Years Ago (NewCrafts 2019)Four Languages From Forty Years Ago (NewCrafts 2019)
Four Languages From Forty Years Ago (NewCrafts 2019)Scott Wlaschin
 
Four Languages From Forty Years Ago
Four Languages From Forty Years AgoFour Languages From Forty Years Ago
Four Languages From Forty Years AgoScott Wlaschin
 
Designing with capabilities (DDD-EU 2017)
Designing with capabilities (DDD-EU 2017)Designing with capabilities (DDD-EU 2017)
Designing with capabilities (DDD-EU 2017)Scott Wlaschin
 
Thirteen ways of looking at a turtle
Thirteen ways of looking at a turtleThirteen ways of looking at a turtle
Thirteen ways of looking at a turtleScott Wlaschin
 
Designing with Capabilities
Designing with CapabilitiesDesigning with Capabilities
Designing with CapabilitiesScott Wlaschin
 
An introduction to property based testing
An introduction to property based testingAn introduction to property based testing
An introduction to property based testingScott Wlaschin
 
Domain Driven Design with the F# type System -- F#unctional Londoners 2014
Domain Driven Design with the F# type System -- F#unctional Londoners 2014Domain Driven Design with the F# type System -- F#unctional Londoners 2014
Domain Driven Design with the F# type System -- F#unctional Londoners 2014Scott Wlaschin
 

More from Scott Wlaschin (13)

Domain Modeling Made Functional (DevTernity 2022)
Domain Modeling Made Functional (DevTernity 2022)Domain Modeling Made Functional (DevTernity 2022)
Domain Modeling Made Functional (DevTernity 2022)
 
Building confidence in concurrent code with a model checker: TLA+ for program...
Building confidence in concurrent code with a model checker: TLA+ for program...Building confidence in concurrent code with a model checker: TLA+ for program...
Building confidence in concurrent code with a model checker: TLA+ for program...
 
Four Languages From Forty Years Ago (NewCrafts 2019)
Four Languages From Forty Years Ago (NewCrafts 2019)Four Languages From Forty Years Ago (NewCrafts 2019)
Four Languages From Forty Years Ago (NewCrafts 2019)
 
Four Languages From Forty Years Ago
Four Languages From Forty Years AgoFour Languages From Forty Years Ago
Four Languages From Forty Years Ago
 
F# for C# Programmers
F# for C# ProgrammersF# for C# Programmers
F# for C# Programmers
 
Designing with capabilities (DDD-EU 2017)
Designing with capabilities (DDD-EU 2017)Designing with capabilities (DDD-EU 2017)
Designing with capabilities (DDD-EU 2017)
 
Thirteen ways of looking at a turtle
Thirteen ways of looking at a turtleThirteen ways of looking at a turtle
Thirteen ways of looking at a turtle
 
Designing with Capabilities
Designing with CapabilitiesDesigning with Capabilities
Designing with Capabilities
 
An introduction to property based testing
An introduction to property based testingAn introduction to property based testing
An introduction to property based testing
 
Swift vs. Language X
Swift vs. Language XSwift vs. Language X
Swift vs. Language X
 
Domain Driven Design with the F# type System -- F#unctional Londoners 2014
Domain Driven Design with the F# type System -- F#unctional Londoners 2014Domain Driven Design with the F# type System -- F#unctional Londoners 2014
Domain Driven Design with the F# type System -- F#unctional Londoners 2014
 
Doge-driven design
Doge-driven designDoge-driven design
Doge-driven design
 
The Theory of Chains
The Theory of ChainsThe Theory of Chains
The Theory of Chains
 

Recently uploaded

HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comFatema Valibhai
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Steffen Staab
 
How to Choose the Right Laravel Development Partner in New York City_compress...
How to Choose the Right Laravel Development Partner in New York City_compress...How to Choose the Right Laravel Development Partner in New York City_compress...
How to Choose the Right Laravel Development Partner in New York City_compress...software pro Development
 
8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech studentsHimanshiGarg82
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsJhone kinadey
 
AI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplateAI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplatePresentation.STUDIO
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension AidPhilip Schwarz
 
Diamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionDiamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionSolGuruz
 
Define the academic and professional writing..pdf
Define the academic and professional writing..pdfDefine the academic and professional writing..pdf
Define the academic and professional writing..pdfPearlKirahMaeRagusta1
 
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) SolutionIntroducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) SolutionOnePlan Solutions
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️Delhi Call girls
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdfWave PLM
 
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdfintroduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdfVishalKumarJha10
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...Health
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfkalichargn70th171
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsArshad QA
 
10 Trends Likely to Shape Enterprise Technology in 2024
10 Trends Likely to Shape Enterprise Technology in 202410 Trends Likely to Shape Enterprise Technology in 2024
10 Trends Likely to Shape Enterprise Technology in 2024Mind IT Systems
 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...harshavardhanraghave
 

Recently uploaded (20)

HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.com
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
 
How to Choose the Right Laravel Development Partner in New York City_compress...
How to Choose the Right Laravel Development Partner in New York City_compress...How to Choose the Right Laravel Development Partner in New York City_compress...
How to Choose the Right Laravel Development Partner in New York City_compress...
 
8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial Goals
 
AI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplateAI & Machine Learning Presentation Template
AI & Machine Learning Presentation Template
 
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS LiveVip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
 
Diamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionDiamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with Precision
 
Define the academic and professional writing..pdf
Define the academic and professional writing..pdfDefine the academic and professional writing..pdf
Define the academic and professional writing..pdf
 
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) SolutionIntroducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf
 
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdfintroduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview Questions
 
10 Trends Likely to Shape Enterprise Technology in 2024
10 Trends Likely to Shape Enterprise Technology in 202410 Trends Likely to Shape Enterprise Technology in 2024
10 Trends Likely to Shape Enterprise Technology in 2024
 
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
 

Pipeline oriented programming