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:
parent
3b26aba165
commit
883eb66422
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user