Skip to content

Instantly share code, notes, and snippets.

@sellmair
Created May 10, 2018 15:41
Show Gist options
  • Save sellmair/059eb8534b10f784e096dbe59732a2c3 to your computer and use it in GitHub Desktop.
Save sellmair/059eb8534b10f784e096dbe59732a2c3 to your computer and use it in GitHub Desktop.
Phantom Types in Kotlin: Modelling a Pipeline 'Read-Right-Interfaces'
interface ReadRawImage
interface ReadTimestamp
interface ReadMeasureSettings
interface ReadPreparedImage
interface ReadShapes
interface ReadFeatures
interface ReadPeople
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment