• Trending
  • New
  • Hot
  • Likers
LoginSign up

Safer JavaScript with the Maybe Type

rcp (25) in javascript •  7 years ago 


Safer JavaScript with the Maybe Type

01 Safer JavaScript with the Maybe type
02 Understand the Maybe Data Type
03 Create a Maybe with a safe Utility Function
04 Unwrap Values from a Maybe
05 Safely Access Object Properties with prop
06 Safely Access Nested Object Properties with propPath
07 Flatten Nested Maybes with chain
08 Recover from a Nothing with the alt method
09 Recover from a Nothing with the coalesce Method
10 Compose Functions for Reusability with the Maybe Type
11 Apply a function in a Maybe context to Maybe inputs
12 Make your own functions safer by lifting them into a Maybe context


▶️ DTube
▶️ IPFS
javascript egghead maybe functional dtube
7 years ago by rcp (25)

Downvoting a post can decrease pending rewards and make it less visible. Common reasons:

  • Disagreement on rewards
  • Fraud or plagiarism
  • Hate speech or trolling
  • Miscategorized content or spam

Submit
$0.00
    1 vote
    • + ax3: $0.000 (1%)
    0
    •  
    •  
    •  
    •  
    Authors get paid when people like you upvote their post.
    If you enjoyed what you read here, create your account today and start earning FREE STEEM!