Logs: liberachat/#haskell
| 2025-10-08 10:03:27 | → | synchromesh joins (~john@2406:5a00:2412:2c00:59f4:ea7:a30f:8ab4) |
| 2025-10-08 10:05:21 | × | chromoblob quits (~chromoblo@user/chromob1ot1c) (Ping timeout: 252 seconds) |
| 2025-10-08 10:05:38 | → | chromoblob joins (~chromoblo@user/chromob1ot1c) |
| 2025-10-08 10:06:06 | → | fp joins (~Thunderbi@2001:708:150:10::72df) |
| 2025-10-08 10:09:12 | → | merijn joins (~merijn@77.242.116.146) |
| 2025-10-08 10:10:47 | × | xff0x quits (~xff0x@fsb6a9491c.tkyc517.ap.nuro.jp) (Ping timeout: 250 seconds) |
| 2025-10-08 10:14:01 | × | lxsameer quits (~lxsameer@Serene/lxsameer) (Ping timeout: 256 seconds) |
| 2025-10-08 10:16:13 | × | merijn quits (~merijn@77.242.116.146) (Ping timeout: 264 seconds) |
| 2025-10-08 10:20:52 | → | fp1 joins (~Thunderbi@2001:708:20:1406::10c5) |
| 2025-10-08 10:21:18 | × | fp quits (~Thunderbi@2001:708:150:10::72df) (Ping timeout: 252 seconds) |
| 2025-10-08 10:22:05 | fp1 | is now known as fp |
| 2025-10-08 10:24:36 | × | fp quits (~Thunderbi@2001:708:20:1406::10c5) (Remote host closed the connection) |
| 2025-10-08 10:27:49 | → | merijn joins (~merijn@77.242.116.146) |
| 2025-10-08 10:30:44 | × | qqe quits (~qqq@185.54.23.200) (Remote host closed the connection) |
| 2025-10-08 10:33:53 | × | poscat quits (~poscat@user/poscat) (Remote host closed the connection) |
| 2025-10-08 10:34:17 | → | poscat joins (~poscat@user/poscat) |
| 2025-10-08 10:35:20 | × | merijn quits (~merijn@77.242.116.146) (Ping timeout: 240 seconds) |
| 2025-10-08 10:37:16 | × | tamer quits (~tamer@user/tamer) (Quit: "") |
| 2025-10-08 10:37:34 | → | tamer joins (~tamer@5.2.74.82) |
| 2025-10-08 10:41:10 | → | merijn joins (~merijn@77.242.116.146) |
| 2025-10-08 10:42:52 | × | Googulator35 quits (~Googulato@2a01-036d-0106-03fa-5967-6f2a-1e2d-f05a.pool6.digikabel.hu) (Quit: Client closed) |
| 2025-10-08 10:43:06 | → | Googulator35 joins (~Googulato@193-226-241-224.pool.digikabel.hu) |
| 2025-10-08 10:44:46 | × | CiaoSen quits (~Jura@2a02:8071:64e1:da0:5a47:caff:fe78:33db) (Ping timeout: 255 seconds) |
| 2025-10-08 10:52:12 | → | ljdarj joins (~Thunderbi@user/ljdarj) |
| 2025-10-08 10:54:01 | × | Maxdamantus quits (~Maxdamant@user/maxdamantus) (Ping timeout: 264 seconds) |
| 2025-10-08 10:54:54 | → | Maxdamantus joins (~Maxdamant@user/maxdamantus) |
| 2025-10-08 10:55:43 | × | merijn quits (~merijn@77.242.116.146) (Ping timeout: 240 seconds) |
| 2025-10-08 11:02:45 | → | Square joins (~Square4@user/square) |
| 2025-10-08 11:05:40 | → | merijn joins (~merijn@77.242.116.146) |
| 2025-10-08 11:08:52 | → | fp joins (~Thunderbi@2001:708:20:1406::10c5) |
| 2025-10-08 11:08:53 | × | Enrico63 quits (~Enrico63@2a0b:e541:10d0:0:9efc:e8ff:fe24:3213) (Quit: Client closed) |
| 2025-10-08 11:09:08 | → | SlackCoder joins (~SlackCode@64-94-63-8.ip.weststar.net.ky) |
| 2025-10-08 11:12:07 | × | fp quits (~Thunderbi@2001:708:20:1406::10c5) (Remote host closed the connection) |
| 2025-10-08 11:14:49 | → | xff0x joins (~xff0x@2405:6580:b080:900:eb0a:12ff:4234:8ea5) |
| 2025-10-08 11:16:34 | × | poscat quits (~poscat@user/poscat) (Remote host closed the connection) |
| 2025-10-08 11:16:55 | → | poscat joins (~poscat@user/poscat) |
| 2025-10-08 11:24:16 | × | chromoblob quits (~chromoblo@user/chromob1ot1c) (Read error: Connection reset by peer) |
| 2025-10-08 11:24:36 | → | chromoblob joins (~chromoblo@user/chromob1ot1c) |
| 2025-10-08 11:30:20 | × | poscat quits (~poscat@user/poscat) (Remote host closed the connection) |
| 2025-10-08 11:30:51 | → | poscat joins (~poscat@user/poscat) |
| 2025-10-08 11:34:29 | × | chromoblob quits (~chromoblo@user/chromob1ot1c) (Ping timeout: 256 seconds) |
| 2025-10-08 11:35:00 | → | chromoblob joins (~chromoblo@user/chromob1ot1c) |
| 2025-10-08 11:35:20 | × | Lord_of_Life quits (~Lord@user/lord-of-life/x-2819915) (Ping timeout: 256 seconds) |
| 2025-10-08 11:35:52 | → | Lord_of_Life joins (~Lord@user/lord-of-life/x-2819915) |
| 2025-10-08 11:38:56 | × | chromoblob quits (~chromoblo@user/chromob1ot1c) (Ping timeout: 240 seconds) |
| 2025-10-08 11:45:31 | × | poscat quits (~poscat@user/poscat) (Remote host closed the connection) |
| 2025-10-08 11:46:04 | → | poscat joins (~poscat@user/poscat) |
| 2025-10-08 11:51:23 | × | poscat quits (~poscat@user/poscat) (Remote host closed the connection) |
| 2025-10-08 11:52:22 | → | poscat joins (~poscat@user/poscat) |
| 2025-10-08 11:54:06 | → | chromoblob joins (~chromoblo@user/chromob1ot1c) |
| 2025-10-08 11:54:11 | × | poscat quits (~poscat@user/poscat) (Remote host closed the connection) |
| 2025-10-08 11:54:25 | → | poscat joins (~poscat@user/poscat) |
| 2025-10-08 11:54:56 | × | divlamir quits (~divlamir@user/divlamir) (Read error: Connection reset by peer) |
| 2025-10-08 11:55:10 | → | divlamir joins (~divlamir@user/divlamir) |
| 2025-10-08 11:56:07 | × | poscat quits (~poscat@user/poscat) (Remote host closed the connection) |
| 2025-10-08 11:56:28 | → | poscat joins (~poscat@user/poscat) |
| 2025-10-08 11:58:56 | × | cyphase quits (~cyphase@user/cyphase) (Ping timeout: 240 seconds) |
| 2025-10-08 12:04:07 | × | merijn quits (~merijn@77.242.116.146) (Ping timeout: 240 seconds) |
| 2025-10-08 12:04:58 | → | defragger joins (~random@i6DFADE93.versanet.de) |
| 2025-10-08 12:05:46 | → | cyphase joins (~cyphase@user/cyphase) |
| 2025-10-08 12:05:46 | × | Googulator35 quits (~Googulato@193-226-241-224.pool.digikabel.hu) (Quit: Client closed) |
| 2025-10-08 12:05:56 | → | Googulator35 joins (~Googulato@193-226-241-224.pool.digikabel.hu) |
| 2025-10-08 12:12:13 | × | trickard quits (~trickard@cpe-51-98-47-163.wireline.com.au) (Ping timeout: 244 seconds) |
| 2025-10-08 12:12:30 | → | trickard_ joins (~trickard@cpe-51-98-47-163.wireline.com.au) |
| 2025-10-08 12:12:43 | → | fp joins (~Thunderbi@wireless-86-50-141-222.open.aalto.fi) |
| 2025-10-08 12:15:08 | × | fp quits (~Thunderbi@wireless-86-50-141-222.open.aalto.fi) (Remote host closed the connection) |
| 2025-10-08 12:15:40 | → | Googulator90 joins (~Googulato@193-226-241-224.pool.digikabel.hu) |
| 2025-10-08 12:15:42 | × | Googulator35 quits (~Googulato@193-226-241-224.pool.digikabel.hu) (Quit: Client closed) |
| 2025-10-08 12:17:33 | × | trickard_ quits (~trickard@cpe-51-98-47-163.wireline.com.au) (Ping timeout: 256 seconds) |
| 2025-10-08 12:18:01 | → | merijn joins (~merijn@77.242.116.146) |
| 2025-10-08 12:19:53 | → | qqe joins (~qqq@185.54.23.200) |
| 2025-10-08 12:22:35 | → | trickard_ joins (~trickard@cpe-52-98-47-163.wireline.com.au) |
| 2025-10-08 12:24:40 | × | merijn quits (~merijn@77.242.116.146) (Ping timeout: 255 seconds) |
| 2025-10-08 12:26:01 | trickard_ | is now known as trickard |
| 2025-10-08 12:30:27 | × | poscat quits (~poscat@user/poscat) (Remote host closed the connection) |
| 2025-10-08 12:30:58 | → | Googulator52 joins (~Googulato@2a01-036d-0106-03fa-5967-6f2a-1e2d-f05a.pool6.digikabel.hu) |
| 2025-10-08 12:31:03 | → | poscat joins (~poscat@user/poscat) |
| 2025-10-08 12:31:18 | × | Googulator90 quits (~Googulato@193-226-241-224.pool.digikabel.hu) (Quit: Client closed) |
| 2025-10-08 12:37:59 | → | merijn joins (~merijn@77.242.116.146) |
| 2025-10-08 12:41:06 | <mauke> | Morj: sounds like something you could script in irssi |
| 2025-10-08 12:42:22 | <bwe> | *** Exception: Prelude.last: empty list |
| 2025-10-08 12:42:40 | × | SlackCoder quits (~SlackCode@64-94-63-8.ip.weststar.net.ky) (Quit: Leaving) |
| 2025-10-08 12:42:43 | <bwe> | how can I get a little more context? |
| 2025-10-08 12:42:54 | <bwe> | (and why isn't it default?) |
| 2025-10-08 12:44:11 | → | comerijn joins (~merijn@77.242.116.146) |
| 2025-10-08 12:45:41 | → | Googulator53 joins (~Googulato@2a01-036d-0106-03fa-5967-6f2a-1e2d-f05a.pool6.digikabel.hu) |
| 2025-10-08 12:45:41 | × | Googulator52 quits (~Googulato@2a01-036d-0106-03fa-5967-6f2a-1e2d-f05a.pool6.digikabel.hu) (Quit: Client closed) |
| 2025-10-08 12:47:01 | × | merijn quits (~merijn@77.242.116.146) (Ping timeout: 256 seconds) |
| 2025-10-08 12:47:04 | → | annamalai joins (~annamalai@157.32.202.67) |
| 2025-10-08 12:48:10 | → | guest3860 joins (~username@2a04:27c0:0:d::e018) |
| 2025-10-08 12:48:14 | × | user363627 quits (~user@user/user363627) (Remote host closed the connection) |
| 2025-10-08 12:48:34 | <tomsmeding> | bwe: haskell, being lazy, does not necessarily execute according to the lexical structure of your program; as a result, in contrast to e.g. C/C++, there is no hardware call stack that you can just read off and get something useful |
| 2025-10-08 12:49:23 | <tomsmeding> | there are two things you can do to get something useful: print the actual haskell evaluation stack (which is in order of forcing, not in order of "calls" in your program); you can get that by compiling in profiling mode and running with +RTS -xc |
| 2025-10-08 12:49:35 | <tomsmeding> | (cabal run --enable-profiling yourprogram -- +RTS -xc) |
| 2025-10-08 12:49:56 | <bwe> | would that automatically show a context (e.g. where the Prelude.last was called)? |
| 2025-10-08 12:50:27 | <tomsmeding> | alternatively, you can add additional annotations to your program that explicitly collect lexical call stack info; this slows down the program a little because it now does more work and also inhibits some optimisations |
| 2025-10-08 12:50:55 | <tomsmeding> | actually I think this latter thing is already done automatically if you --enable-profiling in cabal |
| 2025-10-08 12:51:33 | <tomsmeding> | bwe: yes, with --enable-profilng, optionally with +RTS -xc, you should get more backtrace info |
| 2025-10-08 12:52:14 | <tomsmeding> | -xc prints backtrace info on EVERY thrown exception though, even if it ends up being caught later -- this is a fun way to find out that the haskell standard library uses quite a bunch of exceptions internally sometimes |
| 2025-10-08 12:52:42 | <tomsmeding> | bwe: what GHC version are you on? |
All times are in UTC.