This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- an example of how to derive a show instance for a Maybe type | |
-- not totally sure why `derive instance showMyMaybe :: (Show a) => Show (MyMaybe a)` errors with... | |
-- error: CannotDerive : | |
-- Cannot derive a type class instance for Data.Show.Show (MyMaybe a) since instances of this type class are not derivable. | |
module Main where | |
import Prelude | |
import Control.Monad.Eff (Eff) | |
import Control.Monad.Eff.Console (CONSOLE, log) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# for yarn berry | |
FROM --platform=linux/amd64 node:14.21-bullseye | |
# install node_module packages needed to build | |
WORKDIR /app | |
COPY .yarnrc.yml . | |
COPY .yarn/releases/yarn-3.4.1.cjs .yarn/releases/yarn-3.4.1.cjs | |
COPY package.json . | |
COPY yarn.lock . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require("lspconfig").tsserver.setup { | |
cmd = {"typescript-language-server", "--stdio", "--log-level", "4"}, | |
init_options = { | |
hostInfo = "neovim", | |
maxTsServerMemory = 4096, | |
tsserver = { | |
logDirectory = <path>, | |
logVerbosity = "verbose" | |
} | |
}, |
OlderNewer