on f86e01e help sign in
ormolu/data/examples/declaration/value/function/static-pointers-out.hs
19 lines 210 B history raw
1{-# LANGUAGE StaticPointers #-}
3foo :: StaticPtr Int
4foo = static 5
6bar :: StaticPtr [Int]
7bar =
8 static
9 [ 1,
10 2,
11 3
12 ]
14baz :: StaticPtr Bool
15baz =
16 static
17 ( fun 1
18 2
19 )