Results 28 comments of Adam Vogt
trafficstars

```R c('data/b/c', 'data/b2/c') %>% strsplit('/') %>% map_chr( `[`(2) ) ``` ![Screenshot_2020-04-04_13-24-19](https://user-images.githubusercontent.com/93006/78457363-9fa81500-7677-11ea-940a-1d1d782a1328.png) ![Screenshot_2020-04-04_13-23-23](https://user-images.githubusercontent.com/93006/78457364-a040ab80-7677-11ea-90d4-2236b0e5eec8.png) The problem is with .Rmd, not .R. I'm not sure what color the [ should be -- probably...

The previous code marked the final `]` in `xs[[ length(xs) ]]` as an error.

I've settled on just adding syn match rFunction "`\[\+`" With .Rmd it looks like: ![image](https://user-images.githubusercontent.com/93006/79394278-129d6f80-7f45-11ea-9d6b-672b44fd292b.png) But with `.R`, the https://github.com/jalvesaq/R-Vim-runtime/blob/master/syntax/r.vim#L311-L313 interferes, leading to: ![image](https://user-images.githubusercontent.com/93006/79394388-585a3800-7f45-11ea-83b2-f0e2f28fad39.png) We can't have https://github.com/jalvesaq/R-Vim-runtime/blob/a9b6ac04a9aea0a369f5e52a9475c71e4ad6adf4/syntax/r.vim#L311-L313 enabled in...

@dmcclean, the idea was something like: let's define `MapMulEq x y z :: Constraint` instead of using `(MapMul x y ~ z) :: Constraint`, since the second version can't figure...

I seem to have had some success with "forwards style" type families and making the plugin add wanted constraints that calculate the "backwards": https://github.com/aavogt/HListPlugin. Maybe it's easier to implement, but...

> I encountered the same problem on macOS 11.6. After making a fresh clone of the lh-plugin-demo repo and switching to ghc 8.10.2 with cabal 3.2.0.0, I got the following...

I want something(s) better than the `mapOptName` pasted above. Maybe these examples help: ``` haskell import Options.Applicative; import Options.Applicative.Internal; import Options.Applicative.Types import Data.Monoid mapOptName :: (OptName -> OptName) -> Parser...

http://hackage.haskell.org/package/HListPP would be my use. http://hackage.haskell.org/package/record is probably moving towards being a preprocessor not quasiquoter

I see it as `:set -F -pgmF myPP` or `{-# OPTIONS_GHC -F -pgmF myPP #-}` dividing cells into chunks of text that get handled by the preprocessor named by the...