wip
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
;;; Directory Local Variables -*- no-byte-compile: t -*-
|
||||
;;; For more information see (info "(emacs) Directory Variables")
|
||||
|
||||
((nil . ((projection-commands-run-command . "cabal run"))))
|
||||
3
modules/home/users/crumb/emacs/project-skeletons/haskell-flake/.gitignore
vendored
Normal file
3
modules/home/users/crumb/emacs/project-skeletons/haskell-flake/.gitignore
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
.direnv/
|
||||
result
|
||||
dist-newstyle/
|
||||
@@ -1,24 +1,23 @@
|
||||
cabal-version: 3.0
|
||||
name: __PROJECT-NAME__
|
||||
version: 0.1.0.0
|
||||
synopsis: __DESCRIPTION__
|
||||
description: __DESCRIPTION__
|
||||
synopsis: __PROJECT-NAME__
|
||||
description: __PROJECT-NAME__
|
||||
license: GPL-3.0-only
|
||||
license-file: LICENSE
|
||||
author: __USER-NAME__
|
||||
maintainer: __USER-MAIL-ADDRESS__
|
||||
|
||||
-- copyright:
|
||||
category: Language
|
||||
maintainer: __USER-EMAIL__
|
||||
category: Application
|
||||
build-type: Simple
|
||||
extra-doc-files:
|
||||
|
||||
common common
|
||||
ghc-options: -Wno-typed-holes -fdefer-typed-holes
|
||||
ghc-options: -Wno-typed-holes -fdefer-typed-holes -threaded -fdefer-type-errors
|
||||
|
||||
default-extensions:
|
||||
BlockArguments
|
||||
DataKinds
|
||||
DuplicateRecordFields
|
||||
DeriveDataTypeable
|
||||
DeriveGeneric
|
||||
DeriveTraversable
|
||||
@@ -43,8 +42,11 @@ common common
|
||||
library
|
||||
import: common
|
||||
|
||||
-- cabal-fmt: expand sydml/src/ -Main
|
||||
ghc-options: -fplugin=Effectful.Plugin
|
||||
|
||||
-- cabal-fmt: expand src/ -Main
|
||||
exposed-modules:
|
||||
__PROJECT-NAME__
|
||||
|
||||
default-language: GHC2021
|
||||
|
||||
@@ -53,11 +55,22 @@ library
|
||||
, containers
|
||||
, hashable
|
||||
, mtl
|
||||
, transformers
|
||||
, lens
|
||||
, generic-lens
|
||||
, pretty-simple
|
||||
, text >=2.0 && <2.2
|
||||
, transformers
|
||||
, unordered-containers
|
||||
, effectful
|
||||
, effectful-plugin
|
||||
|
||||
hs-source-dirs: src
|
||||
|
||||
-- executable __PROJECT-NAME__
|
||||
-- import: common
|
||||
-- main-is: Main.hs
|
||||
-- default-language: GHC2021
|
||||
-- hs-source-dirs: app
|
||||
-- build-depends:
|
||||
-- , base ^>=4.19.1.0
|
||||
-- , __PROJECT-NAME__
|
||||
|
||||
@@ -28,7 +28,6 @@
|
||||
hpkgs.fourmolu
|
||||
hpkgs.haskell-language-server
|
||||
hpkgs.cabal-install
|
||||
hpkgs.hasktags
|
||||
];
|
||||
withHoogle = true;
|
||||
};
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
module __PROJECT-NAME__ where
|
||||
Reference in New Issue
Block a user