Skip to content

Commit 28165cc

Browse files
committed
stylish
1 parent c7f20f1 commit 28165cc

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

hls-plugin-api/test/Ide/PluginUtilsTest.hs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,3 +197,11 @@ propertyTest = testGroup "property api tests" [
197197

198198
examplePath1 = SingleKey #baz
199199
examplePath2 = ConsKeysPath #parent (SingleKey #foo)
200+
201+
202+
sieve = sx [2..]
203+
where
204+
sx (p:xs) = p : sx [x| x <- xs, x `mod` p > 0]
205+
206+
main = do
207+
print (take 10000 sieve)

0 commit comments

Comments
 (0)