1
1
mirror of https://github.com/github/semantic.git synced 2025-01-03 21:16:12 +03:00

Define a serialization format type.

This commit is contained in:
Rob Rix 2018-05-11 14:12:13 -04:00
parent 3b26aba165
commit 883eb66422

View File

@ -1 +1,11 @@
module Serializing.Format where
{-# LANGUAGE GADTs #-}
module Serializing.Format
( Format(..)
, Builder
) where
import Algebra.Graph.Class
import Data.ByteString.Builder
data Format input where
DOT :: (Ord vertex, ToGraph graph, ToVertex graph ~ vertex) => Style vertex Builder -> Format graph