packages feed

ormolu-0.0.1.0: data/examples/declaration/value/function/static-pointers.hs

{-# LANGUAGE StaticPointers #-}

foo :: StaticPtr Int
foo = static 5

bar :: StaticPtr [Int]
bar = static [ 1
             , 2, 3
             ]

baz :: StaticPtr Bool
baz = static (fun 1
                2)