How to handle optional fields in PureScript

Publié le: 14 juillet 2023
sur la chaîne: 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


Sur cette page du site, vous pouvez voir la vidéo en ligne How to handle optional fields in PureScript durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Impure Pics 14 juillet 2023, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 470 fois et il a aimé 29 téléspectateurs. Bon visionnage!