Home freenode/#haskell: Logs Calendar

Logs: freenode/#haskell

←Prev  Next→
Page 1 .. 111 112 113 114 115 116 117 118 119 120 121 .. 5022
502,152 events total
2020-09-21 10:50:46 <cheater> tomsmeding: thanks, that's pretty cool. how does it work on windows?
2020-09-21 10:51:20 × acarrico quits (~acarrico@pppoe-209-99-203-201.greenmountainaccess.net) (Ping timeout: 272 seconds)
2020-09-21 10:52:05 <merijn> dminuoso: Right
2020-09-21 10:52:34 Saten-san joins (~Saten-san@ip-83-134-202-127.dsl.scarlet.be)
2020-09-21 10:52:34 <merijn> dminuoso: And there's no real design (yet?) for how to properly handle switching between executable and test targets
2020-09-21 10:52:48 <merijn> dminuoso: (recompiling each time is obviously not ideal)
2020-09-21 10:52:50 <dminuoso> merijn: But wouldnt `cabal v2-test` have to enable-tests at the very least?
2020-09-21 10:53:00 <merijn> Yes, no, maybe?
2020-09-21 10:53:38 <merijn> dminuoso: If you have a coherent design for how all the bits should work I'm sure it'll be welcome ;) And probably there's at least 1 or 2 issues discussing it on github :p
2020-09-21 10:54:07 <dminuoso> Im quite confident that this is very non-trivial.
2020-09-21 10:54:17 <dminuoso> Build systems always are.
2020-09-21 10:54:17 <merijn> :)
2020-09-21 10:54:53 <dminuoso> Hooray, I just managed to completely screw up dist-newstyle/ to the point of having to delete it.
2020-09-21 10:54:55 <boxscape> Is there a way to access functions in ghci that aren't exported?
2020-09-21 10:55:22 <cheater> using :m
2020-09-21 10:55:27 <boxscape> oh
2020-09-21 10:55:28 <boxscape> thankss
2020-09-21 10:55:31 <cheater> yw
2020-09-21 10:56:36 <boxscape> hmm though actually that seems to have the same behavior as importing it
2020-09-21 10:57:08 × aplainzetakind quits (~johndoe@captainludd.powered.by.lunarbnc.net) (Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net)
2020-09-21 10:57:12 <cheater> you can use :m +Foo or something i think
2020-09-21 10:57:27 <cheater> not sure
2020-09-21 10:57:52 basil joins (~basil@host-87-26-187-41.business.telecomitalia.it)
2020-09-21 10:58:08 <boxscape> I can use that, but it doesn't seem to bring into scope identifiers in Foo that aren't exported by Foo, unfortunately
2020-09-21 10:58:16 basil is now known as Guest87848
2020-09-21 10:59:22 × chaosmasttter quits (~chaosmast@p200300c4a70213017ae400fffe8093b8.dip0.t-ipconnect.de) (Ping timeout: 260 seconds)
2020-09-21 10:59:28 × Guest87848 quits (~basil@host-87-26-187-41.business.telecomitalia.it) (Client Quit)
2020-09-21 10:59:39 <solonarv> :m + *Foo works
2020-09-21 10:59:54 <solonarv> has to be an interpreted module
2020-09-21 11:00:26 <boxscape> oh, interesting, thanks
2020-09-21 11:00:31 basil_ joins (~basil@host-87-26-187-41.business.telecomitalia.it)
2020-09-21 11:01:49 × basil_ quits (~basil@host-87-26-187-41.business.telecomitalia.it) (Client Quit)
2020-09-21 11:02:42 aplainzetakind joins (~johndoe@captainludd.powered.by.lunarbnc.net)
2020-09-21 11:03:46 × aplainzetakind quits (~johndoe@captainludd.powered.by.lunarbnc.net) (Client Quit)
2020-09-21 11:04:19 basil_ joins (~basil@host-87-26-187-41.business.telecomitalia.it)
2020-09-21 11:07:26 <dminuoso> I recall there was a super dirty and unsafe package that let gain access to non-exported identifiers from other package..
2020-09-21 11:08:20 <merijn> @hackage true-name -- this one? :p
2020-09-21 11:08:20 <lambdabot> https://hackage.haskell.org/package/true-name -- this one? :p
2020-09-21 11:08:44 Gurkenglas joins (~Gurkengla@unaffiliated/gurkenglas)
2020-09-21 11:08:59 <boxscape> hm, neat
2020-09-21 11:09:06 <dminuoso> Yes, thats it :)
2020-09-21 11:09:36 <merijn> hmm, I forget how to specify ghc-options for only local packages in cabal.project (i.e. as opposed to for all transitive dependencies)
2020-09-21 11:09:46 <merijn> anyone know?
2020-09-21 11:11:08 <hekkaidekapus> merijn: package foo
2020-09-21 11:11:36 <hekkaidekapus> And `ghc-options:` under that stanza.
2020-09-21 11:11:42 × sQVe quits (~sQVe@unaffiliated/sqve) (Quit: Bye!)
2020-09-21 11:11:45 <tomjaguarpaw> package opaleye ghc-options: -iDoc/Tutorial -iTest -fprint-potential-instances
2020-09-21 11:11:54 <tomjaguarpaw> Hmm, bad formatting
2020-09-21 11:11:57 <tomjaguarpaw> package opaleye
2020-09-21 11:11:59 <tomjaguarpaw> ghc-options: -iDoc/Tutorial -iTest -fprint-potential-instances
2020-09-21 11:12:51 × v0d1ch quits (~v0d1ch@cable-178-148-120-241.dynamic.sbb.rs) (Quit: WeeChat 2.9)
2020-09-21 11:13:25 × jespada quits (~jespada@90.254.241.6) (Ping timeout: 264 seconds)
2020-09-21 11:13:54 gmt joins (~gmt@pool-71-105-108-44.nycmny.fios.verizon.net)
2020-09-21 11:14:14 <tomsmeding> cheater: it assumes you have a sort-of xterm-compliant terminal, which windows has nowadays
2020-09-21 11:14:27 <int-e> merijn: is it too much to hope that cabal v2-configure --ghc-options would drop the flags into cabal.project.local where it will be picked up by other cabal invocations?
2020-09-21 11:14:40 bahamas joins (~lucian@188.24.181.166)
2020-09-21 11:14:40 × bahamas quits (~lucian@188.24.181.166) (Changing host)
2020-09-21 11:14:40 bahamas joins (~lucian@unaffiliated/bahamas)
2020-09-21 11:14:46 <int-e> merijn: Oh.
2020-09-21 11:14:53 <tomsmeding> vty does the full thing by actually consulting the terminfo database to find out what escape sequences are appropriate for your terminal; that works great on linux but fails on windows (at least, that's my hypothesis)
2020-09-21 11:14:58 <int-e> merijn: never mind, I missed the "only local" part
2020-09-21 11:14:59 <cheater> tomsmeding: does it work in ps, or in cmd only?
2020-09-21 11:15:05 <tomsmeding> my library doesn't bother, which makes it work :p
2020-09-21 11:15:16 <tomsmeding> my windows-using friend used it in cmd at the time
2020-09-21 11:15:26 <tomsmeding> does PS support ansi escape sequences?
2020-09-21 11:15:31 <cheater> i don't know
2020-09-21 11:15:34 <cheater> at some point it didn't
2020-09-21 11:15:39 <cheater> not sure what it's like now
2020-09-21 11:15:44 <tomsmeding> printf "\x1B[1mbold text!\x1B[0m"
2020-09-21 11:16:05 jespada joins (~jespada@90.254.241.6)
2020-09-21 11:16:34 <tomsmeding> where \x1B is byte 27; manage to print that to PS (possibly using putStrLn ;) ), if that shows bold text, then yes, else no
2020-09-21 11:18:05 × gmt quits (~gmt@pool-71-105-108-44.nycmny.fios.verizon.net) (Ping timeout: 240 seconds)
2020-09-21 11:18:51 <int-e> merijn: https://github.com/haskell/cabal/issues/3883 suggests you can't :-/
2020-09-21 11:19:28 × bahamas quits (~lucian@unaffiliated/bahamas) (Ping timeout: 256 seconds)
2020-09-21 11:20:21 × cosimone quits (~cosimone@2001:b07:ae5:db26:b248:7aff:feea:34b6) (Remote host closed the connection)
2020-09-21 11:20:26 cosimone_ joins (~cosimone@2001:b07:ae5:db26:b248:7aff:feea:34b6)
2020-09-21 11:21:20 <int-e> merijn: (The suggested workaround is to specify ghc-options for each package of interest in one of the cabal.project files... manually?)
2020-09-21 11:21:38 <merijn> hekkaidekapus: But then I need to explicitly do that for each of the local package :\
2020-09-21 11:22:04 <hekkaidekapus> Yeah, int-e has been expanding on that.
2020-09-21 11:22:07 <int-e> So... yeah what hekkaidekapus suggested.
2020-09-21 11:23:06 × arianvp quits (~weechat@arianvp.me) (Quit: WeeChat 2.7.1)
2020-09-21 11:23:22 <tomjaguarpaw> If only a cabal file was a datastructure in some programming language. Then you could just write code to do it.
2020-09-21 11:23:39 arianvp joins (~weechat@arianvp.me)
2020-09-21 11:24:04 <Putonlalla> What is Nix?
2020-09-21 11:25:05 <Cheery> it's a package manager where the specialty is referential transparency extended to package-level.
2020-09-21 11:26:17 tchouri joins (~tchouri@gateway/tor-sasl/hekkaidekapus)
2020-09-21 11:26:18 <merijn> Putonlalla: Oh, oh, is the answer "a terribly ill-specified programming language that's hard to use unless you have a fulltime expert to tell you how to fix things so they work"? :)
2020-09-21 11:26:27 <Putonlalla> I was just trying to play Jeopardy with tomjaguarpaw.
2020-09-21 11:26:38 aplainzetakind joins (~johndoe@captainludd.powered.by.lunarbnc.net)
2020-09-21 11:27:06 <tomjaguarpaw> Ah nice
2020-09-21 11:27:39 <tomjaguarpaw> But also just having this property for our language-specific build system would be nice (some would say essential)
2020-09-21 11:27:54 × cpressey quits (~cpressey@88.144.93.20) (Quit: WeeChat 1.9.1)
2020-09-21 11:28:03 × hekkaidekapus quits (~tchouri@gateway/tor-sasl/hekkaidekapus) (Ping timeout: 240 seconds)
2020-09-21 11:28:12 tchouri is now known as hekkaidekapus
2020-09-21 11:28:31 × basil_ quits (~basil@host-87-26-187-41.business.telecomitalia.it) (Quit: Leaving)
2020-09-21 11:28:56 <merijn> tomjaguarpaw: Well, it is one, but the API is rather unstable :p
2020-09-21 11:29:40 <tomjaguarpaw> Yeah I've been considering extracting a stable subset, but I incrementally learn the internals of cabal slowly :)
2020-09-21 11:29:42 mirrorbird joins (~psutcliff@2a00:801:44a:a00b:20c3:c64:eb15:73a2)
2020-09-21 11:29:55 chaosmasttter joins (~chaosmast@p200300c4a70213017ae400fffe8093b8.dip0.t-ipconnect.de)
2020-09-21 11:29:57 <tomjaguarpaw> hekkaidekapus: Does your name mean 16-legged?

All times are in UTC.