BSD-3-Clause licensed by Pranay Sashank
Maintained by [email protected]
This version can be pinned in stack with:fusion-plugin-types-0.1.0@sha256:0f11bbc445ab8ae3dbbb3d5d2ea198bdb1ac020518b7f4f7579035dc89182438,1506

Module documentation for 0.1.0

Depends on 1 package(full list with versions):
Used by 2 packages in nightly-2024-12-03(full list with versions):

fusion-plugin-types

Hackage

Motivation

This package provides types needed to run the fusion-plugin plugin. This package is separated from the fusion-plugin package so that library authors can annotate the types that fusion-plugin should try to fuse but avoid the ghc dependency in the library itself.

Using the package

To enable support for using the fusion-plugin plugin, add this package to your build-depends and annotate your types with Fuse type from Fusion.Plugin.Types module.

import Fusion.Plugin.Types (Fuse (..))

{-# ANN type Step Fuse #-}
data Step s a = Yield a s | Skip s | Stop

See Also

Changes

0.1.0

  • Initial release