homepage: https://github.com/composewell/fusion-plugin-types
changelog-type: markdown
hash: 0f11bbc445ab8ae3dbbb3d5d2ea198bdb1ac020518b7f4f7579035dc89182438
test-bench-deps: {}
maintainer: pranaysashank@composewell.com
synopsis: Types for the fusion-plugin package.
changelog: |
  ## 0.1.0

  * Initial release
basic-deps:
  base: ! '>=4.0 && <5.0'
all-versions:
- 0.1.0
author: Pranay Sashank
latest: 0.1.0
description-type: markdown
description: |
  # fusion-plugin-types

  [![Hackage](https://img.shields.io/hackage/v/fusion-plugin-types.svg?style=flat)](https://hackage.haskell.org/package/fusion-plugin-types)
  ![](https://github.com/composewell/fusion-plugin-types/workflows/Haskell%20CI/badge.svg)

  ## Motivation

  This package provides types needed to run the fusion-plugin
  plugin. This package is separated from the
  [fusion-plugin](https://github.com/composewell/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.

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

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

  ## See Also

  * [fusion-plugin](https://github.com/composewell/fusion-plugin)
license-name: BSD-3-Clause

Update from Hackage at 2020-02-17T08:31:40Z
Update from Hackage at 2020-02-17T08:31:40Z
