haskell

package
v1.1.10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 13, 2021 License: MPL-2.0 Imports: 11 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Discover

func Discover(baseDir string, options map[string]interface{}) ([]module.Module, error)

func NewModule

func NewModule(moduleName string, relativeDir string, strategy Strategy) module.Module

Types

type Analyzer

type Analyzer struct {
	Module    module.Module
	AnalyzeFn func(module.Module) (graph.Deps, error)
}

func New

func New(m module.Module) (*Analyzer, error)

func (*Analyzer) Analyze

func (a *Analyzer) Analyze() (graph.Deps, error)

func (Analyzer) Build

func (Analyzer) Build() error

func (Analyzer) Clean

func (Analyzer) Clean() error

func (Analyzer) IsBuilt

func (Analyzer) IsBuilt() (bool, error)

type Options

type Options struct {
	Strategy Strategy `mapstructure:"strategy"`
}

type Strategy

type Strategy string
const (
	CabalInstall Strategy = "cabal-install"
	Stack        Strategy = "stack"
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL