Skip to main content

Show HN: A sum-type decorator for python https://ift.tt/2U9L1VE

Show HN: A sum-type decorator for python I wrote this quick decorator for sum-types and was looking for feedback on if it makes sense. I had to do something similar for work with weird looking if-else blocks with type checks. I'm also looking for pointers to existing libs that add this and other FP features to python. Comments on the state of FP-like python at work are welcome! https://ift.tt/2Qx6PeA December 1, 2018 at 02:43AM

Comments

Popular posts from this blog

Launch HN: Simmer (YC W19) – Reviews for Delivery Dishes https://ift.tt/2Y4sD67

Launch HN: Simmer (YC W19) – Reviews for Delivery Dishes Hi HackerNews community! We’re Vaibhav and Richard, founders of Simmer ( https://usesimmer.com ). Simmer aggregates dishes from DoorDash, Caviar, GrubHub, and basically every other delivery platform out there, and tells users the best dishes across the board. We do this by providing dish-level reviews. Users find highly reviewed dishes on Simmer, choose the delivery platform of their liking, and we deep link them into their chosen delivery app. We essentially lead gen to delivery. We started working on Simmer because we loved trying new restaurants, but never knew what to order. Especially, when there’s a 5 page menu. We always asked ourselves, “Why aren’t there ratings for individual dishes?” We launched our app with this restaurant-centric use case (reviews for every dish at every restaurant), but when we rolled out delivery integrations, we realized that users resonated most with the delivery angle. They found it particularly ...