Saurabh Nanda

Results 212 comments of Saurabh Nanda

> The lack of type classes can become annoying once the project becomes sufficiently big (more on this; ref). Any first hand example that you can share?

Wrt GraphQL, yes, this is an ad-hoc way of implementing the same ideas that GraphQL is trying to solve. However, I haven't researched GraphQL deeply. Can you help me with...

Hey @mpdiary, thanks for chiming-in. If the whole product record gets sent with missing fields as `Nothing`, it is still quite an overhead. Also, we would be force-fitting three states...

@sudhirvkumar what do you think of https://github.com/vacationlabs/haskell-webapps/blob/26474934fd364237f37f50bb8e35f0b9ab2ade8b/SPEC.md#things-to-cover-in-the-spec Can anything be added to it?

Planning to implement **only** the [endpoints documented here](https://vacationlabs.github.io/haskell-webapps/json-api-spec.html) Stuff that can be added: - PDF generation: The classic use-case is generating a PDF invoice, but given that we're limited ourselves...

@sudhirvkumar have you already started working with Purescript or is that still in research phase? How similar is Purescript syntax to Haskell? Can Purescript integrate with the jQuery widget eco-system...

@sras would you like to take a shot at this while I review the email sprint?

@mpickering is it possible to extend this to the following: ``` data TenantStatus = TenantActive | TenantInactive data UserStatus = UserActive | UserInactive | UserBlocked data CustomerStatus = CustomerActive |...

@mpickering I'm not sure if I was clear earlier. Basically, the GADT-based solution that you proposed, works well if each data-model (`User`, `Tenant`, or `Customer`) has the same set of...

@BartAdv yes, you're right. But the question is slightly rhetorical in nature. Shouldn't it be **easier** to do stuff like this in Haskell? The other purpose of this question is...