Skip to content

Instantly share code, notes, and snippets.

@kennetpostigo
Created June 23, 2018 00:49
Show Gist options
  • Save kennetpostigo/90237a11562cf59fb261f6fff97a8aef to your computer and use it in GitHub Desktop.
Save kennetpostigo/90237a11562cf59fb261f6fff97a8aef to your computer and use it in GitHub Desktop.
Reason Phantom Type Animal catch all
module Animal: Animal = {
...
let mate = (x, y) => {j|🌈 $x and $y mated! 🌈|j};
let interMate = (x, y) => {j|πŸ’©$x & $y are mating! WAT IS HAPPENING!πŸ’©|j};
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment