How to handle optional fields in PureScript

Veröffentlicht am: 14 Juli 2023
auf dem Kanal: 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


Auf dieser Seite können Sie das Online-Video How to handle optional fields in PureScript mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Impure Pics 14 Juli 2023 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 470 Mal angesehen und es wurde von 29 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!