mirror of
https://github.com/github/semantic.git
synced 2024-12-24 07:25:44 +03:00
Spacing.
This commit is contained in:
parent
b0b8aa0616
commit
d9e4602c67
@ -35,6 +35,7 @@ termOfSize n = (ArbitraryTerm .) . (:<) <$> arbitrary <*> syntaxOfSize n
|
||||
arbitraryTermSize :: ArbitraryTerm leaf annotation -> Int
|
||||
arbitraryTermSize = cata (succ . sum) . toTerm
|
||||
|
||||
|
||||
-- Instances
|
||||
|
||||
type instance Base (ArbitraryTerm leaf annotation) = CofreeF (Syntax leaf) annotation
|
||||
|
Loading…
Reference in New Issue
Block a user