packages feed

fourmolu-0.2.0.0: data/examples/declaration/value/function/static-pointers-four-out.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
        )