How to handle optional fields in PureScript

Published: 14 July 2023
on channel: Impure Pics
470
29

Hate watching videos? Check out the complementary article, which covers the same content: https://dev.to/zelenya/how-to-handle-...

This tutorial shows how to handle optional fields using the undefined-is-not-a-problem library.

💡 Useful links:

#fp #purescript #react

Subscribe to Impure Pics: https://bit.ly/impure-youtube

More Impure Pics
🐣   / impurepics  
📦 http://impurepics.com
👕 http://merch.impurepics.com

Functional Alphabet book
📗 Softcover: https://bit.ly/fp-abc-soft-cover
📘 Hardcover: https://bit.ly/fp-abc-hard-cover

Watch more Impure Pics
   • Debunking Haskell Myth: “Tooling Issue”  

About Impure Pics
FP Advocat. Distilling functional programming for the good of all

Get in touch: https://zelenya.com

0:00 Why?
0:45 Optional values in PureScript
1:41 Undefined is not a problem
1:55 (Skip unless you’re following at home)
2:42 Zero cost coercion
3:19 Boilerplate coercion
4:32 How it works
5:05 [Bonus] Additional type-safety
6:08 Footer


On this page of the site you can watch the video online How to handle optional fields in PureScript with a duration of hours minute second in good quality, which was uploaded by the user Impure Pics 14 July 2023, share the link with friends and acquaintances, this video has already been watched 470 times on youtube and it was liked by 29 viewers. Enjoy your viewing!