Skip to content

Instantly share code, notes, and snippets.

@kika
Created March 21, 2018 00:10
Show Gist options
  • Save kika/87ee55dd367c032cd1d1d7d432ed087a to your computer and use it in GitHub Desktop.
Save kika/87ee55dd367c032cd1d1d7d432ed087a to your computer and use it in GitHub Desktop.
{
"properties": {
"SSN1" : {
"first": "Joe",
"last": "Doe"
},
"SSN2": {
"first": "Mary",
"last": "Jane"
}
}
}
newtype A = A {
properties :: StrMap B
}
newtype B = B {
first :: String,
last :: String,
ssn :: String
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment