Algebraic data type in PureScript and Show instance

Share this video with your friends

Send Tweet

In this lesson, you’ll learn how PureScripts compiler will enforce pattern matching when we create data constructors with an Algebraic Data Type.

You’ll then learn how to create show functions for these data constructors that we just instantiated.

Hamdan Khan
Hamdan Khan
~ 6 years ago

image is broken where it says unkown data constructor in transcript