haskell.mkHaskellProject
import { haskell } from "https://garn.io/ts/v0.0.19/mod.ts"; 
const { mkHaskellProject } = haskell;Creates a haskell-based garn Project.
This will create a Project with
- a pkgkey that builds the entire haskell project (i.e.,cabal build);
- a default shell that provides cabal as well as all Haskell dependencies;
- one garn executable for each cabal executable in executables.
function mkHaskellProject<Executables extends string>(args: {
description: string; 
compiler: string; 
executables?: Array<Executables>; 
overrideDependencies?: Record<string, string>; 
src: string; 
}): Project & HaskellAddenda & Execs<Executables>;§
mkHaskellProject<Executables extends string>(args: {
[src]description: string; 
compiler: string; 
executables?: Array<Executables>; 
overrideDependencies?: Record<string, string>; 
src: string; 
}): Project & HaskellAddenda & Execs<Executables>§Parameters
§Return Type
§
Project & HaskellAddenda & Execs<Executables>
[src]