fusion-plugin-types: Types for the fusion-plugin package.

[ bsd3, development, library ] [ Propose Tags ]

GHC package that provides types that when used in a package can be identified by the fusion-plugin package to perform any extra optimizations.


[Skip to Readme]

Modules

[Index] [Quick Jump]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1.0
Change log CHANGELOG.md
Dependencies base (>=4.0 && <5.0) [details]
License BSD-3-Clause
Copyright (c) 2020 Composewell Technologies
Author Pranay Sashank
Maintainer pranaysashank@composewell.com
Category Development
Home page https://github.com/composewell/fusion-plugin-types
Bug tracker https://github.com/composewell/fusion-plugin-types/issues
Source repo head: git clone https://github.com/composewell/fusion-plugin-types
Uploaded by pranaysashank at 2020-02-17T08:22:18Z
Distributions LTSHaskell:0.1.0, NixOS:0.1.0, Stackage:0.1.0
Reverse Dependencies 4 direct, 37 indirect [details]
Downloads 4212 total (45 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2020-02-17 [all 1 reports]

Readme for fusion-plugin-types-0.1.0

[back to package description]

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