O'Reilly logo

Scalable Cloud Ops with Fugue by Josha Stella

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

More Ludwig Programming Fundamentals

You’re likely gaining a good sense of types, records, bindings, lists, and optionals. You can build your own type, define functions, and use optional arguments. Let’s continue with a tour of other essential parts of Ludwig’s vocabulary and syntax.

Sum Types and Resources

Aside from records, Ludwig provides sum types so that you can create custom types to hold information. In fact, many of the types in the Fugue libraries that you use to compose infrastructure are sum types. See The Etymology of Sum Types, for thoughts on their origin.

A sum type, also known as an algebraic data type or a variant type, is a common feature of functional programming languages. This might sound a bit scary, but fortunately ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required