Skip to content

Instantly share code, notes, and snippets.

@forketyfork
Created May 11, 2021 06:54
Show Gist options
  • Save forketyfork/960dcca51a0aa6e3352d2770de5a6b7a to your computer and use it in GitHub Desktop.
Save forketyfork/960dcca51a0aa6e3352d2770de5a6b7a to your computer and use it in GitHub Desktop.
Code to article "Why You Should Learn Functional Programming: Type Classes vs. Interfaces"
data Person = Person {
name :: String,
surname :: String,
age :: Int
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment