Ian then gives a demonstration of how fluent interfaces can be created and how discoverable the API really is.
Ian then introduces Closures. Closures are basically a generic name for treating a function as data. It is generally done using a lambda expression. Ian explains how this can be done within DSLs and where it is useful. He also gives a demonstration of it being used. Ian finishes with an introduction to Parse Trees and how all of these features can be used in real world DSLs.
YOU MAY ALSO LIKE:
- Event Driven Collaboration (SkillsCast recorded in May 2019)
- Functional Concurrency in .NET with C# and F# with Riccardo Terrell (Online Course on 7th - 10th December 2021)
- Don Syme: What’s new in F# 5.0 and 6.0? (in London on 17th November 2021)
- Using F# to Structure an Island of Simplicity (SkillsCast recorded in October 2021)
- Lightning Talk: F# as DSL for Complex Domains (SkillsCast recorded in October 2021)
Using Expression Trees for internal DSLs in C# 3.5
Polyglot Coding Architect in London, founder of #ldnug, speaker, tabletop gamer, geek. Tattooed, pierced, and bearded. The 'guv' on @BrighterCommand