showing posts tagged #haskell — clear

0

Help resolving stack build plan error

preview

I’m looking for help in resolving this error:

$ stack install pandoc-cli
Error: [S-4804]
       Stack failed to construct a build plan.
       
       While constructing the build plan, Stack encountered the following errors:
       
       In the dependencies for pandoc-cli-0.1.1.1:
           hslua-cli must match >=1.4.1 && <1.5, but the Stack configuration has no specified
                     version (latest matching version is 1.4.1)
           pandoc-lua-engine must match >=0.2 && <0.3, but the Stack configuration has no specified
                             version (latest matching version is 0.2.1.1)
           pandoc-server must match >=0.1 && <0.2, but the Stack configuration has no specified
                         version (latest matching version is 0.1.0.2)
       needed since pandoc-cli is a build target.

Clearly, stack is having issues understanding version numbers. Best I can tell, stack has the pieces to form a build plan but its logic for building a plan is broken.

I installed stack via curl -sSL https://get.haskellstack.org/ | sh, as described in the documentation. The only clue that something went wrong when installing stack was the message:

$ stack setup
…
Using the latest snapshot lts-21.7.
…
Downloaded ghc-tinfo6-9.4.5
ar conftest.a: No such file or directory
Installed GHC.
…

$ echo $? # verify success—should be 0
0

I tried this on two systems and got the same error. I also tried compiling stack from GitHub source—that didn’t help.

I am not well-versed in the Haskell ecosystem would appreciate some pointers on how to resolve this issue. Or pointers on where to get help.

And apologies if this off-topic for this group. Just let me know.

Thanks!

I’m looking for help in resolving this error:

$ stack install pandoc-cli
Error: [S-4804]
       Stack failed to construct a build plan.
       
       While constructing the build plan, Stack encountered the following errors:
       
       In the dependencies for pandoc-cli-0.1.1.1:
           hslua-cli must match >=1.4.1 && <1.5, but the Stack configuration has no specified
                     version (latest matching version is 1.4.1)
           pandoc-lua-engine must match >=0.2 && <0.3, but the Stack configuration has no specified
                             version (latest matching version is 0.2.1.1)
           pandoc-server must match >=0.1 && <0.2, but the Stack configuration has no specified
                         version (latest matching version is 0.1.0.2)
       needed since pandoc-cli is a build target.

Clearly, stack is having issues understanding version numbers. Best I can tell, stack has the pieces to form a build plan but its logic for building a plan is broken.

I installed stack via curl -sSL https://get.haskellstack.org/ | sh, as described in the documentation. The only clue that something went wrong when installing stack was the message:

$ stack setup
…
Using the latest snapshot lts-21.7.
…
Downloaded ghc-tinfo6-9.4.5
ar conftest.a: No such file or directory
Installed GHC.
…

$ echo $? # verify success—should be 0
0

I tried this on two systems and got the same error. I also tried compiling stack from GitHub source—that didn’t help.

I am not well-versed in the Haskell ecosystem would appreciate some pointers on how to resolve this issue. Or pointers on where to get help.

And apologies if this off-topic for this group. Just let me know.

Thanks!

0

Typing the technical interview

preview

An oldie but a goodie. It served as a nice introduction to type-level metaprogramming for me a couple years ago and changed my code forever. For better, I maintain, though plenty I’ve met would disagree.

An oldie but a goodie. It served as a nice introduction to type-level metaprogramming for me a couple years ago and changed my code forever. For better, I maintain, though plenty I’ve met would disagree.

0

What language should I choose?

preview

I’m working on a universal tic-tac-toe backend that can be communicated with in any language via RPC. Should I chose Rust, or a higher level functional language like Haskell?

I’m working on a universal tic-tac-toe backend that can be communicated with in any language via RPC. Should I chose Rust, or a higher level functional language like Haskell?

0

Using AWS Code9 for AWS Lambda functions written in Haskell?

Mastodon.social Ænðr E. Feldstraw (@aeveltstra@mastodon.social) mastodon.social
preview

From what I can tell Code9’s support for Haskell is rudimentary at best. No debugging, no code completion, no error hints during source code writing. Is it usable at all? If so, how? Or best to avoid?

From what I can tell Code9’s support for Haskell is rudimentary at best. No debugging, no code completion, no error hints during source code writing. Is it usable at all? If so, how? Or best to avoid?

0

How to use IDEOne for Haskell?

Mastodon.social Ænðr E. Feldstraw (@aeveltstra@mastodon.social) mastodon.social
preview

IDEOne behaves different from the GHCI, which makes it difficult to follow all kinds of tutorials.

Drop me a hint, please?

IDEOne behaves different from the GHCI, which makes it difficult to follow all kinds of tutorials.

Drop me a hint, please?