packages feed

fourmolu-0.0.6.0: data/examples/declaration/value/function/static-pointers-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
    )