How to handle optional fields in PureScript

Опубликовано: 14 Июль 2023
на канале: 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


На этой странице сайта вы можете посмотреть видео онлайн How to handle optional fields in PureScript длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Impure Pics 14 Июль 2023, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 470 раз и оно понравилось 29 зрителям. Приятного просмотра!