Logs: freenode/#haskell
| 2021-04-21 14:31:50 | → | Sheilong joins (uid293653@gateway/web/irccloud.com/x-dwdeqarjvkrgtrrf) |
| 2021-04-21 14:31:54 | × | miklcct_ quits (quasselcor@2001:19f0:7001:5ad:5400:2ff:feb6:50d7) (Quit: http://quassel-irc.org - Chat comfortably. Anywhere.) |
| 2021-04-21 14:32:08 | → | miklcct joins (quasselcor@2001:19f0:7001:5ad:5400:2ff:feb6:50d7) |
| 2021-04-21 14:32:29 | ← | tatsumaru parts (~tatsumaru@85.196.189.103) () |
| 2021-04-21 14:32:58 | → | LKoen joins (~LKoen@92.163.9.109.rev.sfr.net) |
| 2021-04-21 14:35:08 | × | Guest78317 quits (~laudiacay@67.176.215.84) (Ping timeout: 246 seconds) |
| 2021-04-21 14:35:46 | <merijn> | How can I increase the granularity of stack traces in profiling code? |
| 2021-04-21 14:35:46 | → | star_cloud joins (~star_clou@ec2-34-220-44-120.us-west-2.compute.amazonaws.com) |
| 2021-04-21 14:35:54 | → | frozenErebus joins (~frozenEre@37.231.244.249) |
| 2021-04-21 14:36:05 | <merijn> | I'm getting an arithmetic overflow exception, but no clue from where |
| 2021-04-21 14:36:09 | <blankhart> | got it, thanks geekosaur |
| 2021-04-21 14:36:18 | <merijn> | And the -xc stack trace turns up nothing useful |
| 2021-04-21 14:36:52 | × | barakkl1993 quits (~barakkley@2.55.180.173) (Ping timeout: 252 seconds) |
| 2021-04-21 14:38:37 | → | nineonine joins (~nineonine@2604:3d08:7785:9600:5c9e:8d21:d745:3944) |
| 2021-04-21 14:39:25 | × | nineonine quits (~nineonine@2604:3d08:7785:9600:5c9e:8d21:d745:3944) (Remote host closed the connection) |
| 2021-04-21 14:40:27 | → | nineonine joins (~nineonine@2604:3d08:7785:9600:2926:4844:fa1f:b849) |
| 2021-04-21 14:42:08 | × | nut quits (~gtk@roc37-h01-176-170-197-243.dsl.sta.abo.bbox.fr) (Ping timeout: 246 seconds) |
| 2021-04-21 14:42:11 | <merijn> | Anyone? |
| 2021-04-21 14:42:41 | → | Spanktar joins (~Spanktar@195.140.213.38) |
| 2021-04-21 14:43:24 | <glguy> | % minBound `quot` (-1) :: Int |
| 2021-04-21 14:43:24 | <yahb> | glguy: *** Exception: arithmetic overflow |
| 2021-04-21 14:43:40 | <glguy> | Is that the main way to get that exception? |
| 2021-04-21 14:44:21 | × | wavemode quits (~wavemode@097-070-075-143.res.spectrum.com) (Read error: Connection reset by peer) |
| 2021-04-21 14:44:52 | <hc> | merijn: unusual that you're asking questions in here ;-) |
| 2021-04-21 14:44:59 | × | nineonine quits (~nineonine@2604:3d08:7785:9600:2926:4844:fa1f:b849) (Ping timeout: 250 seconds) |
| 2021-04-21 14:45:45 | → | plakband joins (~plakband@softbank126227040096.bbtec.net) |
| 2021-04-21 14:45:45 | → | wavemode joins (~wavemode@097-070-075-143.res.spectrum.com) |
| 2021-04-21 14:46:37 | <merijn> | glguy: No clue? |
| 2021-04-21 14:47:21 | → | cr3 joins (~cr3@192-222-143-195.qc.cable.ebox.net) |
| 2021-04-21 14:47:39 | <glguy> | merijn: is something catching the exception and printing it without much info? Or is it making it up to the top level? |
| 2021-04-21 14:48:30 | → | Deide joins (~Deide@217.155.19.23) |
| 2021-04-21 14:49:24 | → | ep1ctetus joins (~epictetus@ip72-194-54-201.sb.sd.cox.net) |
| 2021-04-21 14:49:55 | <merijn> | glguy: I'm running with -xc on profiled code, which gives a stack trace, but the stack trace is rather useless |
| 2021-04-21 14:50:02 | <merijn> | It seems to only have two levels |
| 2021-04-21 14:50:11 | <merijn> | So I still dunno where the exception is originating |
| 2021-04-21 14:50:21 | × | rj quits (~x@gateway/tor-sasl/rj) (Ping timeout: 240 seconds) |
| 2021-04-21 14:52:37 | → | rj joins (~x@gateway/tor-sasl/rj) |
| 2021-04-21 14:54:52 | × | rekahsoft quits (~rekahsoft@cpe0008a20f982f-cm64777d666260.cpe.net.cable.rogers.com) (Ping timeout: 240 seconds) |
| 2021-04-21 14:55:05 | <cjay> | What is currently the best way to make internals of a lib I'm writing accessible by tests and by `cabal repl`? I found a old reddit post that suggests moving everything to .Internal modules that expose everything, is this still the way to go? |
| 2021-04-21 14:55:41 | × | rodriga quits (~quassel@134.204.25.66) (Ping timeout: 240 seconds) |
| 2021-04-21 14:55:52 | × | rj quits (~x@gateway/tor-sasl/rj) (Remote host closed the connection) |
| 2021-04-21 14:56:05 | <merijn> | cjay: Cabal now supports multiple (internal) libraries |
| 2021-04-21 14:56:13 | → | rj joins (~x@gateway/tor-sasl/rj) |
| 2021-04-21 14:56:31 | <merijn> | cjay: One thing you can do is have an internal implementation library that exports everything, then have your tests and the public library depend on that |
| 2021-04-21 14:56:39 | <carbolymer> | merijn: stack support when |
| 2021-04-21 14:56:48 | <cjay> | ah, that sounds a bit more elegant. thx. |
| 2021-04-21 14:56:52 | <merijn> | cjay: And then the public library re-exports a subset of the internal lib |
| 2021-04-21 14:57:00 | <merijn> | carbolymer: Ask the stack people? |
| 2021-04-21 14:57:08 | <carbolymer> | merijn: yeah I should ;-] |
| 2021-04-21 14:57:19 | <merijn> | Probably somewhere around "heat death of the universe"? |
| 2021-04-21 14:57:26 | <cjay> | omg |
| 2021-04-21 14:57:51 | <cjay> | I recently checked if stack supports backpack now. Of course it does not.. |
| 2021-04-21 14:58:09 | <carbolymer> | merijn: that was funny one year ago ;-] I have rewritten internal libraries into separate packages since then |
| 2021-04-21 14:58:09 | × | idhugo_ quits (~idhugo@87-49-45-4-mobile.dk.customer.tdc.net) (Ping timeout: 268 seconds) |
| 2021-04-21 14:58:41 | <wz1000> | merijn: -fprof-auto? |
| 2021-04-21 14:58:49 | <merijn> | cjay: Almost no one is using/pushing backpack atm, so I don't think the stack people are enthusiastic about implementing |
| 2021-04-21 14:58:59 | <merijn> | wz1000: Cabal is supposed to add that, though |
| 2021-04-21 14:59:19 | × | vdukhovni quits (64022765@100.2.39.101) (Quit: Connection closed) |
| 2021-04-21 14:59:21 | <cjay> | and nobody wants to use backpack, because they don't want to be incompatible with stack, right? |
| 2021-04-21 14:59:24 | <merijn> | wz1000: When you write -fprof-auto in your cabal file it complains that --enable-profiling adds that |
| 2021-04-21 14:59:34 | → | rodriga joins (~quassel@134.204.25.66) |
| 2021-04-21 14:59:38 | <merijn> | cjay: I dunno, personally I don't spend anytime worrying about supporting stack |
| 2021-04-21 14:59:43 | × | aVikingTrex quits (~aVikingTr@2001:8003:340d:d00:b2de:b98:7a93:b0ea) (Ping timeout: 250 seconds) |
| 2021-04-21 15:01:23 | <merijn> | cjay: I can highly recommend not giving a shit about people who don't pay you :) |
| 2021-04-21 15:01:37 | <cjay> | :) |
| 2021-04-21 15:01:47 | <merijn> | That applies to any open source project, language, and ecosystem, tbh |
| 2021-04-21 15:02:59 | × | plakband quits (~plakband@softbank126227040096.bbtec.net) (Quit: WeeChat 2.9) |
| 2021-04-21 15:03:28 | → | bitmagie joins (~Thunderbi@200116b8063572001499edd4f9d505b9.dip.versatel-1u1.de) |
| 2021-04-21 15:07:04 | → | kiweun joins (~kiweun@2607:fea8:2a62:9600:68a0:cf01:7577:43eb) |
| 2021-04-21 15:08:15 | <carbolymer> | merijn: what you're using instead of stack? |
| 2021-04-21 15:11:22 | → | nineonine joins (~nineonine@2604:3d08:7785:9600:5c9e:8d21:d745:3944) |
| 2021-04-21 15:12:24 | × | nineonine quits (~nineonine@2604:3d08:7785:9600:5c9e:8d21:d745:3944) (Remote host closed the connection) |
| 2021-04-21 15:12:58 | <tomsmeding> | cabal |
| 2021-04-21 15:13:14 | → | Wuzzy joins (~Wuzzy@p5790e74f.dip0.t-ipconnect.de) |
| 2021-04-21 15:13:27 | → | nineonine joins (~nineonine@2604:3d08:7785:9600:5c9e:8d21:d745:3944) |
| 2021-04-21 15:13:48 | → | idhugo_ joins (~idhugo@87-49-147-45-mobile.dk.customer.tdc.net) |
| 2021-04-21 15:14:10 | <merijn> | ^^ |
| 2021-04-21 15:15:32 | × | nineonine quits (~nineonine@2604:3d08:7785:9600:5c9e:8d21:d745:3944) (Remote host closed the connection) |
| 2021-04-21 15:15:47 | → | nineonine joins (~nineonine@2604:3d08:7785:9600:5c9e:8d21:d745:3944) |
| 2021-04-21 15:17:20 | × | nineonine quits (~nineonine@2604:3d08:7785:9600:5c9e:8d21:d745:3944) (Remote host closed the connection) |
| 2021-04-21 15:17:33 | × | idhugo_ quits (~idhugo@87-49-147-45-mobile.dk.customer.tdc.net) (Remote host closed the connection) |
| 2021-04-21 15:17:58 | → | idhugo_ joins (~idhugo@87-49-147-45-mobile.dk.customer.tdc.net) |
| 2021-04-21 15:18:23 | → | nineonine joins (~nineonine@2604:3d08:7785:9600:5c9e:8d21:d745:3944) |
| 2021-04-21 15:21:32 | <carbolymer> | ok, when I've started using haskell I've read about 'cabal hell' and jumped right ahead to using stack |
| 2021-04-21 15:21:42 | <carbolymer> | is that still an issue? |
| 2021-04-21 15:22:11 | <geekosaur> | not since cabal v1, which didn't do a goo9d enough job of forcing ghc to see only what it should see for a given project] |
| 2021-04-21 15:22:17 | → | myShoggoth joins (~myShoggot@75.164.11.109) |
| 2021-04-21 15:22:20 | × | Sorna quits (~Sornaensi@79.142.232.102) (Read error: Connection reset by peer) |
| 2021-04-21 15:22:41 | × | nineonine quits (~nineonine@2604:3d08:7785:9600:5c9e:8d21:d745:3944) (Ping timeout: 250 seconds) |
| 2021-04-21 15:22:48 | → | Sorny joins (~Sornaensi@077213200034.dynamic.telenor.dk) |
| 2021-04-21 15:23:08 | <carbolymer> | so basically, is there any advantage of stack over pure cabal, except that stack installs GHC for me |
| 2021-04-21 15:23:17 | <carbolymer> | ? |
| 2021-04-21 15:23:46 | <hpc> | stack has a currated package set |
| 2021-04-21 15:23:51 | <hpc> | although the value of that is dubious |
| 2021-04-21 15:24:20 | <sclv> | right -- if you stick to it that set, its nice, but if you end up using stuff outside that set its possible, but much more of a pain than letting cabal solve things for you |
| 2021-04-21 15:24:36 | × | v01d4lph_ quits (~v01d4lph4@27.57.103.213) (Remote host closed the connection) |
| 2021-04-21 15:24:40 | × | ep1ctetus quits (~epictetus@ip72-194-54-201.sb.sd.cox.net) (Remote host closed the connection) |
| 2021-04-21 15:25:01 | → | ep1ctetus joins (~epictetus@ip72-194-54-201.sb.sd.cox.net) |
| 2021-04-21 15:25:10 | → | v01d4lph4 joins (~v01d4lph4@27.57.103.213) |
| 2021-04-21 15:25:35 | <hpc> | it's like a less extreme version of using distro packages |
All times are in UTC.