Alxandr 2017-02-06 20:49:46
How about this then: I have (getArgs :: IO [String]), (f :: [String] -> a) and (toJSONFilter :: a -> ByteString -> IO ByteString) and I need a (ByteString -> IO ByteString)
Alxandr 2017-02-06 20:49:54
Ah, sorry, didn't mean to re-type
Alxandr 2017-02-06 20:50:07
Thought focus was in console
jchia 2017-02-06 20:50:16
mniip: thanks
Alxandr 2017-02-06 20:50:59
Anyways, I have the following working: toJSONFilter f = \str -> getArgs >>= \args -> toJSONFilter (f args) str
Alxandr 2017-02-06 20:51:11
And would like if possible to remove str from the equation
Alxandr 2017-02-06 20:51:22
So I could have toJSONFilter f =
absence 2017-02-06 21:42:59
"stack init" tells me "Fetching package index ...fatal: Not a git repository: '.git'"
absence 2017-02-06 21:43:20
anyone know what could be wrong?