nh2 / nh2/command

cmd does not work well with OverloadedStrings

Open
#1 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Haskell
Stars
6
Forks
0
PR merge metrics
No merged PRs in 30d

Description

``` haskell
{-# LANGUAGE OverloadedStrings #-}

import System.Command

main :: IO ()
main = do
cmd "ls"
```

gives:

```
No instance for (Arg a2) arising from a use of `cmd'
The type variable `a2' is ambiguous
```

What can we do to about this?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.