hawk icon indicating copy to clipboard operation
hawk copied to clipboard

Haskell text processor for the command-line

Results 75 hawk issues
Sort by recently updated
recently updated
newest added

After `cabal install haskell-awk` on my machine running ghc-7.10.3, when I try to run `hawk -m head` on some output I get: ``` hawk: multiple package-db's found in sandbox /home/petersen/.cabal...

Reading [this](https://www.reddit.com/r/haskell/comments/5990fo/whats_the_point_of_foldable_for_simple_types_like/d96prcd/) comment reminded me that a `case maybex of { Nothing -> return (); ... }` was recently simplified to `maybe (return ()) ...`. Turns out we can simplify...

good first issue

I know we already rejected pull request #121, which replaced all our uses of ByteString.Char8 with Text, and we have good reasons for that. However, we haven't made any progress...

bug

``` $ seq 10 | hawk -md 'B.length' No instance for (System.Console.Hawk.Representable.ListAsRows GHC.Int.Int64) ``` That's strange, I thought we had a catch-all overlapping instance for instances of Show? Guess not.

text-format
good first issue

``` > hawk '"foo" :: String' foo > hawk '"foo" :: Data.ByteString.Lazy.ByteString' foo > hawk '"foo" :: Data.ByteString.Lazy.Char8.ByteString' foo > hawk '"foo" :: Data.ByteString.ByteString' No instance for (Rows Data.ByteString.ByteString) >...

text-format
good first issue

I uploaded a candidate release, and hackage said: > Warnings: > > From version 1.23 cabal supports specifiying explicit dependencies for Custom setup scripts. Consider using cabal-version >= 1.23 and...

I always get the error when giving any expression to hawk, even when building hawk from the latest master branch: ``` > stack exec hawk '1' hawk: /usr/lib/ghc-7.10.2/settings: openFile: does...

Consider the following workflow. Attempt number 1: $ hawk -m 'fmap (chr . read . B.unpack)' < in.txt Not in scope: ‘chr’ I lookup `chr` in hoogle and get a...

I stumbled upon the [Chronicle](http://hackage.haskell.org/package/these-0.4.2/docs/Control-Monad-Trans-Chronicle.html) monad, which seems to support the semantics we need regarding warnings vs errors. It's generally a better idea to reuse existing packages than to roll...

discussion