mirror of
https://github.com/github/semantic.git
synced 2024-12-26 00:12:29 +03:00
Stub in a type representing the elements of branches.
This commit is contained in:
parent
6eabdd06eb
commit
3aaa9f79ca
@ -187,6 +187,10 @@ data Child = Child
|
||||
, childMargin :: String
|
||||
}
|
||||
|
||||
data BranchElement
|
||||
= Child' String (Join These String {- newlines or asterisks -})
|
||||
| Margin (Join These String {- newlines or hyphens -})
|
||||
|
||||
toSource :: [Child] -> Source.Source Char
|
||||
toSource = Source.fromList . concatMap show
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user