-
Notifications
You must be signed in to change notification settings - Fork 68
Closed
Description
I have a piece of data that's represented in JS-land as:
var business = {
name: "O'Brien's Irish Pub & Restaurant",
category: ["Irish Pub", "irish-pub"]
};Which I'd like to represent in PureScript as:
newtype Business = Business {
name :: String,
category :: Tuple String String
}Seems like a common enough use case to add support for Tuple and be able to use generics for such data structure?
Metadata
Metadata
Assignees
Labels
No labels