intero

Haskero fails with “Not a valid Unicode code point!”

浪子不回头ぞ 提交于 2021-02-07 21:29:09
问题 I'm trying to run Haskero to do Haskell editing with VSCode. However, it's failing on initialization, with the following error: Initializing Haskero... Spawning process 'stack' with command 'stack ghci --with-ghc intero "--ghci-options=-ignore-dot-ghci -Wall" --no-build --no-load' (node:3726) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): TypeError: reason.indexOf is not a function (node:3726) DeprecationWarning: Unhandled promise rejections are deprecated.

How to get Haskero to warn on non-exhaustive pattern matches

╄→гoц情女王★ 提交于 2019-12-10 16:17:12
问题 I'm currently evaluating Haskero in Visual Studio Code as an alternative Haskell editor instead of Atom with Atom-Haskell. So far, Haskero seems promising, but I miss the compiler warnings I'd usually get from Atom-Haskell . As a way to illustrate the problem, consider this simple repro: Steps to reproduce Open Visual Studio Code with Haskero already installed Add a new Haskell file: Repro.hs Add the following content to the file Press Save File contents: module Repro where foo :: Maybe a ->