module Horizon.Spec.Types.Version (Version(MkVersion), fromVersion) where import Data.Kind (Type) import Data.String (IsString) import Data.Text (Text) import Dhall (FromDhall, ToDhall) type Version :: Type newtype Version = MkVersion { fromVersion :: Text } deriving stock (Eq, Show) deriving newtype (FromDhall, ToDhall, IsString)