Using a “combinator” approach to create internal Domain Specific Languages (DSLs) is something that has been popular in Haskell and the ML family of programming languages for quite some time. Much has been written about it in academic circles, yet this approach to creating DSLs has yet to become popular in main stream industrial programming. Now that F#, a member of the ML family of programing languages, is available out of the box in Visual Studio 2010, this means that these techniques are now much more accessible to programmers working in industry.
This talk will start by addressing the question of what is a combinator and show why combinators are a great way of building internal DSLs. It will then go on to show how this programming technique any be applied to many different problem domains, all of which are very relevant to the modern industrial developer. We’ll also look at some of the existing combinator libraries available for F# such as FParsec and FsCheck.
YOU MAY ALSO LIKE:
- Art and Neural Network with F# - Audience Level: Beginner (SkillsCast recorded in April 2017)
- F# eXchange 2023: In-Person (in London on 7th - 8th March 2023)
- F# eXchange 2023: Conference Livestream (Online Conference on 7th - 8th March 2023)
- Hack & Hang Night (in Chicago on 21st February 2023)
- Haskell Wednesday: Bring Your Project, Get help with your code & socialise (Online Meetup on 23rd February 2023)
- Teaching Haskell...To High Schoolers! (SkillsCast recorded in December 2022)
- Teaching Haskell...To High Schoolers! (SkillsCast recorded in December 2022)
The Combinator Approach to Programming Domain Specific Languages with F#
Robert Pickering
Robert Pickering is a software engineer with an interested in using functional programming, particularly F#, to solve real world problems.