noan 2017-01-31 16:03:50
https://gist.github.com/AlexaDeWit/5cb6b2a6c0462f53cde300c3fa110813
Squarism 2017-01-31 16:03:55
ive learned i can define functions in this manner : \n data Lal = Lal { a :: Int } \n let f Lal { a = x } = 2*x
noan 2017-01-31 16:04:06
so close, got so far, but in the end, fucking tls problems
Squarism 2017-01-31 16:04:58
but if i make Lal a lens.. compiler complains '_a' is not a (visible) field of constructor of Lal
Squarism 2017-01-31 16:06:01
sorry.. my bad
Cale 2017-01-31 16:06:27
Squarism: you figure out what was wrong?
Squarism 2017-01-31 16:06:38
yep
Squarism 2017-01-31 16:06:43
thanks anyway
noan 2017-01-31 16:09:16
sm, don't suppose you've seen anything like that before? Firefox seems happy with the cert from haskell.org....
Koterpillar 2017-01-31 16:11:31
noan: GHC might be using the certificate store from mingw or somewhere like that (guessing, I'm not using windows)
Koterpillar 2017-01-31 16:11:43
noan: I wanted to say strace, but heh
noan 2017-01-31 16:13:24
thanks
noan 2017-01-31 16:13:46
For now, since it's just a baby test project, I'll just use the shitty workaround. I'll worry about real fixes later.
sm 2017-01-31 16:13:46
noan: your paste is truncated, but it gives the appearance of the first failure being a timeout
sm 2017-01-31 16:13:52
I assume you've retried a few times
noan 2017-01-31 16:15:04
commented it in full properly, sorry
sm 2017-01-31 16:15:14
oh, maybe not a timeout
noan 2017-01-31 16:15:45
nope, it just doesn't accept the CA from haskell.org, but does from stackage and others.
sm 2017-01-31 16:19:11
noan: I see some related-looking discussion eg at https://github.com/commercialhaskell/stack/issues/1922, but no mention of how to fix on windows
sm 2017-01-31 16:20:17
I'd open an issue in the hoogle tracker
Squarism 2017-01-31 16:21:17
ive learned that cabal-the-library is quite a primitive building framework dont offering much in conveniance. Like complete rebuilds happening when the arent needed. Issues where you have to restate your dependendencies even if information is available. I wonder why its so - is it extra hard to build a builder for haskell code?
sm 2017-01-31 16:24:35
noan: one or two possible workarounds mentioned at https://github.com/commercialhaskell/stack/issues/234
sm 2017-01-31 16:25:26
"It can be fixed by opening the correct webpage in Internet Explorer (which automatically adds the certificate)"
noan 2017-01-31 16:26:00
yet firefox doesn't
noan 2017-01-31 16:26:00
lol
geekosaur 2017-01-31 16:27:09
doesn't firefox use its own cert store?
Welkin 2017-01-31 16:28:35
Squarism: use nix
noan 2017-01-31 16:29:12
opening it in ms edge really did fix it. What a laugh
Squarism 2017-01-31 16:29:24
Welkin, many people do that? Or is it highly experimential / bleeding edge?
Welkin 2017-01-31 16:30:31
nix is popular
Squarism 2017-01-31 16:33:44
ok.. good to know. Ill try it