Egghead Instructor Justin Woo

Justin Woo

I like to write Purescript and Javascript, spending a lot of my free time doing demos/talks/posts and writing small programs to help myself.



Support Justin's Free Lessons
become a member today

Browse Justin Woo's lessons.

showing 3 lessons...

Model problems using Algebraic Data Types (ADTs)

Use Sets with Ord Typeclass instances

Automatically de/serialize JSON with Purescript-Foreign-Generics

purescript tutorial about Model problems using Algebraic Data Types (ADTs)

Model problems using Algebraic Data Types (ADTs)

7:13 purescript

Algebraic Data Types are a fundamental part of modeling data in Purescript. In this lesson, we'll look at some common methods of defining and using them.

purescript tutorial about Use Sets with Ord Typeclass instances

Use Sets with Ord Typeclass instances

5:30 purescript

In Purescript, we can use set data structures using Purescript-Set, but many of its functions come with an Ord typeclass constraint. In this lesson, we'll learn how to understand the typeclass constraints on a function and how to create instances of typeclasses.

purescript tutorial about Automatically de/serialize JSON with Purescript-Foreign-Generics

Automatically de/serialize JSON with Purescript-Foreign-Generics

4:09 purescript

Deserializing and serializing JSON manually is a boring, error-prone way to be able to handle JSON. This example shows how you can use Generics in Purescript to automatically derive de/serializers so that once you've written your type definition, you only need a few lines of code to handle JSON.

HEY, QUICK QUESTION!
Joel's Head
Why are we asking?