mirror of
https://github.com/github/semantic.git
synced 2024-12-24 23:42:31 +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 :: ArbitraryTerm leaf annotation -> Int
|
||||||
arbitraryTermSize = cata (succ . sum) . toTerm
|
arbitraryTermSize = cata (succ . sum) . toTerm
|
||||||
|
|
||||||
|
|
||||||
-- Instances
|
-- Instances
|
||||||
|
|
||||||
type instance Base (ArbitraryTerm leaf annotation) = CofreeF (Syntax leaf) annotation
|
type instance Base (ArbitraryTerm leaf annotation) = CofreeF (Syntax leaf) annotation
|
||||||
|
Loading…
Reference in New Issue
Block a user