Home freenode/#haskell: Logs Calendar

Logs: freenode/#haskell

←Prev  Next→ 502,152 events total
2021-04-09 12:55:23 nbloomf joins (~nbloomf@2600:1700:ad14:3020:5954:7325:eb82:7a07)
2021-04-09 12:55:55 fiedlr_ joins (~fiedlr@83.148.33.254)
2021-04-09 12:56:21 × fiedlr quits (~fiedlr@83.148.33.254) (Read error: Connection reset by peer)
2021-04-09 12:57:37 royal_screwup21 joins (52254809@gateway/web/cgi-irc/kiwiirc.com/ip.82.37.72.9)
2021-04-09 12:58:06 <merijn> nut: Note that Cabal/Setup.hs is completely orthogonal to "cabal-install" (i.e. the cabal executable) and they have different audiences. Setup.hs is the interface that people making, e.g. apt-get packages use to build their binary packages in a way where they can control everything. Whereas cabal-install is more for developers who don't really care about controlling those details, they just want it built
2021-04-09 12:58:12 <merijn> so they can get to work
2021-04-09 12:58:38 × star_cloud quits (~star_clou@ec2-34-220-44-120.us-west-2.compute.amazonaws.com) (Ping timeout: 260 seconds)
2021-04-09 12:59:16 <merijn> So Setup.hs won't do things like picking/installing dependencies (gotta do that yourself, manually). But both Setup.hs and cabal-install use the CABAL spec (and .cabal files) to determine how the package itself should be built
2021-04-09 12:59:19 × royal_screwup21 quits (52254809@gateway/web/cgi-irc/kiwiirc.com/ip.82.37.72.9) (Client Quit)
2021-04-09 12:59:42 royal_screwup21 joins (52254809@gateway/web/cgi-irc/kiwiirc.com/ip.82.37.72.9)
2021-04-09 13:00:19 Narinas joins (~Narinas@187-178-93-112.dynamic.axtel.net)
2021-04-09 13:02:18 × solvr quits (57e3c46d@87.227.196.109) (Quit: Connection closed)
2021-04-09 13:02:49 LKoen joins (~LKoen@65.250.88.92.rev.sfr.net)
2021-04-09 13:03:09 <nut> i see
2021-04-09 13:03:23 <nut> I read that Setup.hs do some build hooks
2021-04-09 13:03:54 × LKoen quits (~LKoen@65.250.88.92.rev.sfr.net) (Remote host closed the connection)
2021-04-09 13:03:54 <merijn> nut: By default Setup.hs just calls the default install, but you can write a custom Setup.hs and insert all sorts of build hooks, yes
2021-04-09 13:04:12 × royal_screwup21 quits (52254809@gateway/web/cgi-irc/kiwiirc.com/ip.82.37.72.9) (Ping timeout: 240 seconds)
2021-04-09 13:06:46 ddellacosta joins (~ddellacos@ool-44c73afa.dyn.optonline.net)
2021-04-09 13:07:01 royal_screwup21 joins (52254809@gateway/web/cgi-irc/kiwiirc.com/ip.82.37.72.9)
2021-04-09 13:07:28 × ddellacosta quits (~ddellacos@ool-44c73afa.dyn.optonline.net) (Remote host closed the connection)
2021-04-09 13:07:56 ddellacosta joins (~ddellacos@ool-44c73afa.dyn.optonline.net)
2021-04-09 13:07:57 × bitdex quits (~bitdex@gateway/tor-sasl/bitdex) (Ping timeout: 240 seconds)
2021-04-09 13:08:50 <nut> for criterion benchmark inside a cabal project, do people create a separate excutable in the cabal file? or an independant benchmark program?
2021-04-09 13:09:54 <merijn> There's a specific benchmark type
2021-04-09 13:10:32 <merijn> nut: Like: https://github.com/merijn/broadcast-chan/blob/master/broadcast-chan/broadcast-chan.cabal#L130-L151
2021-04-09 13:11:43 <nut> wow nice
2021-04-09 13:12:24 × knupfer quits (~Thunderbi@200116b82b5a2d00e4cb1bb59fe59b68.dip.versatel-1u1.de) (Remote host closed the connection)
2021-04-09 13:13:04 × ddellacosta quits (~ddellacos@ool-44c73afa.dyn.optonline.net) (Remote host closed the connection)
2021-04-09 13:13:11 × zebrag quits (~inkbottle@aaubervilliers-654-1-2-51.w83-200.abo.wanadoo.fr) (Quit: Konversation terminated!)
2021-04-09 13:13:55 × nbloomf quits (~nbloomf@2600:1700:ad14:3020:5954:7325:eb82:7a07) (Quit: My MacBook has gone to sleep. ZZZzzz…)
2021-04-09 13:15:26 zebrag joins (~inkbottle@aaubervilliers-654-1-2-51.w83-200.abo.wanadoo.fr)
2021-04-09 13:17:09 nbloomf joins (~nbloomf@2600:1700:ad14:3020:44ee:6405:ff27:f9ef)
2021-04-09 13:17:11 × gnumonic quits (~gnumonic@c-73-170-91-210.hsd1.ca.comcast.net) (Ping timeout: 258 seconds)
2021-04-09 13:17:18 × Pickchea quits (~private@unaffiliated/pickchea) (Ping timeout: 260 seconds)
2021-04-09 13:18:46 alx741 joins (~alx741@181.196.68.139)
2021-04-09 13:19:56 <nut> what is the type field in the benchmark section of the cabal file?
2021-04-09 13:20:05 <nut> How to set it?
2021-04-09 13:21:02 tallfreddy joins (5ad82372@90.216.35.114)
2021-04-09 13:21:12 × rprije quits (~rprije@59-102-63-15.tpgi.com.au) (Ping timeout: 240 seconds)
2021-04-09 13:21:41 <tallfreddy> hello folks. i'm trying to install cabal on macOS Sierra (10.12). But I can only find binaries for macOS 10.13+ here https://www.haskell.org/cabal/download.html
2021-04-09 13:21:45 <tallfreddy> does anybody know where I can find binaries compatible with macOS 10.12 Sierra?
2021-04-09 13:22:21 <nut> tallfreddy: have you tried ghcup ?
2021-04-09 13:22:38 <nut> It's pretty easy to switch different cabal versions
2021-04-09 13:23:06 <yushyin> nut: https://cabal.readthedocs.io/en/3.4/cabal-package.html?#pkg-field-benchmark-type this type field?
2021-04-09 13:23:18 <olligobber> there, I can now print some basic haskell types and it looks nice (as opposed to whatever pprint does) https://github.com/olligobber/IotaBF/blob/main/lib/THPrintType.hs
2021-04-09 13:23:42 <tallfreddy> nut: I tried installing ghcup from https://www.haskell.org/ghcup/, but I hit this error: dyld: Symbol not found: _futimens
2021-04-09 13:24:01 <maerwald> tallfreddy: which mac version?
2021-04-09 13:24:03 <nut> yushyin: thx
2021-04-09 13:24:10 <tallfreddy> maerwald: macOS Sierra 10.12
2021-04-09 13:24:30 <maerwald> tallfreddy: not supported
2021-04-09 13:25:09 <maerwald> you need at least 10.13
2021-04-09 13:25:15 <tallfreddy> :-(
2021-04-09 13:25:27 <maerwald> you'll also have problem with other binaries I think
2021-04-09 13:25:31 <tallfreddy> maerwald: haskell had been around for 23 years when macOS Sierra came out
2021-04-09 13:25:49 <tallfreddy> but ok
2021-04-09 13:25:55 <yushyin> can you not just update?
2021-04-09 13:25:59 <yushyin> oO
2021-04-09 13:26:10 justanotheruser joins (~justanoth@unaffiliated/justanotheruser)
2021-04-09 13:26:13 <geekosaur> apple eventually stops supporting older macs
2021-04-09 13:26:19 <tallfreddy> yushyin: if i could i wouldn't be asking
2021-04-09 13:26:19 <geekosaur> drops drivers and such
2021-04-09 13:26:20 × __xor quits (~xor@74.215.46.133) (Quit: brb)
2021-04-09 13:26:23 <yushyin> oh
2021-04-09 13:27:39 <tallfreddy> but i understand it's not viable for ghcup to support all the older OSes
2021-04-09 13:27:50 × finn_elija quits (~finn_elij@gateway/tor-sasl/finnelija/x-67402716) (Remote host closed the connection)
2021-04-09 13:28:07 <maerwald> tallfreddy: even if it did, you'll have problem with cabal-install then
2021-04-09 13:28:09 <maerwald> afair
2021-04-09 13:28:25 × geekosaur quits (82650c7a@130.101.12.122) (Quit: Connection closed)
2021-04-09 13:28:36 <maerwald> if you search for the symbol error, you'll see many issues across languages and projects
2021-04-09 13:29:03 <maerwald> not sure how to properly solve that even
2021-04-09 13:30:27 × rah1 quits (~rah@217.146.82.202) (Remote host closed the connection)
2021-04-09 13:31:34 finn_elija joins (~finn_elij@gateway/tor-sasl/finnelija/x-67402716)
2021-04-09 13:33:23 × nbloomf quits (~nbloomf@2600:1700:ad14:3020:44ee:6405:ff27:f9ef) (Quit: My MacBook has gone to sleep. ZZZzzz…)
2021-04-09 13:33:51 ddellaco_ joins (~ddellacos@ool-44c73afa.dyn.optonline.net)
2021-04-09 13:34:03 <tallfreddy> maerwald & yushyin & nut: thanks anyway!
2021-04-09 13:34:37 × tallfreddy quits (5ad82372@90.216.35.114) (Quit: Connection closed)
2021-04-09 13:35:59 _xor joins (~xor@74.215.46.133)
2021-04-09 13:37:34 nbloomf joins (~nbloomf@2600:1700:ad14:3020:bc0d:525e:2ac7:f5de)
2021-04-09 13:37:52 frozenErebus joins (~frozenEre@37.231.244.249)
2021-04-09 13:38:57 × malumore quits (~malumore@151.62.122.180) (Remote host closed the connection)
2021-04-09 13:39:41 gavin joins (~gavin@98.154.147.147.dyn.plus.net)
2021-04-09 13:39:46 malumore joins (~malumore@151.62.122.180)
2021-04-09 13:41:54 × jonathanx quits (~jonathan@h-176-109.A357.priv.bahnhof.se) (Remote host closed the connection)
2021-04-09 13:42:01 × petersen quits (~petersen@redhat/juhp) (Quit: petersen)
2021-04-09 13:42:55 × cantstanya quits (~chatting@gateway/tor-sasl/cantstanya) (Remote host closed the connection)
2021-04-09 13:43:08 Pickchea joins (~private@unaffiliated/pickchea)
2021-04-09 13:43:23 ixlun joins (~matthew@213.205.241.25)
2021-04-09 13:43:23 jonathanx joins (~jonathan@h-176-109.A357.priv.bahnhof.se)
2021-04-09 13:45:04 LKoen joins (~LKoen@65.250.88.92.rev.sfr.net)
2021-04-09 13:45:46 × LKoen quits (~LKoen@65.250.88.92.rev.sfr.net) (Remote host closed the connection)
2021-04-09 13:47:15 Sgeo joins (~Sgeo@ool-18b98aa4.dyn.optonline.net)
2021-04-09 13:51:39 vilpan parts (~0@212.117.1.172) ()
2021-04-09 13:52:44 Tario joins (~Tario@201.192.165.173)
2021-04-09 13:55:08 eacameron joins (uid256985@gateway/web/irccloud.com/x-jxbqtyxssthbnird)
2021-04-09 13:57:32 × drbean_ quits (~drbean@TC210-63-209-35.static.apol.com.tw) (Quit: ZNC 1.8.2+cygwin2 - https://znc.in)
2021-04-09 13:57:55 ensky joins (~ensky@185.204.1.185)
2021-04-09 14:00:03 × son0p quits (~ff@181.136.122.143) (Remote host closed the connection)
2021-04-09 14:01:37 son0p joins (~ff@181.136.122.143)
2021-04-09 14:03:57 malumore_ joins (~malumore@151.62.122.180)

All times are in UTC.