Created
May 10, 2018 16:01
-
-
Save sellmair/6258a82ead0099c47af296379e8737dd to your computer and use it in GitHub Desktop.
Phantom Types in Kotlin: Modelling a Pipeline Stages
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
interface Stage : ReadMeasureSettings, ReadTimestamp { | |
interface Pending : Stage, ReadRawImage | |
interface ShapeDetection : Stage, ReadPreparedImage | |
interface FeatureDetection : Stage, ReadPreparedImage, ReadShapes | |
interface PersonDetection : Stage, ReadPreparedImage, ReadFeatures | |
interface Measurement : Stage, ReadPeople | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment