Home freenode/#haskell: Logs Calendar

Logs: freenode/#haskell

←Prev  Next→ 502,152 events total
2021-04-07 18:42:10 × pjb quits (~t@2a01cb04063ec500d0cbc77584c6a81b.ipv6.abo.wanadoo.fr) (Quit: upgrading to Bug Sure :-/)
2021-04-07 18:43:17 × noCheese quits (~nocheese@unaffiliated/nocheese) (Ping timeout: 246 seconds)
2021-04-07 18:45:31 × hexfive quits (~hexfive@50.35.83.177) (Quit: i must go. my people need me.)
2021-04-07 18:46:44 Guest_29 joins (a2ec0862@162-236-8-98.lightspeed.sntcca.sbcglobal.net)
2021-04-07 18:46:57 coot joins (~coot@37.30.55.131.nat.umts.dynamic.t-mobile.pl)
2021-04-07 18:47:47 × Guest_29 quits (a2ec0862@162-236-8-98.lightspeed.sntcca.sbcglobal.net) (Client Quit)
2021-04-07 18:48:16 × royal_screwup21 quits (52254809@gateway/web/cgi-irc/kiwiirc.com/ip.82.37.72.9) (Quit: Connection closed)
2021-04-07 18:48:36 royal_screwup21 joins (52254809@gateway/web/cgi-irc/kiwiirc.com/ip.82.37.72.9)
2021-04-07 18:51:19 mkDoku joins (~TheMule@aftr-37-201-195-134.unity-media.net)
2021-04-07 18:52:05 × zebrag quits (~inkbottle@aaubervilliers-654-1-2-51.w83-200.abo.wanadoo.fr) (Quit: Konversation terminated!)
2021-04-07 18:52:24 zebrag joins (~inkbottle@aaubervilliers-654-1-2-51.w83-200.abo.wanadoo.fr)
2021-04-07 18:52:53 × nbloomf quits (~nbloomf@2600:1700:ad14:3020:7409:794c:2926:5b5e) (Quit: My MacBook has gone to sleep. ZZZzzz…)
2021-04-07 18:53:16 × solvr quits (57e3c46d@87.227.196.109) (Quit: Connection closed)
2021-04-07 18:53:30 solvr joins (57e3c46d@87.227.196.109)
2021-04-07 18:53:40 × royal_screwup21 quits (52254809@gateway/web/cgi-irc/kiwiirc.com/ip.82.37.72.9) (Ping timeout: 268 seconds)
2021-04-07 18:54:11 × justsomeguy quits (~justsomeg@unaffiliated/--/x-3805311) (Ping timeout: 248 seconds)
2021-04-07 18:56:17 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
2021-04-07 18:57:14 fendor_ is now known as fendor
2021-04-07 18:57:56 <fendor> can I define haddock documentation for a field in a data type? Assuming, no record syntax.
2021-04-07 18:58:09 <monochrom> I think yes
2021-04-07 18:58:23 <monochrom> Do you have access to haddock's manual?
2021-04-07 18:59:04 xhlr parts (~xhlr@static.144.156.216.95.clients.your-server.de) ()
2021-04-07 18:59:23 <fendor> it is probably on the internet, so I assume so
2021-04-07 18:59:26 <monochrom> https://haskell-haddock.readthedocs.io/en/latest/markup.html#constructors-and-record-fields
2021-04-07 18:59:45 <monochrom> It also comes with GHC, on your hard disk
2021-04-07 19:00:20 <fendor> that's hard to find though!
2021-04-07 19:00:28 <fendor> on the harddisk, I mean
2021-04-07 19:00:34 jamm_ joins (~jamm@unaffiliated/jamm)
2021-04-07 19:00:41 <fendor> ok great, I think I can find a bug report for HLS then
2021-04-07 19:00:42 <monochrom> Look under <prefix>/share/doc for much goodies
2021-04-07 19:00:45 <fendor> *file
2021-04-07 19:01:01 × mkDoku quits (~TheMule@aftr-37-201-195-134.unity-media.net) (Ping timeout: 260 seconds)
2021-04-07 19:01:07 minoru_shiraeesh joins (~shiraeesh@109.166.57.223)
2021-04-07 19:01:25 <monochrom> <prefix>/share/doc/ghc-<version>/html
2021-04-07 19:01:31 xhlr joins (~xhlr@static.144.156.216.95.clients.your-server.de)
2021-04-07 19:01:38 × __minoru__shirae quits (~shiraeesh@5.101.59.224) (Ping timeout: 240 seconds)
2021-04-07 19:02:01 <monochrom> GHC user's guide, library doc for libraries that come with GHC, haddock
2021-04-07 19:03:11 nbloomf joins (~nbloomf@2600:1700:ad14:3020:7409:794c:2926:5b5e)
2021-04-07 19:03:31 × idhugo quits (~idhugo@87-49-147-45-mobile.dk.customer.tdc.net) (Ping timeout: 268 seconds)
2021-04-07 19:04:05 <fendor> good to remember, thank you!
2021-04-07 19:05:00 <tomsmeding> oooooh
2021-04-07 19:05:05 × nbloomf quits (~nbloomf@2600:1700:ad14:3020:7409:794c:2926:5b5e) (Client Quit)
2021-04-07 19:05:07 × jamm_ quits (~jamm@unaffiliated/jamm) (Ping timeout: 260 seconds)
2021-04-07 19:05:29 <geekosaur> https://downloads.haskell.org/ghc/latest/docs/html/
2021-04-07 19:05:36 <tomsmeding> yay 'base' haddocks on my local disk
2021-04-07 19:06:13 <tomsmeding> that will save hackage some bandwidth
2021-04-07 19:06:47 nbloomf joins (~nbloomf@2600:1700:ad14:3020:7409:794c:2926:5b5e)
2021-04-07 19:07:10 <monochrom> My reason for preferring local, comes-with-the-installation docs is that online docs are always the wrong version.
2021-04-07 19:07:18 fiedlr joins (~fiedlr@83.148.33.254)
2021-04-07 19:08:17 <geekosaur> oh good, ghcup does install them
2021-04-07 19:08:52 justanotheruser joins (~justanoth@unaffiliated/justanotheruser)
2021-04-07 19:08:54 <fendor> I agree, the first ghc manual link is almost always the wrong version
2021-04-07 19:09:04 <monochrom> Only linux distros butcher the docs into separate "packages".
2021-04-07 19:09:37 <geekosaur> you can replace "latest" with a specific version
2021-04-07 19:09:46 <monochrom> ghcup and stack pick from official builds, but all official builds have docs built.
2021-04-07 19:11:19 × coot quits (~coot@37.30.55.131.nat.umts.dynamic.t-mobile.pl) (Quit: coot)
2021-04-07 19:12:50 <mananamenos> tomsmeding, thank you
2021-04-07 19:14:47 × raehik quits (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net) (Ping timeout: 246 seconds)
2021-04-07 19:17:36 × justanotheruser quits (~justanoth@unaffiliated/justanotheruser) (Read error: Connection reset by peer)
2021-04-07 19:17:48 × nbloomf quits (~nbloomf@2600:1700:ad14:3020:7409:794c:2926:5b5e) (Quit: My MacBook has gone to sleep. ZZZzzz…)
2021-04-07 19:19:47 <fiedlr> Hi, did anyone try to build llvm-hs on macOS? My project always fails with > fatal error: too many errors emitted, stopping now [-ferror-limit=], > `gcc' failed in phase `C Compiler'. (Exit code: 1). I've tried --with-gcc pointing to the brew gcc, various cxx flags, but nothing helped.
2021-04-07 19:20:04 × heatsink quits (~heatsink@108-201-191-115.lightspeed.sntcca.sbcglobal.net) (Remote host closed the connection)
2021-04-07 19:20:54 × dcoutts quits (~duncan@94.186.125.91.dyn.plus.net) (Remote host closed the connection)
2021-04-07 19:21:01 × connrs quits (~connrs@connolley.uk) (Quit: ZNC 1.8.2 - https://znc.in)
2021-04-07 19:21:17 dcoutts joins (~duncan@94.186.125.91.dyn.plus.net)
2021-04-07 19:21:19 <fiedlr> It seems like it uses some old version of C++ but I have no idea why (most errors are caused that the compiler fails to recognize things like auto, constexpr and so on)
2021-04-07 19:22:41 connrs joins (~connrs@connolley.uk)
2021-04-07 19:23:29 × connrs quits (~connrs@connolley.uk) (Client Quit)
2021-04-07 19:24:08 <tomsmeding> fiedlr: can you manage to pinpoint which gcc is actually used during the build?
2021-04-07 19:24:53 connrs joins (~connrs@connolley.uk)
2021-04-07 19:24:54 notzmv joins (~zmv@unaffiliated/zmv)
2021-04-07 19:25:05 <tomsmeding> e.g. by writing a script that spams 'ps aux | grep "gcc\|g++" | cut -d" " -f1' to get the current process ID of the compiler process, if any
2021-04-07 19:25:28 <tomsmeding> and then getting the executable path of that thing in some macOS-specific way (on linux you'd use /proc/)
2021-04-07 19:26:25 heatsink joins (~heatsink@108-201-191-115.lightspeed.sntcca.sbcglobal.net)
2021-04-07 19:26:31 <geekosaur> you missed clang, which is kinda the point of llvm-hs
2021-04-07 19:26:53 <geekosaur> in your grep
2021-04-07 19:27:03 <tomsmeding> hah
2021-04-07 19:27:49 × connrs quits (~connrs@connolley.uk) (Client Quit)
2021-04-07 19:28:02 Sornaensis joins (~Sornaensi@85.203.36.21)
2021-04-07 19:28:12 <tomsmeding> on linux I'd say 'strace' the hell out of it, but in my experience mac's alternative, dtruss, more often doesn't work than does
2021-04-07 19:28:29 × dcoutts quits (~duncan@94.186.125.91.dyn.plus.net) (Remote host closed the connection)
2021-04-07 19:28:49 dcoutts joins (~duncan@94.186.125.91.dyn.plus.net)
2021-04-07 19:28:53 connrs joins (~connrs@connolley.uk)
2021-04-07 19:29:37 <geekosaur> it works but you have to up a bunch of table sizes or it crashes
2021-04-07 19:30:27 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 248 seconds)
2021-04-07 19:31:07 × Sorny quits (~Sornaensi@077213203030.dynamic.telenor.dk) (Ping timeout: 265 seconds)
2021-04-07 19:31:07 × kiltzman quits (~k1ltzman@195.189.99.96) (Ping timeout: 265 seconds)
2021-04-07 19:31:11 <maerwald> monochrom: mostly official builds :p
2021-04-07 19:31:14 <geekosaur> on second thought why am I defending apple when I got torqued off at what they were doing to their ecosystem several years ago
2021-04-07 19:31:43 <monochrom> :)
2021-04-07 19:32:05 <maerwald> monochrom: https://downloads.haskell.org/~ghcup/unofficial-bindists/ghc/ here are some semi-official builds (things that didn't make it through the GHC release process)
2021-04-07 19:32:20 <maerwald> mostly alpine/freebsd
2021-04-07 19:32:24 <tomsmeding> geekosaur: I don't see saying "it works if you do some random adjustments otherwise it crashes" as defending apple :p
2021-04-07 19:32:25 × dcoutts quits (~duncan@94.186.125.91.dyn.plus.net) (Remote host closed the connection)
2021-04-07 19:32:50 dcoutts joins (~duncan@94.186.125.91.dyn.plus.net)
2021-04-07 19:33:10 <geekosaur> well, I like dtrace. it's unfortunate that the defaults are a bit small regardless of platform
2021-04-07 19:33:19 juliuco joins (~juliuco@213.177.196.21)
2021-04-07 19:34:01 <tomsmeding> maybe I was bitten by not disabling SIP when I was on mac, then dtruss fails in the majority of cases where you'd like it to work
2021-04-07 19:34:29 <tomsmeding> but I thought I remembered that it fails in far more cases than attributable to SIP; but I probably misremember
2021-04-07 19:35:07 × connrs quits (~connrs@connolley.uk) (Quit: ZNC 1.8.2 - https://znc.in)

All times are in UTC.