Search Haskell Channel Logs

Saturday, February 11, 2017

#haskell channel featuring zipper, mangobot, Welkin, hpc, yushyin, logzet,

zipper 2017-02-11 04:52:57
btw what's the reason stack does this:
zipper 2017-02-11 04:53:03
`haskell-src-exts-1.17.1 must match >=1.18 (latest applicable is 1.19.1)`
zipper 2017-02-11 04:53:15
Clearly 1.19 is greater than 1.18
zipper 2017-02-11 04:53:31
How can I fix this without forcing it in my stack.yaml
mangobot 2017-02-11 04:53:49
can someone help me with the data types here http://lpaste.net/352383 ? how to apply the functions correctly?
hpc 2017-02-11 04:54:05
zipper: 1.17.1 is what's conflicting with the constraint
hpc 2017-02-11 04:54:20
zipper: and 1.19.1 is how new you can go
zipper 2017-02-11 04:55:13
oh so in this case I am trying to install strucutured haskell mode but it requires 1.17.1 which is not available in this build plan
zipper 2017-02-11 04:55:16
I see
zipper 2017-02-11 04:57:44
Adding haskell-src-exts-1.17.1 as an extra dep in my ~/.stack/global-project/stack.yaml should work, right? because it's not.
zipper 2017-02-11 04:57:51
hpc:
hpc 2017-02-11 04:58:18
no, you need to deal with the >=1.18 constraint
hpc 2017-02-11 04:58:40
it's already trying to use 1.17.1
zipper 2017-02-11 05:02:02
I'd like to use the latest version
zipper 2017-02-11 05:02:12
1.19 if possible
hpc 2017-02-11 05:03:09
ah, then try adding 10:57 < zipper> Adding haskell-src-exts-1.17.1 as an extra dep in my ~/.stack/global-project/stack.yaml should work, right? because it's not.
hpc 2017-02-11 05:03:12
whoops
hpc 2017-02-11 05:03:18
try adding haskell-src-exts-1.19.1
hpc 2017-02-11 05:03:43
and see if you bump into a constraint that's forcing it to consider 1.17.1
zipper 2017-02-11 05:03:45
Thanks
zipper 2017-02-11 05:04:19
It's running *crossing fingers*
zipper 2017-02-11 05:04:31
How come we don't install happy and alex no more? :)
mangobot 2017-02-11 05:41:44
is there an error in this function? http://lpaste.net/352389
logzet 2017-02-11 05:42:57
there is no else?
yushyin 2017-02-11 05:43:49
yup
Welkin 2017-02-11 05:44:31
mangobot: your indentation is wrong
Welkin 2017-02-11 05:44:47
and you are missing an `else`
logzet 2017-02-11 05:44:51
And I suppose countFigures is the intended name, so ghc recognizes that and throws an error ;)
Welkin 2017-02-11 05:44:54
and you misspelled "Figrues"
Welkin 2017-02-11 05:45:05
"Figures"*