haskero

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 ->

Keyboard access to Visual Studio Code status bar

喜欢而已 提交于 2019-12-06 07:41:38
Is there any way to access the Visual Studio Code status bar with the keyboard (i.e. not with the mouse)? Specifically, I would like to access the Targets:default part, which, as far as I can tell, originates from a language extension ( Haskero ). I can click on it with the mouse, but I haven't found a way to interact with it using the keyboard. Obvious attempts like Ctrl + Shift + p , followed by typing status , targets , haskell , and so on, have been dead ends. You can bind a keyboard shortcut to command haskero.selectTarget : 来源: https://stackoverflow.com/questions/52754334/keyboard-access