Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

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 pkg key 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: {
description: string;
compiler: string;
executables?: Array<Executables>;
overrideDependencies?: Record<string, string>;
src: string;
}
): Project & HaskellAddenda & Execs<Executables>
[src]

§Type Parameters

§
Executables extends string
[src]

§Parameters

§
args: {
description: string;
compiler: string;
executables?: Array<Executables>;
overrideDependencies?: Record<string, string>;
src: string;
}
[src]

§Return Type

§
Project & HaskellAddenda & Execs<Executables>
[src]