Logs: liberachat/#haskell
| 2021-05-27 14:37:30 | × | merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 264 seconds) |
| 2021-05-27 14:39:13 | → | Ranhir joins (~Ranhir@157.97.53.139) |
| 2021-05-27 14:39:18 | × | holy_ quits (~h01y_b4z0@2400:adc1:178:c800:9e45:76a9:57f2:1665) (Ping timeout: 264 seconds) |
| 2021-05-27 14:39:56 | → | vicentius joins (~vicentius@user/vicentius) |
| 2021-05-27 14:41:37 | → | Robin_Jadoul joins (~Robin_Jad@152.67.64.160) |
| 2021-05-27 14:41:51 | → | shapr joins (~user@pool-100-36-247-68.washdc.fios.verizon.net) |
| 2021-05-27 14:42:15 | × | ramon quits (~ramon@user/ramon) (Quit: Konversation terminated!) |
| 2021-05-27 14:42:22 | × | mojobask quits (~user@95.155.34.8) (Ping timeout: 265 seconds) |
| 2021-05-27 14:42:36 | × | MidAutumnMoon quits (~MidAutumn@user/midautumnmoon) (Quit: Quit 啾) |
| 2021-05-27 14:45:16 | → | favonia joins (~favonia@user/favonia) |
| 2021-05-27 14:45:53 | × | ddellacosta quits (~ddellacos@89.46.62.115) (Remote host closed the connection) |
| 2021-05-27 14:46:24 | → | MidAutumnMoon joins (~MidAutumn@user/midautumnmoon) |
| 2021-05-27 14:46:28 | → | ddellacosta joins (~ddellacos@89.46.62.115) |
| 2021-05-27 14:49:20 | <seeg> | does anyone know why I get this error in haddock: |
| 2021-05-27 14:49:20 | <seeg> | parse error on input ‘-- | Adding new 'Children' score’ |
| 2021-05-27 14:49:20 | <seeg> | the code looks like this: |
| 2021-05-27 14:49:20 | <seeg> | -- Hence others lists lay around 0 score |
| 2021-05-27 14:49:20 | <seeg> | addScorePatch fl (t, (NgramsPatch children' (Patch.Replace old_list new_list))) = |
| 2021-05-27 14:49:21 | <seeg> | -- | Adding new 'Children' score |
| 2021-05-27 14:50:25 | × | ubert quits (~Thunderbi@p200300ecdf259d7974882ed522245916.dip0.t-ipconnect.de) (Remote host closed the connection) |
| 2021-05-27 14:50:25 | ubert1 | is now known as ubert |
| 2021-05-27 14:50:25 | → | ikex joins (~ash@user/ikex) |
| 2021-05-27 14:50:36 | ← | lorxiu parts (~user@240e:3b1:2470:b600:bb:1c1e:4256:2) (ERC (IRC client for Emacs 28.0.50)) |
| 2021-05-27 14:50:44 | → | ub joins (~Thunderbi@p200300ecdf259d7974882ed522245916.dip0.t-ipconnect.de) |
| 2021-05-27 14:50:45 | <dminuoso> | seeg: -- | is a stanza for haddock decoration |
| 2021-05-27 14:50:57 | → | eggplantade joins (~Eggplanta@2600:1700:bef1:5e10:b043:8b77:c7da:42a0) |
| 2021-05-27 14:51:05 | <dminuoso> | It's for stuff like the following (!) binding or constructor |
| 2021-05-27 14:51:35 | <dminuoso> | Since syntactically an expression follows, rather than the definition of a constructor or a binding group, a parse error ensues. |
| 2021-05-27 14:51:52 | × | betelgeuse quits (~john2gb@94-225-47-8.access.telenet.be) (Ping timeout: 264 seconds) |
| 2021-05-27 14:52:50 | <seeg> | ah ok |
| 2021-05-27 14:52:58 | <seeg> | so just '-- Adding ...' is enough? |
| 2021-05-27 14:53:03 | <dminuoso> | Yes. |
| 2021-05-27 14:53:06 | <seeg> | ok |
| 2021-05-27 14:53:13 | <dminuoso> | seeg: https://haskell-haddock.readthedocs.io/en/latest/markup.html |
| 2021-05-27 14:53:33 | <dminuoso> | Any of this markup triggers haddock. There you can find documentation on when which markup stanza is expected/allowed. |
| 2021-05-27 14:53:49 | <seeg> | yes but this is about top-level definitions however this page doesn't say much about definitions inside functions :) |
| 2021-05-27 14:54:14 | <seeg> | https://www.haskell.org/haddock/doc/html/ch03s02.html |
| 2021-05-27 14:54:24 | <seeg> | but this is for function definition anyways |
| 2021-05-27 14:54:33 | <dminuoso> | seeg: the documentation is not very good, admittedly |
| 2021-05-27 14:54:46 | <seeg> | ok, i just try to add basic docs to a large codebase |
| 2021-05-27 14:54:57 | × | haskman quits (~haskman@106.212.143.206) (Quit: Going to sleep. ZZZzzz…) |
| 2021-05-27 14:55:03 | <seeg> | but thank you, error is gone now |
| 2021-05-27 14:55:20 | <seeg> | and for commented out code like: |
| 2021-05-27 14:55:21 | <seeg> | -- $ Set.toList |
| 2021-05-27 14:55:27 | <seeg> | i guess it should be: |
| 2021-05-27 14:55:27 | <seeg> | -- \$ Set.toList |
| 2021-05-27 14:55:39 | → | holy_ joins (~h01y_b4z0@2400:adc1:178:c800:9e45:76a9:57f2:1665) |
| 2021-05-27 14:55:46 | <seeg> | btw docs don't say anything about -- $ so i didn't expect this to fail |
| 2021-05-27 14:55:52 | <dminuoso> | They do |
| 2021-05-27 14:55:55 | <seeg> | ah? |
| 2021-05-27 14:55:57 | <dminuoso> | See named chunks |
| 2021-05-27 14:56:07 | <seeg> | The following characters have special meanings in documentation comments: \, /, ', `, ", @, <. |
| 2021-05-27 14:56:15 | <seeg> | ah ok |
| 2021-05-27 14:56:18 | <dminuoso> | Like I said, the documentation is not very good. |
| 2021-05-27 14:56:26 | <dminuoso> | You have to read it all to understand |
| 2021-05-27 14:56:39 | <seeg> | ok i guess with this codebase i'll learn quite a bit :) |
| 2021-05-27 14:57:24 | <dminuoso> | seeg: By the way, feel free to improve the haddock documentation along the way |
| 2021-05-27 14:57:35 | <dminuoso> | So that the next unsuspecting user will stumble over the same steps. |
| 2021-05-27 14:58:12 | <seeg> | i guess if it were all on one page then my search for '$' would point me here, somehow i missed this page |
| 2021-05-27 14:58:20 | × | ukari quits (~ukari@user/ukari) (Remote host closed the connection) |
| 2021-05-27 14:58:47 | <seeg> | well, i guess in similiary to a FAQ, a 'common errors' page could be nice |
| 2021-05-27 14:59:00 | × | ddellacosta quits (~ddellacos@89.46.62.115) (Read error: Connection reset by peer) |
| 2021-05-27 14:59:00 | <seeg> | i'll add a stub |
| 2021-05-27 14:59:16 | <dminuoso> | seeg: https://github.com/haskell/haddock/tree/ghc-9.2/doc |
| 2021-05-27 14:59:21 | → | ukari joins (~ukari@user/ukari) |
| 2021-05-27 15:00:19 | <seeg> | error: object 2b07607c4562034359f52b42055f8d2af4721ca4: missingNameBeforeEmail: invalid author/committer line - missing space before email |
| 2021-05-27 15:00:19 | <seeg> | cloning is problematic already :D |
| 2021-05-27 15:01:01 | × | coot quits (~coot@37.30.49.19.nat.umts.dynamic.t-mobile.pl) (Quit: coot) |
| 2021-05-27 15:01:13 | → | pricly_yellow joins (~pricly_ye@static.90.189.158.212.sinor.ru) |
| 2021-05-27 15:01:31 | × | pricly_yellow quits (~pricly_ye@static.90.189.158.212.sinor.ru) (Remote host closed the connection) |
| 2021-05-27 15:01:36 | <dminuoso> | huh |
| 2021-05-27 15:01:57 | → | brandonh joins (~brandonh@151.38.94.3) |
| 2021-05-27 15:02:07 | × | holy_ quits (~h01y_b4z0@2400:adc1:178:c800:9e45:76a9:57f2:1665) (Remote host closed the connection) |
| 2021-05-27 15:02:18 | → | pricly_yellow joins (~pricly_ye@static.90.189.158.212.sinor.ru) |
| 2021-05-27 15:02:24 | → | holy_ joins (~h01y_b4z0@2400:adc1:178:c800:9e45:76a9:57f2:1665) |
| 2021-05-27 15:03:04 | <dminuoso> | You can set `fsck.missingNameBeforeEmail = ignore` is a hotfix I guess? But its awkward, I wonder whether you have an old git version |
| 2021-05-27 15:03:26 | → | ddellacosta joins (~ddellacos@86.106.121.100) |
| 2021-05-27 15:03:28 | <dminuoso> | Clones fine for me |
| 2021-05-27 15:03:52 | <seeg> | i use arch, usually all packages are quite fresh |
| 2021-05-27 15:04:22 | → | sedeki joins (~textual@user/sedeki) |
| 2021-05-27 15:04:57 | × | lortabac quits (~lortabac@2a01:e0a:541:b8f0:2343:c6dc:9eb2:eac7) (Ping timeout: 244 seconds) |
| 2021-05-27 15:05:19 | <dminuoso> | Ah yes, I see the same warnings in `git fsck` |
| 2021-05-27 15:05:30 | × | da39a3ee5e6b4b0d quits (~textual@2403:6200:8876:ee80:d5a4:34e6:41e0:8f20) (Quit: My MacBook has gone to sleep. ZZZzzz…) |
| 2021-05-27 15:05:56 | <dminuoso> | Perhaps those commits should be added to an fsck skiplist |
| 2021-05-27 15:06:01 | → | mceldeen joins (~igloo@71-33-209-141.hlrn.qwest.net) |
| 2021-05-27 15:06:39 | → | leotaku joins (~leotaku@046075079231.atmpu0011.highway.a1.net) |
| 2021-05-27 15:07:59 | × | falsifian quits (~falsifian@cpef81d0f9cb2f3-cmf81d0f9cb2f0.cpe.net.fido.ca) (Quit: leaving) |
| 2021-05-27 15:08:49 | × | ac[m] quits (~aloiscoch@2001:470:69fc:105::65) (Quit: node-irc says goodbye) |
| 2021-05-27 15:08:49 | × | siraben quits (~siraben@user/siraben) (Quit: node-irc says goodbye) |
| 2021-05-27 15:08:54 | × | MidAutumnMoon quits (~MidAutumn@user/midautumnmoon) (Quit: Quit 啾) |
| 2021-05-27 15:09:15 | → | ac[m] joins (~aloiscoch@2001:470:69fc:105::65) |
| 2021-05-27 15:09:15 | → | siraben joins (~siraben@user/siraben) |
| 2021-05-27 15:09:31 | → | MidAutumnMoon joins (~MidAutumn@user/midautumnmoon) |
| 2021-05-27 15:09:34 | × | mceldeen quits (~igloo@71-33-209-141.hlrn.qwest.net) (Remote host closed the connection) |
| 2021-05-27 15:10:24 | <dminuoso> | seeg: But anyway, you can just configure the above fsck setting in your git config |
| 2021-05-27 15:11:40 | × | favonia quits (~favonia@user/favonia) (Ping timeout: 244 seconds) |
| 2021-05-27 15:11:42 | → | ddellaco_ joins (~ddellacos@86.106.121.30) |
| 2021-05-27 15:12:26 | <seeg> | ok thank you |
| 2021-05-27 15:13:25 | → | favonia joins (~favonia@user/favonia) |
| 2021-05-27 15:13:58 | × | ddellacosta quits (~ddellacos@86.106.121.100) (Ping timeout: 264 seconds) |
All times are in UTC.