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


Watch video How to handle optional fields in PureScript online without registration, duration hours minute second in high quality. This video was added by user Impure Pics 14 July 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 47 once and liked it 2 people.