Skip to content Skip to sidebar Skip to footer
Showing posts with the label Pattern Matching

How To Represent Algebraic Data Types And Pattern Matching In Javascript

In functional language like OCaml, we have pattern matching. For example, I want to log users' … Read more How To Represent Algebraic Data Types And Pattern Matching In Javascript

Regex That Splits Long Text In Separate Sentences With Match()

This is a textarea where the user writes some text. I've written an example in it. First senten… Read more Regex That Splits Long Text In Separate Sentences With Match()