Logs on 2022-08-21 (liberachat/#haskell)
| 00:02:41 | <einfair> | also ghci says "Couldn't match type ‘[Char]’ with ‘Data.Text.Internal.Text’ |
| 00:02:42 | <einfair> | Expected: Data.Text.Internal.Text |
| 00:02:42 | <einfair> | Actual: String" |
| 00:03:43 | <pavonia> | The latter is caused because your are trying to match two different string types |
| 00:04:02 | <jackdk> | Easiest way to deal with the former is to work with haskell tooling instead of OS package manager tooling - start a cabal package so you can list the packages you want in `build-depends` |
| 00:05:03 | <jackdk> | einfair: If you've written a string literal `"like this"` and have that error, you will want to put `{-# LANGUAGE OverloadedStrings #-}` at the top of your file, or `:set -XOverloadedStrings` into GHCi. |
| 00:05:49 | × | Midjak quits (~Midjak@82.66.147.146) (Quit: This computer has gone to sleep) |
| 00:06:15 | <pavonia> | When you have a top-level variable yielding of type Integral a => [a], will the result of evaluating some prefix of this list be stored in memory and be used for further accesses of that list? |
| 00:06:22 | × | stiell quits (~stiell@gateway/tor-sasl/stiell) (Ping timeout: 268 seconds) |
| 00:06:23 | <einfair> | jackdk: yes, that directive works. Now I am able to start graphics "hello world" example. |
| 00:06:47 | <geekosaur> | pavonia, no |
| 00:07:08 | <geekosaur> | it's actually taking a function (the Integral dictionary for the type) |
| 00:07:16 | <geekosaur> | er, taking a parameter |
| 00:07:30 | <pavonia> | So is that because of the type only? |
| 00:07:59 | <geekosaur> | yes. if you make it a concrete type it'll work as you want |
| 00:08:09 | <pavonia> | Ah, thanks |
| 00:08:15 | <geekosaur> | but right now it takes a dictionary parameter, so it's really a function and won't be memoized |
| 00:08:42 | <jackdk> | "language extension" sounds scary, but many of them are quite conservative and add single features http://web.archive.org/web/20220513191346/dev.stephendiehl.com/hask/#language-extensions |
| 00:11:08 | <geekosaur> | a lot of things are extensions because they're technically not part of the standard and nobody wants to take the time to write them up properly for standardization because having them available in ghc is good enough for them |
| 00:13:14 | × | matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 255 seconds) |
| 00:13:24 | <hpc> | gcc does similar things, and in a much less principled way |
| 00:13:48 | <hpc> | it just calls them "options" and you have to specify them on the command line |
| 00:14:18 | <geekosaur> | there's also the __attribute__ stuff and other things they usually hide in #includes |
| 00:14:24 | × | zeenk quits (~zeenk@2a02:2f04:a311:2d00:6865:d863:4c93:799f) (Quit: Konversation terminated!) |
| 00:14:42 | → | stiell joins (~stiell@gateway/tor-sasl/stiell) |
| 00:15:23 | <hpc> | also, language extensions are designed to eventually be integrated into the standard, the extension mechanism is standardized, and some of the language is already extensions |
| 00:16:11 | <hpc> | so rather than turning on extensions to switch away from the standard, you can turn off "extensions" that correspond to standard language features |
| 00:20:10 | <jackdk> | Also if you're on GHC >=9 you can set `Default-Language: GHC2021` in your cabal file and get most of the uncontroversial good stuff |
| 00:24:43 | × | jmorris quits (uid537181@id-537181.uxbridge.irccloud.com) (Quit: Connection closed for inactivity) |
| 00:26:21 | → | matthewmosior joins (~matthewmo@173.170.253.91) |
| 00:29:52 | × | euandreh quits (~euandreh@179.214.113.107) (Ping timeout: 268 seconds) |
| 00:31:25 | → | euandreh joins (~euandreh@179.214.113.107) |
| 00:41:53 | × | nate4 quits (~nate@98.45.169.16) (Ping timeout: 256 seconds) |
| 00:48:07 | × | waleee quits (~waleee@2001:9b0:213:7200:cc36:a556:b1e8:b340) (Ping timeout: 256 seconds) |
| 00:49:45 | → | waleee joins (~waleee@h-176-10-137-138.NA.cust.bahnhof.se) |
| 00:50:22 | × | Successus quits (~Successus@user/Successus) () |
| 01:07:14 | → | nate4 joins (~nate@98.45.169.16) |
| 01:08:39 | × | jpds quits (~jpds@gateway/tor-sasl/jpds) (Ping timeout: 268 seconds) |
| 01:09:06 | → | jpds joins (~jpds@gateway/tor-sasl/jpds) |
| 01:10:31 | × | albet70 quits (~xxx@2400:8902::f03c:92ff:fe60:98d8) (Remote host closed the connection) |
| 01:16:39 | → | albet70 joins (~xxx@2400:8902::f03c:92ff:fe60:98d8) |
| 01:17:43 | × | vysn quits (~vysn@user/vysn) (Ping timeout: 244 seconds) |
| 01:25:23 | × | beteigeuze quits (~Thunderbi@bl11-28-222.dsl.telepac.pt) (Ping timeout: 248 seconds) |
| 01:30:37 | × | matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 256 seconds) |
| 01:32:56 | × | stiell quits (~stiell@gateway/tor-sasl/stiell) (Remote host closed the connection) |
| 01:33:37 | → | stiell joins (~stiell@gateway/tor-sasl/stiell) |
| 01:37:05 | → | einfair_ joins (~einfair@broadband-90-154-72-24.ip.moscow.rt.ru) |
| 01:38:17 | → | einfair__ joins (~einfair@broadband-90-154-71-147.ip.moscow.rt.ru) |
| 01:41:15 | × | einfair quits (~einfair@broadband-90-154-71-147.ip.moscow.rt.ru) (Ping timeout: 268 seconds) |
| 01:41:46 | → | einfair joins (~einfair@broadband-90-154-71-147.ip.moscow.rt.ru) |
| 01:41:54 | → | kannon joins (~NK@135-180-47-54.fiber.dynamic.sonic.net) |
| 01:42:30 | × | einfair_ quits (~einfair@broadband-90-154-72-24.ip.moscow.rt.ru) (Ping timeout: 256 seconds) |
| 01:43:04 | × | einfair__ quits (~einfair@broadband-90-154-71-147.ip.moscow.rt.ru) (Ping timeout: 256 seconds) |
| 01:44:12 | → | matthewmosior joins (~matthewmo@173.170.253.91) |
| 01:46:23 | × | kannon quits (~NK@135-180-47-54.fiber.dynamic.sonic.net) (Ping timeout: 255 seconds) |
| 01:50:36 | → | kitty4 joins (~kitty@096-039-147-043.res.spectrum.com) |
| 02:00:09 | × | eggplantade quits (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net) (Remote host closed the connection) |
| 02:02:43 | × | drlkf quits (~drlkf@chat.drlkf.net) (Quit: drlkf) |
| 02:03:04 | → | drlkf joins (~drlkf@chat.drlkf.net) |
| 02:06:38 | × | FinnElija quits (~finn_elij@user/finn-elija/x-0085643) (Killed (NickServ (Forcing logout FinnElija -> finn_elija))) |
| 02:06:38 | → | finn_elija joins (~finn_elij@user/finn-elija/x-0085643) |
| 02:06:38 | finn_elija | is now known as FinnElija |
| 02:07:19 | × | [itchyjunk] quits (~itchyjunk@user/itchyjunk/x-7353470) (Ping timeout: 244 seconds) |
| 02:07:24 | → | eggplantade joins (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net) |
| 02:20:51 | × | td_ quits (~td@muedsl-82-207-238-122.citykom.de) (Ping timeout: 248 seconds) |
| 02:22:48 | → | td_ joins (~td@muedsl-82-207-238-189.citykom.de) |
| 02:23:54 | → | Batzy joins (~quassel@user/batzy) |
| 02:26:01 | × | drlkf quits (~drlkf@chat.drlkf.net) (Quit: drlkf) |
| 02:26:21 | → | drlkf joins (~drlkf@chat.drlkf.net) |
| 02:28:51 | × | wroathe quits (~wroathe@user/wroathe) (Ping timeout: 248 seconds) |
| 02:30:52 | → | wroathe joins (~wroathe@206-55-188-8.fttp.usinternet.com) |
| 02:30:52 | × | wroathe quits (~wroathe@206-55-188-8.fttp.usinternet.com) (Changing host) |
| 02:30:52 | → | wroathe joins (~wroathe@user/wroathe) |
| 02:31:52 | × | drlkf quits (~drlkf@chat.drlkf.net) (Quit: drlkf) |
| 02:32:13 | → | drlkf joins (~drlkf@chat.drlkf.net) |
| 02:32:31 | × | FinnElija quits (~finn_elij@user/finn-elija/x-0085643) (Ping timeout: 268 seconds) |
| 02:34:29 | → | FinnElija joins (~finn_elij@user/finn-elija/x-0085643) |
| 02:37:46 | × | drlkf quits (~drlkf@chat.drlkf.net) (Quit: drlkf) |
| 02:38:45 | → | nilradical joins (~nilradica@user/naso) |
| 02:39:23 | → | wroathe_ joins (~wroathe@206-55-188-8.fttp.usinternet.com) |
| 02:39:50 | × | wroathe_ quits (~wroathe@206-55-188-8.fttp.usinternet.com) (Client Quit) |
| 02:40:03 | × | wroathe quits (~wroathe@user/wroathe) (Ping timeout: 248 seconds) |
| 02:40:05 | → | wroathe_ joins (~wroathe@206-55-188-8.fttp.usinternet.com) |
| 02:40:12 | wroathe_ | is now known as wroathe |
| 02:46:15 | → | isaacvando joins (~isaacvand@2604:2d80:4e08:5400:2cee:600a:f9b9:3f9c) |
| 02:47:09 | × | wroathe quits (~wroathe@206-55-188-8.fttp.usinternet.com) (Read error: Connection reset by peer) |
| 02:50:01 | × | isaacvando quits (~isaacvand@2604:2d80:4e08:5400:2cee:600a:f9b9:3f9c) (Quit: Client closed) |
| 02:50:11 | → | isaacvando joins (~isaacvand@2604:2d80:4e08:5400:2cee:600a:f9b9:3f9c) |
| 02:50:50 | × | isaacvando quits (~isaacvand@2604:2d80:4e08:5400:2cee:600a:f9b9:3f9c) (Client Quit) |
| 02:52:07 | → | wroathe joins (~wroathe@206-55-188-8.fttp.usinternet.com) |
| 02:52:07 | × | wroathe quits (~wroathe@206-55-188-8.fttp.usinternet.com) (Changing host) |
| 02:52:07 | → | wroathe joins (~wroathe@user/wroathe) |
| 02:58:26 | × | arkeet quits (~arkeet@moriya.ca) (Ping timeout: 256 seconds) |
| 02:58:39 | → | arkeet joins (~arkeet@moriya.ca) |
| 02:59:15 | × | waleee quits (~waleee@h-176-10-137-138.NA.cust.bahnhof.se) (Ping timeout: 252 seconds) |
| 03:00:03 | × | matthewmosior quits (~matthewmo@173.170.253.91) (Remote host closed the connection) |
| 03:00:10 | → | matthewmosior joins (~matthewmo@173.170.253.91) |
| 03:02:00 | × | bitdex quits (~bitdex@gateway/tor-sasl/bitdex) (Remote host closed the connection) |
| 03:03:36 | → | [itchyjunk] joins (~itchyjunk@user/itchyjunk/x-7353470) |
| 03:04:33 | → | bitdex joins (~bitdex@gateway/tor-sasl/bitdex) |
| 03:10:57 | × | matthewmosior quits (~matthewmo@173.170.253.91) (Remote host closed the connection) |
| 03:13:33 | → | drlkf joins (~drlkf@chat.drlkf.net) |
| 03:18:01 | × | drlkf quits (~drlkf@chat.drlkf.net) (Client Quit) |
| 03:18:21 | → | drlkf joins (~drlkf@chat.drlkf.net) |
| 03:20:56 | → | mvk joins (~mvk@2607:fea8:5ce3:8500::a1ec) |
| 03:23:37 | → | matthewmosior joins (~matthewmo@173.170.253.91) |
| 03:27:55 | × | matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 244 seconds) |
| 03:27:56 | × | nate4 quits (~nate@98.45.169.16) (Ping timeout: 268 seconds) |
| 03:29:37 | → | matthewmosior joins (~matthewmo@173.170.253.91) |
| 03:31:09 | × | xff0x quits (~xff0x@ap007189.d.east.v6connect.net) (Ping timeout: 252 seconds) |
| 03:31:49 | × | azimut_ quits (~azimut@gateway/tor-sasl/azimut) (Remote host closed the connection) |
| 03:32:08 | × | myme1 quits (~myme@2a01:799:d5a:cd00:24c9:1211:1023:461b) (Ping timeout: 255 seconds) |
| 03:32:52 | → | myme1 joins (~myme@2a01:799:d5a:cd00:bb5a:372d:4d0c:faeb) |
| 03:34:23 | × | matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 255 seconds) |
| 03:37:13 | → | azimut joins (~azimut@gateway/tor-sasl/azimut) |
| 03:37:17 | × | russruss quits (~russruss@my.russellmcc.com) (Quit: The Lounge - https://thelounge.chat) |
| 03:38:09 | × | jinsun quits (~jinsun@user/jinsun) (Read error: Connection reset by peer) |
| 03:38:54 | → | russruss joins (~russruss@my.russellmcc.com) |
| 03:50:02 | → | matthewmosior joins (~matthewmo@173.170.253.91) |
| 03:54:16 | × | matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 244 seconds) |
| 04:02:57 | → | kannon joins (~NK@135-180-47-54.fiber.dynamic.sonic.net) |
| 04:04:09 | → | xff0x joins (~xff0x@2405:6580:b080:900:60cd:1e24:b252:14ca) |
| 04:08:28 | → | nate4 joins (~nate@98.45.169.16) |
| 04:22:07 | × | raehik quits (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net) (Ping timeout: 252 seconds) |
| 04:22:55 | → | matthewmosior joins (~matthewmo@173.170.253.91) |
| 04:24:58 | <qrpnxz> | if something is both Comonad and Monad, is it guaranteed to be Identity? My experience points to yes, but idk for sure. |
| 04:25:40 | <qrpnxz> | nvm just thought of counter example: NonEmpty |
| 04:26:02 | <c_wraith> | No, not at all |
| 04:26:09 | <c_wraith> | there are a lot of counter-examples |
| 04:27:38 | <qrpnxz> | indeed |
| 04:34:34 | × | xff0x quits (~xff0x@2405:6580:b080:900:60cd:1e24:b252:14ca) (Ping timeout: 244 seconds) |
| 04:34:58 | → | xff0x joins (~xff0x@ap007189.d.east.v6connect.net) |
| 04:38:13 | × | matthewmosior quits (~matthewmo@173.170.253.91) (Remote host closed the connection) |
| 04:41:55 | × | [itchyjunk] quits (~itchyjunk@user/itchyjunk/x-7353470) (Remote host closed the connection) |
| 04:42:44 | → | matthewmosior joins (~matthewmo@173.170.253.91) |
| 04:47:17 | × | matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 255 seconds) |
| 04:48:18 | → | matthewmosior joins (~matthewmo@173.170.253.91) |
| 04:49:06 | × | nilradical quits (~nilradica@user/naso) (Remote host closed the connection) |
| 04:49:42 | → | nilradical joins (~nilradica@user/naso) |
| 04:51:16 | × | chexum quits (~quassel@gateway/tor-sasl/chexum) (Ping timeout: 268 seconds) |
| 04:52:54 | × | matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 256 seconds) |
| 04:52:56 | → | chexum joins (~quassel@gateway/tor-sasl/chexum) |
| 04:54:36 | × | nilradical quits (~nilradica@user/naso) (Ping timeout: 256 seconds) |
| 04:56:45 | × | azimut quits (~azimut@gateway/tor-sasl/azimut) (Remote host closed the connection) |
| 04:58:13 | → | azimut joins (~azimut@gateway/tor-sasl/azimut) |
| 04:59:42 | → | Rumham347 joins (~Rumham347@128-193-154-233.ptpg.oregonstate.edu) |
| 05:04:08 | × | Rumham347 quits (~Rumham347@128-193-154-233.ptpg.oregonstate.edu) (Client Quit) |
| 05:05:03 | × | kannon quits (~NK@135-180-47-54.fiber.dynamic.sonic.net) (Ping timeout: 244 seconds) |
| 05:08:37 | → | tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) |
| 05:09:14 | × | tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Client Quit) |
| 05:09:39 | → | matthewmosior joins (~matthewmo@173.170.253.91) |
| 05:11:28 | × | azimut quits (~azimut@gateway/tor-sasl/azimut) (Remote host closed the connection) |
| 05:12:01 | → | azimut joins (~azimut@gateway/tor-sasl/azimut) |
| 05:14:46 | → | geranim0 joins (~geranim0@modemcable062.79-202-24.mc.videotron.ca) |
| 05:16:31 | × | wroathe quits (~wroathe@user/wroathe) (Quit: leaving) |
| 05:21:32 | × | zebrag quits (~chris@user/zebrag) (Quit: Konversation terminated!) |
| 05:21:39 | → | nilradical joins (~nilradica@user/naso) |
| 05:21:42 | × | nilradical quits (~nilradica@user/naso) (Read error: Connection reset by peer) |
| 05:23:04 | → | nilradical joins (~nilradica@user/naso) |
| 05:26:45 | × | matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 244 seconds) |
| 05:31:30 | × | azimut quits (~azimut@gateway/tor-sasl/azimut) (Remote host closed the connection) |
| 05:31:48 | → | azimut joins (~azimut@gateway/tor-sasl/azimut) |
| 05:37:49 | × | nilradical quits (~nilradica@user/naso) (Remote host closed the connection) |
| 05:39:02 | → | nilradical joins (~nilradica@user/naso) |
| 05:39:26 | → | matthewmosior joins (~matthewmo@173.170.253.91) |
| 05:39:54 | × | nate4 quits (~nate@98.45.169.16) (Ping timeout: 268 seconds) |
| 05:40:19 | × | jao quits (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Ping timeout: 248 seconds) |
| 05:43:48 | × | matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 244 seconds) |
| 05:45:39 | × | nilradical quits (~nilradica@user/naso) (Ping timeout: 248 seconds) |
| 05:58:13 | → | matthewmosior joins (~matthewmo@173.170.253.91) |
| 06:01:54 | → | mbuf joins (~Shakthi@122.165.55.71) |
| 06:06:55 | → | azimut_ joins (~azimut@gateway/tor-sasl/azimut) |
| 06:07:07 | × | azimut quits (~azimut@gateway/tor-sasl/azimut) (Remote host closed the connection) |
| 06:10:13 | → | zxx7529 joins (~Thunderbi@user/zxx7529) |
| 06:13:57 | → | kenran joins (~kenran@200116b82b214b000f67e475078de869.dip.versatel-1u1.de) |
| 06:15:26 | → | tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) |
| 06:15:29 | × | matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 255 seconds) |
| 06:16:59 | → | random-jellyfish joins (~random-je@user/random-jellyfish) |
| 06:21:05 | × | zxx7529 quits (~Thunderbi@user/zxx7529) (Remote host closed the connection) |
| 06:21:18 | → | zxx7529 joins (~Thunderbi@user/zxx7529) |
| 06:24:56 | × | chexum quits (~quassel@gateway/tor-sasl/chexum) (Remote host closed the connection) |
| 06:25:30 | → | chexum joins (~quassel@gateway/tor-sasl/chexum) |
| 06:26:16 | × | tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…) |
| 06:32:44 | → | takuan joins (~takuan@178-116-218-225.access.telenet.be) |
| 06:36:44 | → | nate4 joins (~nate@98.45.169.16) |
| 06:39:28 | → | nilradical joins (~nilradica@user/naso) |
| 06:41:08 | × | kenran quits (~kenran@200116b82b214b000f67e475078de869.dip.versatel-1u1.de) (Ping timeout: 256 seconds) |
| 06:41:21 | → | acidjnk joins (~acidjnk@p200300d6e7137a94354e6071615de150.dip0.t-ipconnect.de) |
| 06:44:39 | → | matthewmosior joins (~matthewmo@173.170.253.91) |
| 06:46:59 | × | nate4 quits (~nate@98.45.169.16) (Ping timeout: 248 seconds) |
| 06:48:26 | → | hrberg joins (~quassel@171.79-160-161.customer.lyse.net) |
| 06:48:54 | × | hrberg quits (~quassel@171.79-160-161.customer.lyse.net) (Client Quit) |
| 06:49:04 | × | matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 256 seconds) |
| 06:50:22 | × | nilradical quits (~nilradica@user/naso) (Remote host closed the connection) |
| 06:50:34 | → | hrberg joins (~quassel@171.79-160-161.customer.lyse.net) |
| 06:52:57 | → | gmg joins (~user@user/gehmehgeh) |
| 06:54:28 | → | tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) |
| 06:55:12 | × | gmg quits (~user@user/gehmehgeh) (Remote host closed the connection) |
| 06:56:07 | → | gmg joins (~user@user/gehmehgeh) |
| 06:59:46 | × | gmg quits (~user@user/gehmehgeh) (Remote host closed the connection) |
| 06:59:58 | → | vysn joins (~vysn@user/vysn) |
| 07:00:23 | → | mmhat joins (~mmh@p200300f1c7086075ee086bfffe095315.dip0.t-ipconnect.de) |
| 07:00:28 | → | gmg joins (~user@user/gehmehgeh) |
| 07:03:53 | → | matthewmosior joins (~matthewmo@173.170.253.91) |
| 07:04:44 | → | lisbeths joins (uid135845@id-135845.lymington.irccloud.com) |
| 07:06:09 | → | zeenk joins (~zeenk@2a02:2f04:a311:2d00:6865:d863:4c93:799f) |
| 07:07:33 | × | tom_ quits (~tom@2a00:23c8:970c:4801:58e8:4521:87a3:64ff) (Read error: Connection reset by peer) |
| 07:07:52 | → | tom_ joins (~tom@2a00:23c8:970c:4801:58e8:4521:87a3:64ff) |
| 07:09:30 | × | dolio quits (~dolio@130.44.130.54) (Quit: ZNC 1.8.2 - https://znc.in) |
| 07:11:14 | × | random-jellyfish quits (~random-je@user/random-jellyfish) (Quit: Client closed) |
| 07:11:24 | ← | jakalx parts (~jakalx@base.jakalx.net) () |
| 07:12:38 | → | benin0 joins (~benin@183.82.205.66) |
| 07:13:09 | → | dolio joins (~dolio@130.44.130.54) |
| 07:15:36 | → | coot joins (~coot@213.134.176.158) |
| 07:15:49 | × | dolio quits (~dolio@130.44.130.54) (Client Quit) |
| 07:17:00 | → | dolio joins (~dolio@130.44.130.54) |
| 07:30:33 | × | tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…) |
| 07:32:18 | × | matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 244 seconds) |
| 07:34:19 | × | zxx7529 quits (~Thunderbi@user/zxx7529) (Remote host closed the connection) |
| 07:34:31 | → | zxx7529 joins (~Thunderbi@user/zxx7529) |
| 07:36:22 | → | tom__ joins (~tom@host86-160-236-152.range86-160.btcentralplus.com) |
| 07:38:25 | × | szkl quits (uid110435@id-110435.uxbridge.irccloud.com) (Quit: Connection closed for inactivity) |
| 07:38:43 | × | tom_ quits (~tom@2a00:23c8:970c:4801:58e8:4521:87a3:64ff) (Ping timeout: 248 seconds) |
| 07:42:26 | → | kenran joins (~kenran@200116b82b214b00359ce888ae205ee5.dip.versatel-1u1.de) |
| 07:44:41 | × | chexum quits (~quassel@gateway/tor-sasl/chexum) (Remote host closed the connection) |
| 07:45:32 | → | matthewmosior joins (~matthewmo@173.170.253.91) |
| 07:45:46 | → | chexum joins (~quassel@gateway/tor-sasl/chexum) |
| 07:46:43 | × | acidjnk quits (~acidjnk@p200300d6e7137a94354e6071615de150.dip0.t-ipconnect.de) (Ping timeout: 248 seconds) |
| 07:50:16 | × | matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 256 seconds) |
| 07:50:49 | → | nilradical joins (~nilradica@user/naso) |
| 07:53:23 | → | acidjnk joins (~acidjnk@p200300d6e7137a94354e6071615de150.dip0.t-ipconnect.de) |
| 07:56:39 | → | MajorBiscuit joins (~MajorBisc@46-229-126.internethome.cytanet.com.cy) |
| 08:01:12 | × | azimut_ quits (~azimut@gateway/tor-sasl/azimut) (Ping timeout: 268 seconds) |
| 08:03:32 | → | matthewmosior joins (~matthewmo@173.170.253.91) |
| 08:08:10 | → | elkcl_ joins (~elkcl@broadband-37-110-156-162.ip.moscow.rt.ru) |
| 08:08:35 | × | elkcl quits (~elkcl@broadband-37-110-156-162.ip.moscow.rt.ru) (Ping timeout: 248 seconds) |
| 08:08:35 | elkcl_ | is now known as elkcl |
| 08:10:35 | → | zer0bitz joins (~zer0bitz@2001:2003:f748:2000:558b:cc63:62b5:2184) |
| 08:14:58 | → | gurkenglas joins (~gurkengla@p548ac72e.dip0.t-ipconnect.de) |
| 08:15:17 | → | kannon joins (~NK@135-180-47-54.fiber.dynamic.sonic.net) |
| 08:17:25 | × | coot quits (~coot@213.134.176.158) (Quit: coot) |
| 08:18:08 | × | nilradical quits (~nilradica@user/naso) (Remote host closed the connection) |
| 08:19:35 | → | nilradical joins (~nilradica@user/naso) |
| 08:19:44 | × | kannon quits (~NK@135-180-47-54.fiber.dynamic.sonic.net) (Ping timeout: 256 seconds) |
| 08:19:58 | → | michalz joins (~michalz@185.246.204.72) |
| 08:21:04 | → | coot joins (~coot@213.134.176.158) |
| 08:21:56 | × | matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 255 seconds) |
| 08:24:40 | × | eggplantade quits (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net) (Remote host closed the connection) |
| 08:30:00 | × | nilradical quits (~nilradica@user/naso) (Remote host closed the connection) |
| 08:30:55 | → | nilradical joins (~nilradica@user/naso) |
| 08:32:29 | → | jakalx joins (~jakalx@base.jakalx.net) |
| 08:36:19 | × | nilradical quits (~nilradica@user/naso) (Ping timeout: 248 seconds) |
| 08:38:25 | × | coot quits (~coot@213.134.176.158) (Quit: coot) |
| 08:42:18 | <albet70> | why English always use a, an or the before the name |
| 08:43:51 | <albet70> | how to describe a delayed computation? |
| 08:49:54 | → | ystael joins (~ystael@user/ystael) |
| 08:50:36 | → | nilradical joins (~nilradica@user/naso) |
| 08:51:21 | × | nilradical quits (~nilradica@user/naso) (Remote host closed the connection) |
| 08:51:27 | → | matthewmosior joins (~matthewmo@173.170.253.91) |
| 08:52:37 | → | nilradical joins (~nilradica@user/naso) |
| 08:54:09 | → | tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) |
| 08:54:14 | → | yvan-sraka joins (~yvan-srak@2a01:e0a:38d:a110:28a3:ca72:204d:76ec) |
| 08:56:00 | × | matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 244 seconds) |
| 08:57:07 | × | nilradical quits (~nilradica@user/naso) (Ping timeout: 248 seconds) |
| 08:58:49 | × | causal quits (~user@50.35.83.177) (Quit: WeeChat 3.6) |
| 08:59:48 | → | ine-one joins (~Me@185.103.89.94) |
| 09:00:11 | → | causal joins (~user@50.35.83.177) |
| 09:00:21 | × | causal quits (~user@50.35.83.177) (Client Quit) |
| 09:00:54 | → | radhika joins (uid560836@id-560836.helmsley.irccloud.com) |
| 09:00:57 | <radhika> | Hi |
| 09:01:02 | <radhika> | I have an array |
| 09:01:09 | <radhika> | Sorry a list |
| 09:01:15 | <radhika> | And a number |
| 09:01:25 | <radhika> | The list consists of a name |
| 09:01:32 | <radhika> | Name is 11 letters |
| 09:01:54 | <radhika> | The number could be anything |
| 09:02:23 | <radhika> | It should count the list and if the number is greater than the list then count from start again |
| 09:03:26 | <radhika> | Keep doing it till the end of number |
| 09:03:54 | <radhika> | And return the letter where the count ends |
| 09:04:04 | → | luffy joins (~chenqisu1@183.217.200.212) |
| 09:04:51 | × | Sgeo quits (~Sgeo@user/sgeo) (Read error: Connection reset by peer) |
| 09:05:15 | × | zxx7529 quits (~Thunderbi@user/zxx7529) (Ping timeout: 268 seconds) |
| 09:07:02 | × | kmein quits (~weechat@user/kmein) (Quit: ciao kakao) |
| 09:09:04 | → | kmein joins (~weechat@user/kmein) |
| 09:09:13 | × | ine-one quits (~Me@185.103.89.94) (Excess Flood) |
| 09:09:26 | → | ine-one joins (~Me@185.103.89.94) |
| 09:09:41 | × | ine-one quits (~Me@185.103.89.94) (Max SendQ exceeded) |
| 09:09:52 | → | matthewmosior joins (~matthewmo@173.170.253.91) |
| 09:10:13 | → | ine-one joins (~Me@185.103.89.94) |
| 09:10:32 | × | ine-one quits (~Me@185.103.89.94) (Max SendQ exceeded) |
| 09:11:05 | → | ine-one joins (~Me@185.103.89.94) |
| 09:11:09 | × | ine-one quits (~Me@185.103.89.94) (Max SendQ exceeded) |
| 09:11:32 | × | yvan-sraka quits (~yvan-srak@2a01:e0a:38d:a110:28a3:ca72:204d:76ec) (Remote host closed the connection) |
| 09:11:39 | → | ine-one joins (~Me@185.103.89.94) |
| 09:11:51 | × | ine-one quits (~Me@185.103.89.94) (Max SendQ exceeded) |
| 09:17:01 | × | kenran quits (~kenran@200116b82b214b00359ce888ae205ee5.dip.versatel-1u1.de) (Quit: WeeChat info:version) |
| 09:17:35 | → | yvan-sraka joins (~yvan-srak@2a01:e0a:38d:a110:ce75:c418:787e:f49) |
| 09:18:51 | × | yvan-sraka quits (~yvan-srak@2a01:e0a:38d:a110:ce75:c418:787e:f49) (Remote host closed the connection) |
| 09:21:34 | → | yvan-sraka joins (~yvan-srak@2a01:e0a:38d:a110:9bc0:19ca:2d3a:5cf7) |
| 09:25:15 | → | eggplantade joins (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net) |
| 09:25:52 | × | yvan-sraka quits (~yvan-srak@2a01:e0a:38d:a110:9bc0:19ca:2d3a:5cf7) (Remote host closed the connection) |
| 09:26:15 | → | waldo joins (~waldo@user/waldo) |
| 09:26:59 | <jackdk> | homework? |
| 09:27:11 | × | matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 255 seconds) |
| 09:30:00 | × | eggplantade quits (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 256 seconds) |
| 09:31:36 | → | yvan-sraka joins (~yvan-srak@2a01:e0a:38d:a110:f978:95c3:4cc3:7497) |
| 09:33:36 | → | instantaphex joins (~jb@c-73-171-252-84.hsd1.fl.comcast.net) |
| 09:38:11 | × | instantaphex quits (~jb@c-73-171-252-84.hsd1.fl.comcast.net) (Ping timeout: 248 seconds) |
| 09:40:00 | → | matthewmosior joins (~matthewmo@173.170.253.91) |
| 09:40:29 | × | chexum quits (~quassel@gateway/tor-sasl/chexum) (Ping timeout: 268 seconds) |
| 09:43:38 | × | waldo quits (~waldo@user/waldo) (Quit: quit) |
| 09:44:44 | × | matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 256 seconds) |
| 09:45:09 | → | chexum joins (~quassel@gateway/tor-sasl/chexum) |
| 09:45:21 | → | waldo joins (~waldo@user/waldo) |
| 09:46:39 | × | FinnElija quits (~finn_elij@user/finn-elija/x-0085643) (Ping timeout: 268 seconds) |
| 09:47:16 | × | gmg quits (~user@user/gehmehgeh) (Ping timeout: 268 seconds) |
| 09:48:47 | × | econo quits (uid147250@user/econo) (Quit: Connection closed for inactivity) |
| 09:48:51 | → | FinnElija joins (~finn_elij@user/finn-elija/x-0085643) |
| 09:49:11 | → | gmg joins (~user@user/gehmehgeh) |
| 09:51:29 | ← | jakalx parts (~jakalx@base.jakalx.net) () |
| 09:52:49 | → | jakalx joins (~jakalx@base.jakalx.net) |
| 09:54:30 | → | __monty__ joins (~toonn@user/toonn) |
| 09:55:05 | × | chexum quits (~quassel@gateway/tor-sasl/chexum) (Remote host closed the connection) |
| 09:55:35 | → | chexum joins (~quassel@gateway/tor-sasl/chexum) |
| 09:57:15 | × | zer0bitz quits (~zer0bitz@2001:2003:f748:2000:558b:cc63:62b5:2184) (Read error: Connection reset by peer) |
| 09:57:58 | → | matthewmosior joins (~matthewmo@173.170.253.91) |
| 09:59:09 | → | nilradical joins (~nilradica@user/naso) |
| 09:59:29 | ← | jakalx parts (~jakalx@base.jakalx.net) () |
| 10:01:21 | → | jakalx joins (~jakalx@base.jakalx.net) |
| 10:03:11 | × | michalz quits (~michalz@185.246.204.72) (Remote host closed the connection) |
| 10:03:50 | × | nilradical quits (~nilradica@user/naso) (Ping timeout: 268 seconds) |
| 10:08:38 | → | alternateved joins (~user@staticline-31-183-146-203.toya.net.pl) |
| 10:09:40 | × | acidjnk quits (~acidjnk@p200300d6e7137a94354e6071615de150.dip0.t-ipconnect.de) (Ping timeout: 256 seconds) |
| 10:12:26 | × | alternateved quits (~user@staticline-31-183-146-203.toya.net.pl) (Remote host closed the connection) |
| 10:15:20 | × | matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 255 seconds) |
| 10:15:31 | → | motersen joins (~motersen@user/motersen) |
| 10:16:01 | × | siers quits (~ij@user/ij) (Quit: ZNC 1.8.2 - https://znc.in) |
| 10:18:53 | × | hpc quits (~juzz@ip98-169-32-242.dc.dc.cox.net) (Ping timeout: 252 seconds) |
| 10:20:45 | × | sm2n quits (ae95cb1267@user/sm2n) (Ping timeout: 244 seconds) |
| 10:20:52 | → | hpc joins (~juzz@ip98-169-32-242.dc.dc.cox.net) |
| 10:20:56 | → | beteigeuze joins (~Thunderbi@85.244.28.222) |
| 10:21:39 | → | sm2n joins (ae95cb1267@user/sm2n) |
| 10:24:15 | → | acidjnk joins (~acidjnk@p200300d6e7137a94354e6071615de150.dip0.t-ipconnect.de) |
| 10:29:06 | × | tzh quits (~tzh@c-24-21-73-154.hsd1.wa.comcast.net) (Quit: zzz) |
| 10:33:40 | × | motersen quits (~motersen@user/motersen) (Quit: ZNC - https://znc.in) |
| 10:38:56 | → | jgeerds joins (~jgeerds@55d46bad.access.ecotel.net) |
| 10:42:49 | → | matthewmosior joins (~matthewmo@173.170.253.91) |
| 10:45:42 | → | nate4 joins (~nate@98.45.169.16) |
| 10:47:05 | × | matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 244 seconds) |
| 10:50:43 | × | nate4 quits (~nate@98.45.169.16) (Ping timeout: 248 seconds) |
| 10:51:35 | → | wootehfoot joins (~wootehfoo@user/wootehfoot) |
| 10:53:47 | × | jgeerds quits (~jgeerds@55d46bad.access.ecotel.net) (Ping timeout: 268 seconds) |
| 10:59:20 | × | finsternis quits (~X@23.226.237.192) (Ping timeout: 268 seconds) |
| 11:00:40 | × | acidjnk quits (~acidjnk@p200300d6e7137a94354e6071615de150.dip0.t-ipconnect.de) (Ping timeout: 256 seconds) |
| 11:01:30 | → | finsternis joins (~X@23.226.237.192) |
| 11:02:46 | × | lisbeths quits (uid135845@id-135845.lymington.irccloud.com) (Quit: Connection closed for inactivity) |
| 11:04:06 | → | matthewmosior joins (~matthewmo@173.170.253.91) |
| 11:05:30 | × | yvan-sraka quits (~yvan-srak@2a01:e0a:38d:a110:f978:95c3:4cc3:7497) (Ping timeout: 252 seconds) |
| 11:08:35 | → | acidjnk joins (~acidjnk@p200300d6e7137a9405bc25a921fe39ff.dip0.t-ipconnect.de) |
| 11:10:39 | × | radhika quits (uid560836@id-560836.helmsley.irccloud.com) (Quit: Connection closed for inactivity) |
| 11:11:17 | → | random-jellyfish joins (~random-je@user/random-jellyfish) |
| 11:12:03 | → | kenran joins (~kenran@200116b82b214b000af83c07f07a2124.dip.versatel-1u1.de) |
| 11:12:35 | × | finsternis quits (~X@23.226.237.192) (Ping timeout: 256 seconds) |
| 11:14:14 | × | random-jellyfish quits (~random-je@user/random-jellyfish) (Client Quit) |
| 11:15:27 | × | bitdex quits (~bitdex@gateway/tor-sasl/bitdex) (Ping timeout: 268 seconds) |
| 11:16:31 | → | nilradical joins (~nilradica@user/naso) |
| 11:16:32 | → | motersen joins (~motersen@user/motersen) |
| 11:16:37 | × | Natch quits (~natch@c-9e07225c.038-60-73746f7.bbcust.telenor.se) (Ping timeout: 268 seconds) |
| 11:16:57 | → | finsternis joins (~X@23.226.237.192) |
| 11:17:15 | → | random-jellyfish joins (~random-je@user/random-jellyfish) |
| 11:19:41 | × | matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 255 seconds) |
| 11:19:43 | → | bitdex joins (~bitdex@gateway/tor-sasl/bitdex) |
| 11:19:52 | → | Natch joins (~natch@c-9e07225c.038-60-73746f7.bbcust.telenor.se) |
| 11:20:08 | × | random-jellyfish quits (~random-je@user/random-jellyfish) (Client Quit) |
| 11:21:39 | × | Vajb quits (~Vajb@2001:999:705:3c86:e7ea:442b:1e01:22d8) (Read error: Connection reset by peer) |
| 11:22:37 | → | faultline joins (~christian@200116b82ba67a00cb4fd7a4c1a40de2.dip.versatel-1u1.de) |
| 11:22:39 | → | Vajb joins (~Vajb@hag-jnsbng11-58c3ad-40.dhcp.inet.fi) |
| 11:27:05 | × | Vajb quits (~Vajb@hag-jnsbng11-58c3ad-40.dhcp.inet.fi) (Ping timeout: 268 seconds) |
| 11:27:28 | → | Vajb joins (~Vajb@2001:999:705:3c86:e7ea:442b:1e01:22d8) |
| 11:27:43 | × | finsternis quits (~X@23.226.237.192) (Ping timeout: 268 seconds) |
| 11:28:57 | × | nilradical quits (~nilradica@user/naso) (Remote host closed the connection) |
| 11:29:04 | <albet70> | return_cont = \a -> \ar -> ar a |
| 11:29:22 | <albet70> | bindC = \g f k -> g (\x -> f x k) |
| 11:29:35 | <albet70> | k3 = return_cont 3 |
| 11:29:49 | → | nilradical joins (~nilradica@user/naso) |
| 11:30:02 | <albet70> | k5 = bindC k3 (\a -> return_cont (a+1)) |
| 11:30:10 | <albet70> | k5 id == 4 |
| 11:30:54 | <albet70> | this f in bindC is a binary function, and in k5 = bindC k3 (\a -> ...) \a is an unary, why it does work? |
| 11:31:50 | × | motersen quits (~motersen@user/motersen) (Quit: ZNC - https://znc.in) |
| 11:34:06 | → | finsternis joins (~X@23.226.237.192) |
| 11:34:32 | → | Inst joins (~Inst@2601:6c4:4080:3f80:d8ab:2e91:63f7:db6e) |
| 11:35:06 | × | nilradical quits (~nilradica@user/naso) (Ping timeout: 268 seconds) |
| 11:35:58 | × | tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…) |
| 11:36:20 | → | Successus joins (~Successus@user/Successus) |
| 11:45:27 | → | zxx7529 joins (~Thunderbi@user/zxx7529) |
| 11:46:57 | → | motersen joins (~motersen@user/motersen) |
| 11:47:22 | → | toluene9 joins (~toluene@user/toulene) |
| 11:47:45 | × | toluene quits (~toluene@user/toulene) (Read error: Connection reset by peer) |
| 11:47:45 | toluene9 | is now known as toluene |
| 11:49:08 | × | motersen quits (~motersen@user/motersen) (Client Quit) |
| 11:49:24 | → | matthewmosior joins (~matthewmo@173.170.253.91) |
| 11:50:46 | → | king_gs joins (~Thunderbi@2806:103e:29:da7a:1f74:531c:dec2:7aec) |
| 11:51:26 | → | coot joins (~coot@213.134.176.158) |
| 11:52:23 | × | coot quits (~coot@213.134.176.158) (Client Quit) |
| 11:52:42 | × | king_gs quits (~Thunderbi@2806:103e:29:da7a:1f74:531c:dec2:7aec) (Client Quit) |
| 11:52:53 | → | coot joins (~coot@213.134.176.158) |
| 11:53:56 | × | matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 256 seconds) |
| 11:56:07 | → | motersen joins (~motersen@user/motersen) |
| 11:56:32 | × | motersen quits (~motersen@user/motersen) (Remote host closed the connection) |
| 11:57:55 | → | motersen joins (~motersen@user/motersen) |
| 12:01:41 | × | motersen quits (~motersen@user/motersen) (Client Quit) |
| 12:02:09 | → | motersen joins (~motersen@user/motersen) |
| 12:02:12 | × | Ranhir quits (~Ranhir@157.97.53.139) (Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/) |
| 12:02:18 | × | motersen quits (~motersen@user/motersen) (Remote host closed the connection) |
| 12:04:50 | → | nilradical joins (~nilradica@user/naso) |
| 12:06:04 | → | tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) |
| 12:08:37 | → | matthewmosior joins (~matthewmo@173.170.253.91) |
| 12:09:47 | → | Ranhir joins (~Ranhir@157.97.53.139) |
| 12:13:12 | × | acidjnk quits (~acidjnk@p200300d6e7137a9405bc25a921fe39ff.dip0.t-ipconnect.de) (Ping timeout: 256 seconds) |
| 12:15:16 | × | gmg quits (~user@user/gehmehgeh) (Ping timeout: 268 seconds) |
| 12:15:48 | → | kannon joins (~NK@135-180-47-54.fiber.dynamic.sonic.net) |
| 12:17:03 | × | califax quits (~califax@user/califx) (Quit: ZNC 1.8.2 - https://znc.in) |
| 12:17:10 | × | jmdaemon quits (~jmdaemon@user/jmdaemon) (Ping timeout: 256 seconds) |
| 12:17:52 | → | califax joins (~califax@user/califx) |
| 12:18:11 | × | nilradical quits (~nilradica@user/naso) (Ping timeout: 248 seconds) |
| 12:18:21 | × | FinnElija quits (~finn_elij@user/finn-elija/x-0085643) (Ping timeout: 268 seconds) |
| 12:20:00 | × | kannon quits (~NK@135-180-47-54.fiber.dynamic.sonic.net) (Ping timeout: 256 seconds) |
| 12:20:02 | → | FinnElija joins (~finn_elij@user/finn-elija/x-0085643) |
| 12:20:11 | → | radhika joins (uid560836@id-560836.helmsley.irccloud.com) |
| 12:20:34 | × | faultline quits (~christian@200116b82ba67a00cb4fd7a4c1a40de2.dip.versatel-1u1.de) (Ping timeout: 256 seconds) |
| 12:22:14 | → | gmg joins (~user@user/gehmehgeh) |
| 12:24:04 | → | gurkengl1s joins (~gurkengla@p548ac72e.dip0.t-ipconnect.de) |
| 12:24:56 | × | matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 255 seconds) |
| 12:26:49 | × | gurkenglas quits (~gurkengla@p548ac72e.dip0.t-ipconnect.de) (Ping timeout: 256 seconds) |
| 12:26:51 | × | MajorBiscuit quits (~MajorBisc@46-229-126.internethome.cytanet.com.cy) (Ping timeout: 252 seconds) |
| 12:27:17 | → | MajorBiscuit joins (~MajorBisc@46-229-126.internethome.cytanet.com.cy) |
| 12:28:01 | × | waldo quits (~waldo@user/waldo) (Quit: quit) |
| 12:33:24 | → | acidjnk joins (~acidjnk@p200300d6e7137a9498a3b54f32401c3f.dip0.t-ipconnect.de) |
| 12:34:05 | → | motersen joins (~motersen@user/motersen) |
| 12:34:40 | → | nilradical joins (~nilradica@user/naso) |
| 12:35:51 | × | motersen quits (~motersen@user/motersen) (Client Quit) |
| 12:36:08 | → | waldo joins (~waldo@user/waldo) |
| 12:37:18 | → | matthewmosior joins (~matthewmo@173.170.253.91) |
| 12:39:16 | × | nilradical quits (~nilradica@user/naso) (Ping timeout: 256 seconds) |
| 12:41:47 | × | matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 244 seconds) |
| 12:45:17 | → | worldhelloworld1 joins (uid543174@id-543174.helmsley.irccloud.com) |
| 12:49:14 | × | vysn quits (~vysn@user/vysn) (Ping timeout: 255 seconds) |
| 12:49:15 | → | nilradical joins (~nilradica@user/naso) |
| 12:50:28 | × | nilradical quits (~nilradica@user/naso) (Remote host closed the connection) |
| 12:51:25 | → | benjamin-thomas joins (~benjamin-@2a01:e0a:32f:6350:89cf:8543:57e0:28b1) |
| 12:51:57 | → | nilradical joins (~nilradica@user/naso) |
| 12:52:24 | → | motersen joins (~motersen@user/motersen) |
| 12:54:08 | × | motersen quits (~motersen@user/motersen) (Client Quit) |
| 12:57:46 | → | matthewmosior joins (~matthewmo@173.170.253.91) |
| 13:01:57 | × | luffy quits (~chenqisu1@183.217.200.212) (Ping timeout: 256 seconds) |
| 13:09:37 | × | zxx7529 quits (~Thunderbi@user/zxx7529) (Remote host closed the connection) |
| 13:09:39 | → | waleee joins (~waleee@2001:9b0:213:7200:cc36:a556:b1e8:b340) |
| 13:09:49 | → | zxx7529 joins (~Thunderbi@user/zxx7529) |
| 13:11:02 | → | jonathanx joins (~jonathan@h-178-174-176-109.A357.priv.bahnhof.se) |
| 13:15:13 | → | jonathanx_ joins (~jonathan@h-178-174-176-109.A357.priv.bahnhof.se) |
| 13:17:14 | × | jonathanx quits (~jonathan@h-178-174-176-109.A357.priv.bahnhof.se) (Ping timeout: 256 seconds) |
| 13:18:02 | × | matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 255 seconds) |
| 13:22:52 | → | ilichu[m] joins (~ilichumat@2001:470:69fc:105::2:6afb) |
| 13:23:54 | → | adanwan_ joins (~adanwan@gateway/tor-sasl/adanwan) |
| 13:24:01 | × | kenran quits (~kenran@200116b82b214b000af83c07f07a2124.dip.versatel-1u1.de) (Quit: WeeChat info:version) |
| 13:24:01 | → | matthewmosior joins (~matthewmo@173.170.253.91) |
| 13:24:29 | × | adanwan quits (~adanwan@gateway/tor-sasl/adanwan) (Quit: _) |
| 13:25:09 | → | jese joins (~nikola@93-86-101-108.dynamic.isp.telekom.rs) |
| 13:28:23 | → | motersen joins (~motersen@user/motersen) |
| 13:29:53 | × | motersen quits (~motersen@user/motersen) (Client Quit) |
| 13:30:52 | × | matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 244 seconds) |
| 13:32:47 | × | zeenk quits (~zeenk@2a02:2f04:a311:2d00:6865:d863:4c93:799f) (Quit: Konversation terminated!) |
| 13:34:54 | → | [itchyjunk] joins (~itchyjunk@user/itchyjunk/x-7353470) |
| 13:35:03 | <sm> | hey all, do you know a trick for identifying functions stored in a data value, eg for comparing or debug logging ? |
| 13:35:50 | <sm> | ack.. biab |
| 13:38:24 | × | gmg quits (~user@user/gehmehgeh) (Remote host closed the connection) |
| 13:39:21 | → | Midjak joins (~Midjak@82.66.147.146) |
| 13:39:26 | → | gmg joins (~user@user/gehmehgeh) |
| 13:39:32 | → | jao joins (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) |
| 13:39:40 | × | benin0 quits (~benin@183.82.205.66) (Quit: The Lounge - https://thelounge.chat) |
| 13:48:25 | × | benjamin-thomas quits (~benjamin-@2a01:e0a:32f:6350:89cf:8543:57e0:28b1) (Quit: Client closed) |
| 13:48:48 | × | tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…) |
| 13:50:24 | → | benin0 joins (~benin@183.82.205.66) |
| 14:03:30 | <tomsmeding> | albet70: `\a b -> ...` is the same as `\a -> \b -> ...` is the same as `\a -> (\b -> ...)` |
| 14:03:47 | → | matthewmosior joins (~matthewmo@173.170.253.91) |
| 14:07:32 | → | [exa] joins (exa@user/exa/x-3587197) |
| 14:09:37 | → | sonologico joins (~raphael@dhcp-077-251-118-129.chello.nl) |
| 14:11:44 | <tomsmeding> | sm: comparison can I guess be done using reallyUnsafePtrEquality#, but debug logging is going to be hard -- inspecting the heap might (with hacks) give you some pointer to the entry of its native code block, yielding some kind of "identity", but not necessarily a useful one if you want to distinguish functions with different closures |
| 14:12:06 | <tomsmeding> | i.e. you'd need a ghc plugin to attach more info to closures, or otherwise you should manually add info to your closures :) |
| 14:22:24 | × | matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 256 seconds) |
| 14:22:25 | × | waleee quits (~waleee@2001:9b0:213:7200:cc36:a556:b1e8:b340) (Ping timeout: 256 seconds) |
| 14:22:43 | → | tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) |
| 14:24:02 | → | matthewmosior joins (~matthewmo@173.170.253.91) |
| 14:28:34 | → | jero98772 joins (~jero98772@2800:484:1d80:d8ce:efcc:cbb3:7f2a:6dff) |
| 14:29:45 | → | eggplantade joins (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net) |
| 14:30:39 | × | radhika quits (uid560836@id-560836.helmsley.irccloud.com) (Quit: Connection closed for inactivity) |
| 14:34:18 | × | eggplantade quits (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 256 seconds) |
| 14:34:59 | × | matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 255 seconds) |
| 14:36:13 | → | matthewmosior joins (~matthewmo@173.170.253.91) |
| 14:40:07 | <albet70> | what's the eval order ma >>= \a -> mb >>= \b -> mc? |
| 14:40:32 | × | matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 256 seconds) |
| 14:40:50 | <albet70> | == ma >>= \a -> (mb >>= \b -> mc)? |
| 14:40:53 | → | kenran joins (~kenran@200116b82b214b0087667b6a2525053d.dip.versatel-1u1.de) |
| 14:41:12 | <albet70> | or (ma >>= \a -> mb) >>= (\b -> mc)? |
| 14:41:50 | <albet70> | which way is the do-notation using? |
| 14:44:08 | × | adanwan_ quits (~adanwan@gateway/tor-sasl/adanwan) (Remote host closed the connection) |
| 14:45:34 | <hpc> | if you're asking about parsing, it's the first one |
| 14:45:40 | <[exa]> | albet70: `do` notation doesn't specify any evaluation order; everything depends on which arguments the >>= forces or not |
| 14:45:42 | → | adanwan joins (~adanwan@gateway/tor-sasl/adanwan) |
| 14:45:58 | <hpc> | but they're both the same, and you can't conclude anything about evaluation order from either expression |
| 14:46:34 | × | geranim0 quits (~geranim0@modemcable062.79-202-24.mc.videotron.ca) (Remote host closed the connection) |
| 14:47:01 | <hpc> | also fun fact, the fact that those two expressions are the same is the "monoid" part of the "monoid in the category of endofunctors" joke |
| 14:47:12 | <hpc> | (or at least, the semigroup part of it :D) |
| 14:47:12 | → | nate4 joins (~nate@98.45.169.16) |
| 14:47:15 | <[exa]> | albet70: btw for the 2nd parenthesization the `a` variable wouldn't be available for any other commands than for `mb` |
| 14:48:57 | <albet70> | I'm confused, ma >>= \a -> (mb >>= \b -> mc) is equal to (ma >>= \a -> mb) >>= (\b -> mc)? |
| 14:49:24 | <hpc> | albet70: ignore that, [exa] is right :( |
| 14:50:15 | → | f-a joins (f2a@f2a.jujube.ircnow.org) |
| 14:50:53 | → | zer0bitz joins (~zer0bitz@2001:2003:f748:2000:186f:eebe:3c5b:ecfa) |
| 14:51:02 | → | NewbiePlumber joins (~NewbiePlu@2601:43:200:154f:a5cf:ab34:2755:e25) |
| 14:51:27 | <hpc> | i was misreading, the actual equality is m >>= (\x -> k x >>= h) = (m >>= k) >>= h |
| 14:52:19 | <f-a> | I am writing a `Tree a -> b -> (b -> a -> b) -> Tree b` function. So to speak, “folding” along branches. I suspect I am not writing anything new. Is there a typeclass for this? |
| 14:52:27 | × | nate4 quits (~nate@98.45.169.16) (Ping timeout: 268 seconds) |
| 14:53:03 | × | acidjnk quits (~acidjnk@p200300d6e7137a9498a3b54f32401c3f.dip0.t-ipconnect.de) (Remote host closed the connection) |
| 14:53:25 | → | acidjnk joins (~acidjnk@p200300d6e7137a9498a3b54f32401c3f.dip0.t-ipconnect.de) |
| 14:53:28 | <hpc> | f-a: https://hackage.haskell.org/package/base-4.17.0.0/docs/Prelude.html#t:Foldable perhaps |
| 14:54:26 | <hpc> | or Traversable |
| 14:54:27 | → | biberu joins (~biberu@user/biberu) |
| 14:54:53 | <f-a> | hpc, I don’t think it is foldable since I am not reducing to `b` but `Tree b`, am I wrong? |
| 14:55:14 | → | matthewmosior joins (~matthewmo@173.170.253.91) |
| 14:55:54 | ← | jakalx parts (~jakalx@base.jakalx.net) (Error from remote client) |
| 14:58:07 | × | matthewmosior quits (~matthewmo@173.170.253.91) (Remote host closed the connection) |
| 14:58:13 | → | matthewmosior joins (~matthewmo@173.170.253.91) |
| 15:00:02 | → | jakalx joins (~jakalx@base.jakalx.net) |
| 15:02:38 | × | sonologico quits (~raphael@dhcp-077-251-118-129.chello.nl) (Ping timeout: 256 seconds) |
| 15:02:39 | × | mbuf quits (~Shakthi@122.165.55.71) (Ping timeout: 256 seconds) |
| 15:03:35 | <[exa]> | f-a: so the output tree is a single leaf? |
| 15:03:44 | → | mbuf joins (~Shakthi@122.165.55.71) |
| 15:03:50 | × | worldhelloworld1 quits (uid543174@id-543174.helmsley.irccloud.com) (Quit: Connection closed for inactivity) |
| 15:04:06 | <[exa]> | (also looks a bit like mapAccum through a tree, at which point you might be almost hitting Traversable) |
| 15:04:22 | <f-a> | no, maybe I should write an implementation so it is clearer |
| 15:05:57 | <hololeap> | What's a good overview of Haskell for someone who has done casual programming, just because they are curious, but aren't interested in learning it? |
| 15:06:15 | → | motersen joins (~motersen@user/motersen) |
| 15:06:16 | <hpc> | LYAH perhaps? |
| 15:06:30 | <hpc> | it's approachable, with no exercises |
| 15:06:35 | <hpc> | and not terribly long |
| 15:06:38 | <f-a> | lyah is a bit long if you are not interested in learning it, I suspect |
| 15:06:55 | <hololeap> | I'm thinking some kind of video that goes over the language's features. |
| 15:07:04 | <hpc> | a lot of LYAH is "here's what integers are, here's how to append strings" and such |
| 15:07:05 | × | wootehfoot quits (~wootehfoo@user/wootehfoot) (Ping timeout: 252 seconds) |
| 15:07:22 | <hololeap> | I have a family member that is curious why I have an interest in Haskell. |
| 15:09:05 | <[exa]> | f-a: anyway your function type can be made out of `traverse` by using `f ~ (->) b` for the `Applicative f`. So unless you're doing some context-specific magic, I guess you should have a traversable. |
| 15:10:51 | × | takuan quits (~takuan@178-116-218-225.access.telenet.be) (Remote host closed the connection) |
| 15:12:10 | × | matthewmosior quits (~matthewmo@173.170.253.91) (Remote host closed the connection) |
| 15:12:22 | → | takuan joins (~takuan@178-116-218-225.access.telenet.be) |
| 15:12:48 | → | matthewmosior joins (~matthewmo@173.170.253.91) |
| 15:13:33 | × | beteigeuze quits (~Thunderbi@85.244.28.222) (Quit: beteigeuze) |
| 15:13:47 | → | beteigeuze joins (~Thunderbi@bl11-28-222.dsl.telepac.pt) |
| 15:15:45 | <ByronJohnson> | albet70: I think you mean ‘ma >>= \a -> mb a >>= \b -> mc b’; that is, ‘mb a’, not ‘mb’, and ‘mc b’, not ‘mc’. |
| 15:15:56 | × | matthewmosior quits (~matthewmo@173.170.253.91) (Remote host closed the connection) |
| 15:16:02 | → | matthewmosior joins (~matthewmo@173.170.253.91) |
| 15:17:08 | × | tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…) |
| 15:18:02 | → | ddellacosta joins (~ddellacos@143.244.47.71) |
| 15:18:15 | <ByronJohnson> | f-a: In addition to Foldable and Traversable, I'd also look at catamorphisms and F-algebras. |
| 15:18:23 | <f-a> | hpc: [exa]: ByronJohnson: I wrote an implementation (`annotate`) so I am clear in what I am talking about https://pastebin.com/97PVXTQe |
| 15:19:24 | × | matthewmosior quits (~matthewmo@173.170.253.91) (Remote host closed the connection) |
| 15:20:45 | <f-a> | hololeap: difficult to answer, there are videos but I always found them lacking. Even talks are so so imho |
| 15:22:22 | → | matthewmosior joins (~matthewmo@173.170.253.91) |
| 15:23:46 | × | matthewmosior quits (~matthewmo@173.170.253.91) (Remote host closed the connection) |
| 15:24:43 | × | kenran quits (~kenran@200116b82b214b0087667b6a2525053d.dip.versatel-1u1.de) (Quit: WeeChat info:version) |
| 15:25:21 | → | kenran joins (~kenran@200116b82b214b0046e1262313a3bf39.dip.versatel-1u1.de) |
| 15:25:31 | × | kenran quits (~kenran@200116b82b214b0046e1262313a3bf39.dip.versatel-1u1.de) (Client Quit) |
| 15:27:45 | → | sonologico joins (~raphael@dhcp-077-251-118-129.chello.nl) |
| 15:28:20 | <[exa]> | f-a: not sure if the default Traversable instance for a tree runs from the top to the bottom, you might need some ugly laziness trick to get it working (like, subtracting from a final value which is lazy) |
| 15:28:41 | → | matthewmosior joins (~matthewmo@173.170.253.91) |
| 15:28:55 | <[exa]> | Foldable is certainly insufficient (because it can't reproduce the structure) |
| 15:30:27 | <[exa]> | f-a: anyway, you can use State to hold the cummulative sum and just let it traverse through the whole structure |
| 15:31:35 | → | vysn joins (~vysn@user/vysn) |
| 15:31:36 | <albet70> | ByronJohnson , why |
| 15:31:49 | <f-a> | thanks, in the hand my goal was not to handroll something naive |
| 15:33:02 | × | matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 255 seconds) |
| 15:33:37 | <albet70> | b/c \a -> mb a :: a -> mb? |
| 15:33:58 | × | ddellacosta quits (~ddellacos@143.244.47.71) (Quit: WeeChat 3.6) |
| 15:34:22 | × | sonologico quits (~raphael@dhcp-077-251-118-129.chello.nl) (Ping timeout: 268 seconds) |
| 15:36:35 | → | eggplantade joins (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net) |
| 15:42:21 | → | ccntrq joins (~Thunderbi@172.209.94.92.rev.sfr.net) |
| 15:42:38 | → | sonologico joins (~raphael@dhcp-077-251-118-129.chello.nl) |
| 15:43:46 | <sm> | thanks tomsmeding |
| 15:45:13 | × | bitdex quits (~bitdex@gateway/tor-sasl/bitdex) (Remote host closed the connection) |
| 15:45:14 | × | FinnElija quits (~finn_elij@user/finn-elija/x-0085643) (Remote host closed the connection) |
| 15:45:33 | × | sonologico quits (~raphael@dhcp-077-251-118-129.chello.nl) (Client Quit) |
| 15:47:35 | <Franciman> | see you in a few times, enjoy functional programming and good company |
| 15:47:37 | ← | Franciman parts (~Franciman@mx1.fracta.dev) (WeeChat 3.0) |
| 15:48:02 | → | chomwitt joins (~chomwitt@2a02:587:dc09:3900:23d6:30eb:ebe5:2f08) |
| 15:49:05 | → | bitdex joins (~bitdex@gateway/tor-sasl/bitdex) |
| 15:50:27 | × | acidjnk quits (~acidjnk@p200300d6e7137a9498a3b54f32401c3f.dip0.t-ipconnect.de) (Ping timeout: 248 seconds) |
| 15:50:51 | <[exa]> | f-a: I later realized there are various applicative adaptors that might force the Traverse do what you want, i.e. Backwards or Reverse might do the trick |
| 15:51:37 | <[exa]> | (it's Data.Functor.Reverse and Control.Applicative.Backwards, both in `transformers`) |
| 15:51:49 | <f-a> | thanks |
| 15:52:16 | ← | motersen parts (~motersen@user/motersen) (Using Circe, the loveliest of all IRC clients) |
| 15:52:25 | <[exa]> | (s/Traverse/traverse/ as an absolute self-nitpick) |
| 15:52:58 | <f-a> | really interesting, I am not sure I will be using it soon but for sure something useful to know |
| 15:55:34 | → | tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) |
| 15:55:55 | → | matthewmosior joins (~matthewmo@173.170.253.91) |
| 15:57:51 | <[exa]> | well certainly helps you to avoid writing the reversed instance yourself. :D |
| 15:57:56 | → | FinnElija joins (~finn_elij@user/finn-elija/x-0085643) |
| 15:59:52 | × | mbuf quits (~Shakthi@122.165.55.71) (Remote host closed the connection) |
| 16:00:05 | → | motersen joins (~motersen@user/motersen) |
| 16:00:10 | × | pwmosquito[m] quits (~pwmosquit@2001:470:69fc:105::15db) (Quit: You have been kicked for being idle) |
| 16:00:49 | → | mbuf joins (~Shakthi@122.165.55.71) |
| 16:01:35 | → | einfair_ joins (~einfair@broadband-90-154-73-153.ip.moscow.rt.ru) |
| 16:01:39 | ← | motersen parts (~motersen@user/motersen) (bye) |
| 16:05:33 | × | einfair quits (~einfair@broadband-90-154-71-147.ip.moscow.rt.ru) (Ping timeout: 256 seconds) |
| 16:06:40 | × | einfair_ quits (~einfair@broadband-90-154-73-153.ip.moscow.rt.ru) (Ping timeout: 256 seconds) |
| 16:07:41 | → | einfair_ joins (~einfair@broadband-90-154-73-153.ip.moscow.rt.ru) |
| 16:08:36 | → | einfair__ joins (~einfair@broadband-90-154-71-147.ip.moscow.rt.ru) |
| 16:10:33 | → | nate4 joins (~nate@98.45.169.16) |
| 16:12:20 | × | einfair_ quits (~einfair@broadband-90-154-73-153.ip.moscow.rt.ru) (Ping timeout: 256 seconds) |
| 16:14:36 | × | matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 256 seconds) |
| 16:15:39 | → | matthewmosior joins (~matthewmo@173.170.253.91) |
| 16:16:15 | → | kannon joins (~NK@135-180-47-54.fiber.dynamic.sonic.net) |
| 16:17:40 | → | zebrag joins (~chris@user/zebrag) |
| 16:20:44 | × | kannon quits (~NK@135-180-47-54.fiber.dynamic.sonic.net) (Ping timeout: 255 seconds) |
| 16:21:24 | <jese> | one of my package's dependencies requires very old version of GHC and fails to build with --allow-newer. but if i build it by myself somewhere outside of the package's directory using that old version of GHC then my package finds it and builds just fine. so is there a way to prevent stack and cabal (i use both) from attempting to build that dependency themselves and instead rely on the user to do it? |
| 16:21:53 | × | matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 244 seconds) |
| 16:22:25 | × | waldo quits (~waldo@user/waldo) (Quit: quit) |
| 16:22:42 | <c_wraith> | if it fails to build with --allow-newer, that suggests it's using a set of dependencies that are incompatible with your program |
| 16:23:24 | <c_wraith> | You can point to local source for a package, but it won't help in any situation where you're building the same thing without modification |
| 16:27:47 | × | chomwitt quits (~chomwitt@2a02:587:dc09:3900:23d6:30eb:ebe5:2f08) (Ping timeout: 248 seconds) |
| 16:30:26 | × | eggplantade quits (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net) (Remote host closed the connection) |
| 16:32:26 | × | mvk quits (~mvk@2607:fea8:5ce3:8500::a1ec) (Ping timeout: 255 seconds) |
| 16:33:14 | × | mbuf quits (~Shakthi@122.165.55.71) (Quit: Leaving) |
| 16:33:16 | <jese> | c_wraith: thanks |
| 16:35:34 | × | hpc quits (~juzz@ip98-169-32-242.dc.dc.cox.net) (Ping timeout: 256 seconds) |
| 16:35:52 | <troydm> | I'm trying to structure my application using a StateT monad but I'm having a little trouble, basicly I need to have monad which derives IO has a state and mostly has return value of Either Exception a where a is my computation value, but I want to short-circuit my monad binding if there is Exception |
| 16:36:32 | <troydm> | i've tried defining it as type MyMonad a = StateT State IO (Either Exception a) |
| 16:37:13 | <troydm> | but I'm having trouble structuring my monad calls as I need to manually use custom functions for shortcircuating computation |
| 16:37:14 | → | hpc joins (~juzz@ip98-169-32-242.dc.dc.cox.net) |
| 16:37:23 | → | chomwitt joins (~chomwitt@2a02:587:dc09:3900:f527:3ca7:b122:fd0c) |
| 16:38:00 | <troydm> | my question is what can I do in this situation, as it seems like defining my own custom monad transformer is the only way to have behaviour that I want |
| 16:38:24 | → | econo joins (uid147250@user/econo) |
| 16:39:45 | <c_wraith> | I think you want to include ExceptT in your stack |
| 16:40:40 | × | bitdex quits (~bitdex@gateway/tor-sasl/bitdex) (Remote host closed the connection) |
| 16:41:03 | <troydm> | so, I need something like ExceptT but which also has a state |
| 16:41:09 | <monochrom> | IO already does exceptions. |
| 16:41:10 | <troydm> | how do I define something like this? |
| 16:41:24 | <troydm> | monochrom: no, not that kind of exceptions, my custom ones |
| 16:41:40 | <c_wraith> | StateT State (ExceptT Exception IO) a |
| 16:41:41 | <troydm> | monochrom: it's basicly custom type |
| 16:41:54 | × | nilradical quits (~nilradica@user/naso) (Remote host closed the connection) |
| 16:42:22 | <troydm> | c_wraith: ohh, okey, I feel like I'll have some monad transformer cake |
| 16:42:25 | <monochrom> | IO lets me use my custom exception type. I did it once. |
| 16:42:30 | → | nilradical joins (~nilradica@user/naso) |
| 16:42:41 | → | bitdex joins (~bitdex@gateway/tor-sasl/bitdex) |
| 16:43:02 | × | nilradical quits (~nilradica@user/naso) (Remote host closed the connection) |
| 16:43:03 | <troydm> | monochrom: I don't like doing it that way, I'm actually trying to write my own Scheme R7RS interpreter |
| 16:43:19 | → | nilradical joins (~nilradica@user/naso) |
| 16:43:33 | <troydm> | so I have a custom type for Scheme evaluation which did end with exception |
| 16:44:23 | × | jese quits (~nikola@93-86-101-108.dynamic.isp.telekom.rs) (Quit: leaving) |
| 16:44:41 | → | waldo joins (~waldo@user/waldo) |
| 16:44:56 | <monochrom> | I wrote my own unit testing library. So I had a custom exception type. |
| 16:45:50 | <troydm> | monochrom: yeah I understand |
| 16:49:04 | × | NewbiePlumber quits (~NewbiePlu@2601:43:200:154f:a5cf:ab34:2755:e25) (Quit: Ping timeout (120 seconds)) |
| 16:49:45 | × | tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…) |
| 16:51:13 | × | jpds quits (~jpds@gateway/tor-sasl/jpds) (Remote host closed the connection) |
| 16:51:43 | → | jpds joins (~jpds@gateway/tor-sasl/jpds) |
| 16:52:00 | → | matthewmosior joins (~matthewmo@173.170.253.91) |
| 16:53:08 | → | pmarg joins (~pmarg@2a01:799:159f:9b00:67b3:f8a8:338b:bd0e) |
| 16:53:28 | → | wootehfoot joins (~wootehfoo@user/wootehfoot) |
| 16:54:17 | → | eggplantade joins (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net) |
| 16:55:53 | ← | pmarg parts (~pmarg@2a01:799:159f:9b00:67b3:f8a8:338b:bd0e) () |
| 16:56:30 | × | matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 244 seconds) |
| 17:00:36 | <janus> | how does file-embed-lzma use the Instances.TH.Lift instances? i remove the import and it still compiles |
| 17:01:17 | <janus> | code here https://github.com/phadej/file-embed-lzma/blob/master/src/FileEmbedLzma.hs |
| 17:03:26 | <janus> | i also tried compiling it on Debian 9 with GHC 8.0 and Cabal 1.24, and it also works there. so don't seem dependent on GHC version |
| 17:03:59 | <troydm> | c_wraith: I'm having trouble throwing said exception, maybe I'm too dumb idk, I'm trying to define a function for that that basicly takes :: Exception -> StateT State (ExceptT Exception IO) a |
| 17:04:59 | <troydm> | c_wraith: but throwE function is not enough to convert my exception into StateT monad, I need to somehow convert ExceptT into StateT |
| 17:05:26 | <troydm> | c_wraith: maybe I'm too dumb to figure this out |
| 17:05:53 | <c_wraith> | are you import ExceptT from Control.Monad.Except or Control.Monad.Trans.Except? |
| 17:06:02 | → | matthewmosior joins (~matthewmo@173.170.253.91) |
| 17:06:10 | <c_wraith> | it's the same type, but very different interfaces |
| 17:06:17 | × | notzmv quits (~zmv@user/notzmv) (Ping timeout: 268 seconds) |
| 17:06:26 | → | kannon joins (~NK@135-180-47-54.fiber.dynamic.sonic.net) |
| 17:07:00 | <troydm> | c_wraith: Control.Monad.Trans.Except |
| 17:07:20 | × | adanwan quits (~adanwan@gateway/tor-sasl/adanwan) (Remote host closed the connection) |
| 17:07:53 | → | adanwan joins (~adanwan@gateway/tor-sasl/adanwan) |
| 17:08:03 | → | mc47 joins (~mc47@xmonad/TheMC47) |
| 17:08:06 | ← | jakalx parts (~jakalx@base.jakalx.net) (Error from remote client) |
| 17:08:10 | <c_wraith> | Do you have a particular reason to use transformers directly instead of via mtl? |
| 17:08:52 | <troydm> | c_wraith: I'm not using mtl |
| 17:08:58 | <janus> | oh, it says on https://hackage.haskell.org/package/th-lift-0.8.2 that 'functionality in this package has largely been subsumed by the DeriveLift language extension, which is available in GHC 8.0' |
| 17:09:27 | <c_wraith> | troydm: well, then, you're going to need to carefully insert uses of lift |
| 17:09:33 | <monochrom> | StateT ExceptT means you will be saying "lift (throw e)" |
| 17:09:39 | <c_wraith> | ... which is amusingly *not* the template haskell lift |
| 17:09:56 | <monochrom> | Yeah there are too many lifts. |
| 17:10:11 | <monochrom> | Methinks some of them should be renamed "elevators" :) |
| 17:10:47 | <c_wraith> | there's an mtl-replacement package named something like that already! |
| 17:10:49 | <troydm> | c_wraith: I'm not using mtl |
| 17:10:54 | <troydm> | ohh, sorry |
| 17:11:00 | <troydm> | double pasted |
| 17:11:46 | → | jakalx joins (~jakalx@base.jakalx.net) |
| 17:12:22 | <c_wraith> | anyway. like monochrom says, "lift (throw e)". since you're not using mtl, lift and (lift . lift) are going to be stuff you see a lot. |
| 17:12:24 | <troydm> | c_wraith: thanks, lift worked like a charm |
| 17:12:46 | <troydm> | c_wraith: I'm okey with that |
| 17:13:02 | × | ccntrq quits (~Thunderbi@172.209.94.92.rev.sfr.net) (Remote host closed the connection) |
| 17:13:14 | <c_wraith> | honestly, I don't mind using explicit lift. It means that you don't have the issues mtl does with things like multiples of instances of a particular class in the same stack. |
| 17:15:15 | × | pavonia quits (~user@user/siracusa) (Quit: Bye!) |
| 17:16:31 | × | wootehfoot quits (~wootehfoo@user/wootehfoot) (Ping timeout: 252 seconds) |
| 17:16:44 | × | nckx quits (~nckx@tobias.gr) (Excess Flood) |
| 17:22:05 | → | nckx joins (~nckx@tobias.gr) |
| 17:22:22 | × | bitdex quits (~bitdex@gateway/tor-sasl/bitdex) (Ping timeout: 268 seconds) |
| 17:23:40 | <troydm> | c_wraith: I'm not using mtl because I never used it, I need to learn it... |
| 17:23:40 | → | alp_ joins (~alp@user/alp) |
| 17:23:44 | × | matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 256 seconds) |
| 17:24:04 | × | alp_ quits (~alp@user/alp) (Remote host closed the connection) |
| 17:24:47 | → | bitdex joins (~bitdex@gateway/tor-sasl/bitdex) |
| 17:25:13 | → | wootehfoot joins (~wootehfoo@user/wootehfoot) |
| 17:26:23 | → | azimut joins (~azimut@gateway/tor-sasl/azimut) |
| 17:27:12 | → | Lucio_ joins (~Lucio@5.179.169.123) |
| 17:27:39 | <Lucio_> | Hi everyone |
| 17:28:58 | → | kavvadias joins (~kavvadias@2001:9e8:6335:a500:a204:9b27:4b58:bef1) |
| 17:29:43 | <Lucio_> | i want to be a better programmer, i come from php background, but i feel my code sucks because i have a poor programming design. Should i use Haskell for that_ |
| 17:29:45 | <Lucio_> | ? |
| 17:30:56 | <monochrom> | I teach Haskell to my students, and they hand in poor designs in Haskell too. |
| 17:31:00 | <c_wraith> | learning Haskell might help, but it won't be a quick fix. |
| 17:31:37 | → | tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) |
| 17:31:46 | <monochrom> | There is some kind of XY-problem mentality in human nature that transcends language. |
| 17:32:01 | <kavvadias> | hello everyone, im trying to build cardano-node and i cant get libsystemd-journal dependency to resolve, i get this error https://pastebin.com/y9P0ADXr , I'm on pop-os 22.04 (ubuntu) |
| 17:32:16 | <monochrom> | Music and XY problems are the universal languages of humanity! |
| 17:32:51 | × | bitdex quits (~bitdex@gateway/tor-sasl/bitdex) (Ping timeout: 268 seconds) |
| 17:33:39 | → | matthewmosior joins (~matthewmo@173.170.253.91) |
| 17:35:01 | → | bitdex joins (~bitdex@gateway/tor-sasl/bitdex) |
| 17:35:39 | × | wootehfoot quits (~wootehfoo@user/wootehfoot) (Ping timeout: 256 seconds) |
| 17:36:05 | <sm> | Lucio_: sure! |
| 17:36:20 | × | nilradical quits (~nilradica@user/naso) () |
| 17:37:50 | × | matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 244 seconds) |
| 17:38:40 | <hololeap> | I'm not really grokking this: https://hackage.haskell.org/package/monad-control-1.0.2.3/docs/Control-Monad-Trans-Control.html#v:control |
| 17:38:52 | <c_wraith> | yeah, no one does |
| 17:39:15 | → | dsrt^ joins (~dsrt@96.70.11.181) |
| 17:39:29 | <hololeap> | what is the point of (restoreM saved >>= release) as opposed to just (release saved) |
| 17:41:31 | <Lucio_> | @monochrom . |
| 17:41:31 | <lambdabot> | Unknown command, try @list |
| 17:41:50 | <monochrom> | Probably one of those times when the real documentation is someone's forgotten blog. |
| 17:42:38 | <Lucio_> | #monochrom . |
| 17:42:50 | <hololeap> | See the following tutorial by Michael Snoyman on how to use this package |
| 17:42:55 | <hololeap> | go figure |
| 17:44:09 | × | Lord_of_Life quits (~Lord@user/lord-of-life/x-2819915) (Read error: Connection reset by peer) |
| 17:44:10 | <Lucio_> | Monochrom what is your recommendation to get better at writing code? Some speicific book , or ... |
| 17:44:26 | × | kannon quits (~NK@135-180-47-54.fiber.dynamic.sonic.net) (Ping timeout: 255 seconds) |
| 17:44:46 | <Lucio_> | I feel like programming, with framework in php is not giving me the right understanding of design |
| 17:44:48 | <monochrom> | Be logical, not intuitive. Learn Occam's Razor. Pay attention to actual outcomes, ignore intentions. |
| 17:45:52 | <darkling> | And just practice, practice, practice. |
| 17:46:29 | → | Lord_of_Life joins (~Lord@user/lord-of-life/x-2819915) |
| 17:47:14 | → | waleee joins (~waleee@2001:9b0:213:7200:cc36:a556:b1e8:b340) |
| 17:47:48 | × | Lord_of_Life quits (~Lord@user/lord-of-life/x-2819915) (Read error: Connection reset by peer) |
| 17:49:47 | → | NewbiePlumber joins (~NewbiePlu@2601:43:200:154f:a5cf:ab34:2755:e25) |
| 17:51:07 | → | Lord_of_Life joins (~Lord@user/lord-of-life/x-2819915) |
| 17:52:11 | <NewbiePlumber> | Hey all, tell me something interesting you've done with Haskell. I'm going through some projects I've written in other languages, trying to convert them to Haskell. I'm very pleased so far with the file I/o and networking. I'm not sure how many of the other projects would make sense to rewrite (which is not a statement, it is an open musing). |
| 17:52:11 | <NewbiePlumber> | Anyone done stuff with graphics, parallel compute (GPGPU-type stuff), or distributed systems (akin to networked MPI)? |
| 17:52:27 | × | Lord_of_Life quits (~Lord@user/lord-of-life/x-2819915) (Read error: Connection reset by peer) |
| 17:52:49 | <NewbiePlumber> | (also, is there any way to see the chat history before I log in?) |
| 17:53:53 | <geekosaur> | there is a log; check the topic. you may also be interested in matrix, which has an IRC bridge |
| 17:55:55 | <sm> | and a public log I think |
| 17:56:14 | → | Lord_of_Life joins (~Lord@user/lord-of-life/x-2819915) |
| 17:56:28 | × | Lord_of_Life quits (~Lord@user/lord-of-life/x-2819915) (Read error: Connection reset by peer) |
| 17:57:02 | <sm> | oops |
| 17:58:30 | <sm> | Lucio_: https://en.wikipedia.org/wiki/How_to_Design_Programs is some good food for thought on design |
| 17:59:33 | <sm> | also read the code of projects you'd like to be able to make |
| 17:59:56 | × | tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…) |
| 18:02:17 | × | vysn quits (~vysn@user/vysn) (Ping timeout: 256 seconds) |
| 18:02:58 | → | Lord_of_Life joins (~Lord@user/lord-of-life/x-2819915) |
| 18:03:10 | × | Lord_of_Life quits (~Lord@user/lord-of-life/x-2819915) (Read error: Connection reset by peer) |
| 18:03:17 | × | waldo quits (~waldo@user/waldo) (Quit: quit) |
| 18:03:39 | <NewbiePlumber> | I'm all for books, but I've got two that I need to finish already (Stepanov's Elements and Notes). I'm looking for more of a field survey of what things are easily possible in Haskell. For example, if I were to write some GPGPU programs, would they compile are run anywhere that the equivalent clang/libclc would? If I were to write some windowing |
| 18:03:40 | <NewbiePlumber> | graphics, would they be as portable as GLFW or SDL? |
| 18:04:15 | <Rembane_> | Haskell excels at writing interpreters and compilers and also highly concurrent applications. |
| 18:04:37 | → | ddellacosta joins (~ddellacos@143.244.47.100) |
| 18:05:23 | <NewbiePlumber> | Does the RTS run in parallel on the GPU, or strictly the CPU? |
| 18:05:49 | <Rembane_> | I don't think it runs on the GPU at all. |
| 18:06:28 | <Rembane_> | But there's probably a package somewhere to run Haskell code on the GPU, or some EDSL written in Haskell |
| 18:06:30 | <geekosaur> | haskell doesn't run on the gpu but there are libraries that can help you program for gpus (e.g. Accelerate) |
| 18:07:24 | → | matthewmosior joins (~matthewmo@173.170.253.91) |
| 18:09:38 | → | Lord_of_Life joins (~Lord@user/lord-of-life/x-2819915) |
| 18:11:23 | → | tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) |
| 18:12:27 | → | beteigeuze1 joins (~Thunderbi@bl11-28-222.dsl.telepac.pt) |
| 18:12:45 | × | beteigeuze quits (~Thunderbi@bl11-28-222.dsl.telepac.pt) (Read error: Connection reset by peer) |
| 18:12:46 | beteigeuze1 | is now known as beteigeuze |
| 18:16:07 | × | chexum quits (~quassel@gateway/tor-sasl/chexum) (Remote host closed the connection) |
| 18:16:34 | → | chexum joins (~quassel@gateway/tor-sasl/chexum) |
| 18:16:42 | → | hellwolf joins (~hellwolf@7-41-50-84.sta.estpak.ee) |
| 18:18:09 | × | Lord_of_Life quits (~Lord@user/lord-of-life/x-2819915) (Ping timeout: 256 seconds) |
| 18:18:55 | → | Lord_of_Life joins (~Lord@user/lord-of-life/x-2819915) |
| 18:19:05 | × | Lord_of_Life quits (~Lord@user/lord-of-life/x-2819915) (Read error: Connection reset by peer) |
| 18:20:08 | → | Lord_of_Life joins (~Lord@user/lord-of-life/x-2819915) |
| 18:20:14 | × | Lord_of_Life quits (~Lord@user/lord-of-life/x-2819915) (Read error: Connection reset by peer) |
| 18:20:44 | × | chexum quits (~quassel@gateway/tor-sasl/chexum) (Remote host closed the connection) |
| 18:21:03 | → | chexum joins (~quassel@gateway/tor-sasl/chexum) |
| 18:22:10 | × | kavvadias quits (~kavvadias@2001:9e8:6335:a500:a204:9b27:4b58:bef1) (Quit: Client closed) |
| 18:23:55 | → | Lord_of_Life joins (~Lord@user/lord-of-life/x-2819915) |
| 18:24:04 | × | Lord_of_Life quits (~Lord@user/lord-of-life/x-2819915) (Read error: Connection reset by peer) |
| 18:24:26 | → | Lord_of_Life joins (~Lord@user/lord-of-life/x-2819915) |
| 18:24:37 | × | Lord_of_Life quits (~Lord@user/lord-of-life/x-2819915) (Read error: Connection reset by peer) |
| 18:25:23 | → | hugo joins (znc@verdigris.lysator.liu.se) |
| 18:25:37 | → | Lord_of_Life joins (~Lord@user/lord-of-life/x-2819915) |
| 18:25:49 | × | Lord_of_Life quits (~Lord@user/lord-of-life/x-2819915) (Read error: Connection reset by peer) |
| 18:25:50 | × | matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 255 seconds) |
| 18:29:32 | → | kavvadias joins (~kavvadias@2001:9e8:6335:a500:4b4c:ad2e:3ab7:cc00) |
| 18:30:09 | → | Lord_of_Life joins (~Lord@user/lord-of-life/x-2819915) |
| 18:32:03 | × | bitdex quits (~bitdex@gateway/tor-sasl/bitdex) (Ping timeout: 268 seconds) |
| 18:37:16 | → | tzh joins (~tzh@c-24-21-73-154.hsd1.or.comcast.net) |
| 18:37:46 | → | alphabeta joins (~kilolympu@90.203.82.22) |
| 18:37:57 | × | alphabeta quits (~kilolympu@90.203.82.22) (Remote host closed the connection) |
| 18:38:10 | → | ccntrq joins (~Thunderbi@172.209.94.92.rev.sfr.net) |
| 18:38:33 | × | kilolympus quits (~kilolympu@90.203.82.22) (Ping timeout: 256 seconds) |
| 18:39:01 | × | tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…) |
| 18:39:19 | → | matthewmosior joins (~matthewmo@173.170.253.91) |
| 18:41:29 | × | kavvadias quits (~kavvadias@2001:9e8:6335:a500:4b4c:ad2e:3ab7:cc00) (Quit: Client closed) |
| 18:41:56 | perrierjouet | is now known as GerardMamenti |
| 18:43:38 | × | matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 256 seconds) |
| 18:44:13 | → | mvk joins (~mvk@2607:fea8:5ce3:8500::a1ec) |
| 18:55:56 | → | tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) |
| 18:57:55 | → | matthewmosior joins (~matthewmo@173.170.253.91) |
| 18:58:33 | → | jgeerds joins (~jgeerds@55d46bad.access.ecotel.net) |
| 18:59:27 | <sm> | NewbiePlumber: for survey, how about https://haskell-links.org and especially the "State of.." and "What I Wish.." links there |
| 18:59:51 | ← | jakalx parts (~jakalx@base.jakalx.net) (Error from remote client) |
| 19:04:00 | × | zebrag quits (~chris@user/zebrag) (Quit: Konversation terminated!) |
| 19:04:20 | → | zebrag joins (~chris@user/zebrag) |
| 19:06:08 | → | jakalx joins (~jakalx@base.jakalx.net) |
| 19:07:25 | × | GerardMamenti quits (~perrier-j@modemcable012.251-130-66.mc.videotron.ca) (Quit: WeeChat 3.6) |
| 19:08:49 | → | perrierjouet joins (~perrier-j@modemcable012.251-130-66.mc.videotron.ca) |
| 19:10:33 | × | jgeerds quits (~jgeerds@55d46bad.access.ecotel.net) (Ping timeout: 252 seconds) |
| 19:10:56 | × | perrierjouet quits (~perrier-j@modemcable012.251-130-66.mc.videotron.ca) (Client Quit) |
| 19:11:35 | → | perrierjouet joins (~perrier-j@modemcable012.251-130-66.mc.videotron.ca) |
| 19:13:00 | → | zeenk joins (~zeenk@2a02:2f04:a311:2d00:6865:d863:4c93:799f) |
| 19:14:58 | × | matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 244 seconds) |
| 19:16:52 | × | zxx7529 quits (~Thunderbi@user/zxx7529) (Quit: zxx7529) |
| 19:17:06 | → | notzmv joins (~zmv@user/notzmv) |
| 19:20:08 | → | gdown joins (~gavin@h69-11-149-231.kndrid.broadband.dynamic.tds.net) |
| 19:24:40 | → | jmdaemon joins (~jmdaemon@user/jmdaemon) |
| 19:24:58 | → | Tuplanolla joins (~Tuplanoll@91-159-69-12.elisa-laajakaista.fi) |
| 19:26:59 | × | NewbiePlumber quits (~NewbiePlu@2601:43:200:154f:a5cf:ab34:2755:e25) (Quit: Ping timeout (120 seconds)) |
| 19:27:56 | × | lottaquestions quits (~nick@2607:fa49:503e:7100:17b4:8a9c:cee3:3359) (Ping timeout: 255 seconds) |
| 19:33:21 | × | tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…) |
| 19:33:45 | → | acidjnk joins (~acidjnk@p200300d6e7137a51b5f4311eaf3b0bb2.dip0.t-ipconnect.de) |
| 19:35:43 | → | JimL joins (~quassel@89-162-2-132.fiber.signal.no) |
| 19:36:37 | → | MonsoonSecrecy joins (f78c86e960@2604:bf00:561:2000::f99) |
| 19:39:19 | → | matthewmosior joins (~matthewmo@173.170.253.91) |
| 19:40:35 | <qrpnxz> | haskell has let's see ByteArray#, MutableByteArray#, Ptr, ForeignPtr, each in Pinned and Unpinned variant. For nicer interface above we have Data.Array.Byte, Data.Primitive.ByteArray, Data.Vector.Primitive, Data.Vector.Storable, Data.ByteString, Data.ByteString.Short. I'm going a little bit crazy here. |
| 19:41:59 | → | kilolympus joins (~kilolympu@90.203.82.22) |
| 19:43:50 | × | beteigeuze quits (~Thunderbi@bl11-28-222.dsl.telepac.pt) (Read error: Connection reset by peer) |
| 19:44:02 | → | beteigeuze joins (~Thunderbi@bl11-28-222.dsl.telepac.pt) |
| 19:44:02 | → | hippoid joins (~idris@c-98-220-13-8.hsd1.il.comcast.net) |
| 19:45:34 | → | michalz joins (~michalz@185.246.204.75) |
| 19:46:32 | × | matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 256 seconds) |
| 19:46:43 | × | nate4 quits (~nate@98.45.169.16) (Ping timeout: 248 seconds) |
| 19:46:46 | × | phma quits (phma@2001:5b0:2172:b518:6336:2e81:da5f:9132) (Read error: Connection reset by peer) |
| 19:47:40 | × | jonathanx_ quits (~jonathan@h-178-174-176-109.A357.priv.bahnhof.se) (Ping timeout: 256 seconds) |
| 19:52:35 | × | hippoid quits (~idris@c-98-220-13-8.hsd1.il.comcast.net) (Ping timeout: 248 seconds) |
| 19:52:39 | × | coot quits (~coot@213.134.176.158) (Quit: coot) |
| 19:53:14 | → | coot joins (~coot@213.134.176.158) |
| 19:53:28 | → | jgeerds joins (~jgeerds@55d46bad.access.ecotel.net) |
| 19:55:21 | → | hippoid joins (~idris@c-98-220-13-8.hsd1.il.comcast.net) |
| 19:57:51 | × | mvk quits (~mvk@2607:fea8:5ce3:8500::a1ec) (Ping timeout: 244 seconds) |
| 19:58:14 | → | Topsi joins (~Topsi@dyndsl-095-033-092-213.ewe-ip-backbone.de) |
| 20:00:37 | → | matthewmosior joins (~matthewmo@173.170.253.91) |
| 20:02:56 | → | machinedgod joins (~machinedg@d198-53-218-113.abhsia.telus.net) |
| 20:03:33 | × | hippoid quits (~idris@c-98-220-13-8.hsd1.il.comcast.net) (Ping timeout: 256 seconds) |
| 20:06:21 | → | hippoid joins (~idris@c-98-220-13-8.hsd1.il.comcast.net) |
| 20:10:12 | × | Techcable quits (~Techcable@user/Techcable) (Remote host closed the connection) |
| 20:11:29 | × | kilolympus quits (~kilolympu@90.203.82.22) (Ping timeout: 256 seconds) |
| 20:12:12 | → | Techcable joins (~Techcable@user/Techcable) |
| 20:12:46 | × | zeenk quits (~zeenk@2a02:2f04:a311:2d00:6865:d863:4c93:799f) (Quit: Konversation terminated!) |
| 20:14:01 | → | tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) |
| 20:14:27 | → | kenaryn joins (~aurele@89-88-44-27.abo.bbox.fr) |
| 20:14:52 | → | kilolympus joins (~kilolympu@90.203.82.22) |
| 20:14:57 | × | hippoid quits (~idris@c-98-220-13-8.hsd1.il.comcast.net) (Ping timeout: 268 seconds) |
| 20:16:19 | → | hippoid joins (~idris@c-98-220-13-8.hsd1.il.comcast.net) |
| 20:16:23 | → | adanwan_ joins (~adanwan@gateway/tor-sasl/adanwan) |
| 20:16:53 | × | adanwan quits (~adanwan@gateway/tor-sasl/adanwan) (Ping timeout: 268 seconds) |
| 20:18:47 | × | matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 255 seconds) |
| 20:19:15 | → | pavonia joins (~user@user/siracusa) |
| 20:21:07 | × | hippoid quits (~idris@c-98-220-13-8.hsd1.il.comcast.net) (Ping timeout: 256 seconds) |
| 20:21:35 | → | mastarija joins (~mastarija@2a05:4f46:e03:6000:f5b0:5c3a:2cad:ac34) |
| 20:23:52 | → | NewbiePlumber joins (~NewbiePlu@2601:43:200:154f:a5cf:ab34:2755:e25) |
| 20:26:13 | <NewbiePlumber> | tabs or spaces, is that a monad? |
| 20:26:24 | <Rembane_> | Why not all three? |
| 20:26:51 | <NewbiePlumber> | do it concurrently |
| 20:27:34 | <monochrom> | If you use tabs, you will have tab leaks. |
| 20:27:59 | → | yvan-sraka joins (~yvan-srak@2a01:e0a:38d:a110:afeb:7cde:2e24:243f) |
| 20:28:47 | <NewbiePlumber> | does haskell have a formatting tool? |
| 20:29:28 | <geekosaur> | several |
| 20:29:52 | <geekosaur> | brittany, ormolu/fourmolu, structured-haskell-mode in emacs… |
| 20:30:07 | <tomsmeding> | stylish-haskell, hindent |
| 20:30:32 | <geekosaur> | right, I keep fprgetting those two |
| 20:31:03 | <tomsmeding> | hindent is kinda weird with its choices sometimes, though, but it's great as a quick auto-indenter for large Show output :p |
| 20:31:30 | <tomsmeding> | I have :hindentshow <expr> in my .ghci which passes the result of expr through 'show' and hindent |
| 20:32:08 | × | tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…) |
| 20:33:07 | <NewbiePlumber> | How do I pass -O3 by default to my project on both stack and cabal? |
| 20:33:18 | <NewbiePlumber> | I've tried editing the ~/.cabal/config file, but no luck |
| 20:33:39 | <dsal> | monochrom: I use tabs in chrome. Can confirm. |
| 20:33:43 | <geekosaur> | stack and cabal use different config files. also -O3 does nothing |
| 20:33:58 | <NewbiePlumber> | Oh, it's just O1/O2? |
| 20:34:02 | <geekosaur> | ghc does not compile via C, and there is no haskell -O3 |
| 20:34:23 | <geekosaur> | and -O2 should be used only after benchmarking with and without |
| 20:34:41 | → | tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) |
| 20:34:44 | <geekosaur> | since it increases compile time significantly while not generally producing much better code (and sometimes worse) |
| 20:35:13 | <NewbiePlumber> | Interesting, hmm |
| 20:35:17 | → | Lucio__ joins (~Lucio@5.179.169.123) |
| 20:36:57 | <NewbiePlumber> | But, to do it, would it be in cabal.project, stack.yaml, <project>.cabal, somewhere else, or all of those? |
| 20:37:17 | <tomsmeding> | <project>.cabal |
| 20:37:23 | <tomsmeding> | ghc-options: -O2 -Wall |
| 20:37:28 | → | hippoid joins (~idris@c-98-220-13-8.hsd1.il.comcast.net) |
| 20:37:38 | × | gmg quits (~user@user/gehmehgeh) (Quit: Leaving) |
| 20:37:47 | <tomsmeding> | (I'm putting -Wall there too which is unrelated -- it enables warnings -- but you would also put that there, and *please enable warnings*) |
| 20:38:07 | <geekosaur> | although I think cabal.project.local is preferred unless you have good reason to stick it in the cabal file (assuming this will eventually go to hackage) |
| 20:38:25 | <tomsmeding> | I guess if you have a good reason to use -O2, you have a good reason to use -O2 :p |
| 20:38:26 | × | mastarija quits (~mastarija@2a05:4f46:e03:6000:f5b0:5c3a:2cad:ac34) (Quit: Leaving) |
| 20:39:00 | × | Lucio_ quits (~Lucio@5.179.169.123) (Ping timeout: 268 seconds) |
| 20:40:10 | <NewbiePlumber> | So, using O2 is generally not recommended because it doesn't always produce significantly better performance and hinders debugging? |
| 20:41:37 | <geekosaur> | nothing to do with debugging (that's difficult regardless 🙂 |
| 20:41:48 | <geekosaur> | but it takes *much* longer to compile with -O2 |
| 20:41:48 | × | __monty__ quits (~toonn@user/toonn) (Quit: leaving) |
| 20:41:58 | <geekosaur> | and you rarely get much out of it |
| 20:43:48 | × | hippoid quits (~idris@c-98-220-13-8.hsd1.il.comcast.net) (Quit: WeeChat 3.5) |
| 20:45:40 | <NewbiePlumber> | I'm not seeing much info about linking everything statically, including the compiler runtime, linking with fPIC, and using LTO |
| 20:45:46 | <NewbiePlumber> | are those things possible? |
| 20:45:48 | ← | jakalx parts (~jakalx@base.jakalx.net) (Error from remote client) |
| 20:45:53 | <qrpnxz> | omg, i think haskell doesn't have a read-only pointer type. Talk about ironic lol |
| 20:46:25 | → | matthewmosior joins (~matthewmo@173.170.253.91) |
| 20:46:59 | × | Lucio__ quits (~Lucio@5.179.169.123) (Ping timeout: 252 seconds) |
| 20:47:14 | <geekosaur> | haskell libraries including the RTS are linked statically unless you use -dynamic. |
| 20:47:43 | → | motersen joins (~motersen@user/motersen) |
| 20:47:58 | <geekosaur> | C libraries default to dynamic unless you use -Wl,-static, but then you have to worry about static libc (glibc *really really* does not like this) |
| 20:48:40 | <geekosaur> | PIC is used automatically when dynamic or the platform supports PIE. |
| 20:49:09 | <NewbiePlumber> | Thank you |
| 20:49:16 | <geekosaur> | LTO mostly doesn't apply because nobody's linker knows how to properly LTO Haskell objects |
| 20:49:31 | <int-e> | qrpnxz: In first approximation, Haskell doesn't have pointer types... pointers are mostly for FFI, where they are implementation details in low-level unsafe code. What would you gain with a read-only pointer? |
| 20:49:39 | <geekosaur> | mostly LTO is designed for C++ |
| 20:49:51 | <tomsmeding> | also C, right? |
| 20:50:06 | <tomsmeding> | (though in a pinch C is mostly a subset of C++ :p) |
| 20:50:09 | <geekosaur> | C is kinda a lesser C++ from the linker's POV |
| 20:50:12 | <tomsmeding> | yeah |
| 20:50:20 | <NewbiePlumber> | FWIW, our experience in C++ has put us firmly on the side of "build our own compilers and link statically against them" |
| 20:50:22 | <tomsmeding> | right, especially for the linker |
| 20:50:37 | <tomsmeding> | NewbiePlumber: link statically against a _compiler_? |
| 20:50:52 | <NewbiePlumber> | a compiler runtime, yes |
| 20:51:00 | <qrpnxz> | int-e: i'm working on a low-level bytes reader/writer api. I wanted to return a reference to a buffer, then realized oops this pointer can be written to! Very bad. So now i'm looking for what's the best most interoperable zero-cost alternative. |
| 20:51:00 | <tomsmeding> | ah, the runtime, that makes more sense :p |
| 20:51:09 | × | matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 256 seconds) |
| 20:51:09 | <monochrom> | The Gamma Relation: ghc -On ~ gcc -O(n+1) |
| 20:51:20 | <qrpnxz> | i could just accept an unsafe api, but i want to be safe as possible |
| 20:51:35 | <tomsmeding> | NewbiePlumber: well, as geekosaur said, ghc automatically statically links the ghc runtime system ("RTS") |
| 20:51:46 | <NewbiePlumber> | Yes, TY all :) |
| 20:51:55 | <int-e> | qrpnxz: wrap it in a newtype, don't export the constructure, and provide your own access operations |
| 20:51:59 | × | kenaryn quits (~aurele@89-88-44-27.abo.bbox.fr) (Quit: leaving) |
| 20:52:28 | <int-e> | *constructor... I think I'm half sleep-typing. |
| 20:52:29 | <monochrom> | Isn't it also the case that gcc static-links crts.o ? |
| 20:52:44 | <qrpnxz> | int-e: that's so much work, but yes that's pretty much the least compromise way to do it i suppose. |
| 20:53:06 | → | jakalx joins (~jakalx@base.jakalx.net) |
| 20:53:16 | <tomsmeding> | monochrom: it doesn't statically link libc.so :p |
| 20:53:49 | <monochrom> | Not to say that crts.o does anything substantial. Basically an at_exit registrar. |
| 20:54:11 | <tomsmeding> | isn't that kind of the point of C, that the RTS doesn't amount to anything substantial? |
| 20:54:12 | <int-e> | :t Data.ByteString.Internal.fromForeignPtr |
| 20:54:13 | <lambdabot> | GHC.ForeignPtr.ForeignPtr Word8 -> Int -> Int -> BSC.ByteString |
| 20:54:18 | <geekosaur[m]> | I should also mention that 99% of LTO is dead code elimination, which ghc was doing itself before LTO came along |
| 20:54:24 | <int-e> | qrpnxz: Maybe that's good enough for you? |
| 20:55:49 | <monochrom> | I dare say, the point of all sequential-only languages... |
| 20:56:07 | <hololeap> | anyone have any ideas why this would happen? https://github.com/gentoo-haskell/hackport/runs/7941483762?check_suite_focus=true#step:8:296 |
| 20:56:39 | <qrpnxz> | that's one reason i'd want to return a ptr yes, you can turn it into a bytestring zero-copy, or feed a MutableArray# with it and so on. If i were to create a safe read-only interface, i'd have to write wrappers for functions like that |
| 20:56:41 | <qrpnxz> | int-e: |
| 20:56:48 | <tomsmeding> | monochrom: Java has a pretty substantial runtime system :p |
| 20:56:48 | <monochrom> | {Algol, C, Pascal, Perl, PHP} RTS only needs to do setup, jsr main, teardown. |
| 20:56:56 | → | Lucio__ joins (~Lucio@5.179.169.123) |
| 20:57:05 | <hololeap> | (there's no template haskell in the project, at all) |
| 20:57:13 | <int-e> | "Sign in to view logs", meh. |
| 20:57:32 | <monochrom> | OK I forgot GC. But Java is not sequential-only either. An elaborate green-thread system, second to GHC only. |
| 20:57:43 | <tomsmeding> | true |
| 20:58:23 | <qrpnxz> | what i'm thinking is maybe making all FFI interaction second-class and using Array# and friends primarily. |
| 20:58:41 | <int-e> | qrpnxz: The idea was that you could pack the thing up as a bytestring, and that would give consumers ways to access it. But maybe you have more structure that isn't conveniently conveyed that way. Or something that isn't byte-based. |
| 20:58:46 | <qrpnxz> | problem is that some really useful functions in Data.ByteString i couldn't use |
| 20:59:10 | <qrpnxz> | ah i see what you mean |
| 20:59:19 | <int-e> | So there are lots of reasons why this might not be applicable. |
| 20:59:25 | <qrpnxz> | yes that's easier than making a newtype |
| 21:00:28 | <hololeap> | int-e: http://sprunge.us/7x21Bm |
| 21:00:31 | <geekosaur[m]> | I can't see what is failing. But I'll note that ghc errors conflate TH and other bytecode (such as ghci which would be used by for example doctest) |
| 21:00:34 | <hololeap> | search for "Couldn't match type" |
| 21:01:13 | <tomsmeding> | hololeap: what is exe/Main.hs:155 |
| 21:01:18 | <tomsmeding> | that $[] looks suspicious |
| 21:01:28 | → | zero joins (~z@user/zero) |
| 21:01:45 | <NewbiePlumber> | https://paste.tomsmeding.com/ALhcr2CL |
| 21:01:50 | <NewbiePlumber> | The function in question ^ |
| 21:01:51 | <tomsmeding> | oh github is a thing |
| 21:02:00 | <geekosaur[m]> | I need to get back to my desktop to look up ghc's special LTO-ish option |
| 21:02:24 | <hololeap> | https://github.com/gentoo-haskell/hackport/blob/eca4652fd70f886e6990381c9f5b9a21257c1e30/exe/Main.hs#L155 |
| 21:02:45 | <geekosaur[m]> | -split-sections? |
| 21:03:11 | × | mc47 quits (~mc47@xmonad/TheMC47) (Remote host closed the connection) |
| 21:03:21 | <qrpnxz> | actually, there's a way to get a ptr from a Bytearray#, so i could use those, and then you'd still have the option of turning that into a bytestring temporarily for that API, and it would let you create Data.Text zero-copy to boot. |
| 21:03:43 | <hololeap> | is it misinterpreting ($[]) as TH? |
| 21:03:48 | <tomsmeding> | hololeap: somehow? |
| 21:03:56 | <tomsmeding> | hololeap: can you reproduce it in a file without CPP |
| 21:04:31 | → | matthewmosior joins (~matthewmo@173.170.253.91) |
| 21:04:38 | <geekosaur[m]> | Usually when ghc blames TH it's complaining about loading a shared object into bytecode |
| 21:05:07 | <tomsmeding> | geekosaur[m]: looks like a parse error here, it's interpreting ($[]) as some TH quote |
| 21:05:17 | <tomsmeding> | I suspect {-# LANGUAGE CPP #-} with a misbehaving CPP |
| 21:05:37 | <tomsmeding> | but then the error just lists "($[])" which somewhat disproves that supicion |
| 21:05:40 | <tomsmeding> | *suspicion |
| 21:05:52 | <hololeap> | it's only doctests that seem to have a problem with it, and it was working fine not too long ago even with that same line |
| 21:06:08 | <hololeap> | but the CPP is not necessary. I should remove it anyway |
| 21:06:37 | <NewbiePlumber> | on the commandline: warning: unrecognised warning flag: -Wl,-static |
| 21:06:47 | <NewbiePlumber> | Error trying those linker options (from project.cabal) |
| 21:07:44 | <NewbiePlumber> | Oh, are those supposed to be in the linker section?? Ok, newbie |
| 21:07:44 | <hololeap> | I also find it odd that doctest fails and still returns exit code 0 |
| 21:09:05 | <tomsmeding> | hololeap: consider it a value judgement on documentation -- "who cares about a few errors, we wrote docs in the first place!" |
| 21:10:00 | <hololeap> | it doesn't usually do that. this is the first time I've seen it silently fail |
| 21:10:12 | <hololeap> | (not quite silent, thankfully) |
| 21:10:27 | × | zer0bitz quits (~zer0bitz@2001:2003:f748:2000:186f:eebe:3c5b:ecfa) (Read error: Connection reset by peer) |
| 21:11:26 | → | mvk joins (~mvk@2607:fea8:5ce3:8500::a1ec) |
| 21:15:28 | <qrpnxz> | looks like vector 0.13 just came out? |
| 21:15:42 | <qrpnxz> | or am i mistaken |
| 21:17:43 | × | NewbiePlumber quits (~NewbiePlu@2601:43:200:154f:a5cf:ab34:2755:e25) (Quit: Ping timeout (120 seconds)) |
| 21:17:45 | <int-e> | hololeap: Oh, this seems to be a change in ghc-9.0 and TemplateHaskell. http://paste.debian.net/1251246/ |
| 21:18:56 | <int-e> | hololeap: so https://github.com/gentoo-haskell/hackport/blob/master/exe/Main.hs#L155 will need a space between $ and []. |
| 21:19:34 | <int-e> | (Why is TemplateHaskell enabled? I guess the cabal file does that... and it's needed for other files.) |
| 21:20:16 | <tomsmeding> | int-e: funnily, the behaviour seems changed from ghc-9.0, but only ghc-9.2 shows a warning about the syntax if -XTemplateHaskell is _not_ enabled |
| 21:20:20 | <tomsmeding> | seems like the wrong way round... |
| 21:21:11 | <int-e> | Yeah, that must have been an afterthought. I wonder whether there's a ticket. |
| 21:21:33 | × | matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 244 seconds) |
| 21:22:17 | <geekosaur> | qrpnxz, came out in june, just got a revision (probably upper bounds) |
| 21:23:04 | <qrpnxz> | thanks |
| 21:23:45 | → | phuegrvs[m] joins (~phuegrvsm@2001:470:69fc:105::1:65e4) |
| 21:23:51 | <hololeap> | TemplateHaskell isn't enabled anywhere in the project. it's something doctest is doing |
| 21:26:49 | <int-e> | tomsmeding: Not an oversight, really. It's https://github.com/ghc-proposals/ghc-proposals/blob/master/proposals/0229-whitespace-bang-patterns.rst which says: ".. implemented:: 9.0, but missing the warnings proposed here" |
| 21:27:25 | <tomsmeding> | ah |
| 21:28:08 | × | tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…) |
| 21:33:20 | × | coot quits (~coot@213.134.176.158) (Quit: coot) |
| 21:34:09 | → | vysn joins (~vysn@user/vysn) |
| 21:35:50 | × | michalz quits (~michalz@185.246.204.75) (Remote host closed the connection) |
| 21:36:21 | → | matthewmosior joins (~matthewmo@173.170.253.91) |
| 21:38:51 | × | ccntrq quits (~Thunderbi@172.209.94.92.rev.sfr.net) (Remote host closed the connection) |
| 21:41:01 | × | matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 256 seconds) |
| 21:41:59 | × | adium quits (adium@user/adium) (Ping timeout: 252 seconds) |
| 21:42:01 | × | Topsi quits (~Topsi@dyndsl-095-033-092-213.ewe-ip-backbone.de) (Read error: Connection reset by peer) |
| 21:42:08 | × | azimut quits (~azimut@gateway/tor-sasl/azimut) (Remote host closed the connection) |
| 21:42:44 | → | NewbiePlumber joins (~NewbiePlu@2601:43:200:154f:a5cf:ab34:2755:e25) |
| 21:42:46 | → | azimut joins (~azimut@gateway/tor-sasl/azimut) |
| 21:46:05 | × | MajorBiscuit quits (~MajorBisc@46-229-126.internethome.cytanet.com.cy) (Quit: WeeChat 3.5) |
| 21:47:49 | × | azimut quits (~azimut@gateway/tor-sasl/azimut) (Remote host closed the connection) |
| 21:48:07 | → | azimut joins (~azimut@gateway/tor-sasl/azimut) |
| 21:48:27 | × | takuan quits (~takuan@178-116-218-225.access.telenet.be) (Remote host closed the connection) |
| 21:49:43 | × | drlkf quits (~drlkf@chat.drlkf.net) (Quit: drlkf) |
| 21:50:04 | → | drlkf joins (~drlkf@chat.drlkf.net) |
| 21:50:25 | × | toluene quits (~toluene@user/toulene) (Ping timeout: 252 seconds) |
| 21:51:33 | <hololeap> | removing {-# LANGUAGE CPP #-} got rid of the error message |
| 21:54:54 | × | NewbiePlumber quits (~NewbiePlu@2601:43:200:154f:a5cf:ab34:2755:e25) (Quit: Ping timeout (120 seconds)) |
| 21:57:29 | × | chexum quits (~quassel@gateway/tor-sasl/chexum) (Remote host closed the connection) |
| 21:57:55 | × | waleee quits (~waleee@2001:9b0:213:7200:cc36:a556:b1e8:b340) (Ping timeout: 248 seconds) |
| 21:58:27 | → | chexum joins (~quassel@gateway/tor-sasl/chexum) |
| 22:00:05 | → | waleee joins (~waleee@h-176-10-137-138.NA.cust.bahnhof.se) |
| 22:03:41 | × | Lucio__ quits (~Lucio@5.179.169.123) (Ping timeout: 256 seconds) |
| 22:06:17 | → | wonko joins (~wjc@2a0e:1c80:2::130) |
| 22:08:37 | → | matthewmosior joins (~matthewmo@173.170.253.91) |
| 22:08:55 | → | ph88 joins (~ph88@2a02:8109:9e00:71d0:cb56:c0f1:be02:e9c5) |
| 22:11:32 | → | nate4 joins (~nate@98.45.169.16) |
| 22:16:46 | × | matthewmosior quits (~matthewmo@173.170.253.91) (Remote host closed the connection) |
| 22:16:52 | → | matthewmosior joins (~matthewmo@173.170.253.91) |
| 22:17:10 | × | Tuplanolla quits (~Tuplanoll@91-159-69-12.elisa-laajakaista.fi) (Quit: Leaving.) |
| 22:19:48 | × | Midjak quits (~Midjak@82.66.147.146) (Quit: This computer has gone to sleep) |
| 22:20:41 | × | zero quits (~z@user/zero) (Ping timeout: 256 seconds) |
| 22:24:45 | → | NewbiePlumber joins (~NewbiePlu@2601:43:200:154f:a5cf:ab34:2755:e25) |
| 22:25:17 | <NewbiePlumber> | I've been struggling with this error for some time now, and would like to resolve it: https://paste.tomsmeding.com/aLakskPi |
| 22:25:27 | <NewbiePlumber> | Cabal and raw ghc commands build the project just fine |
| 22:25:44 | <NewbiePlumber> | I'm on an aarch64 machine, but stack thinks I'm on arm64 |
| 22:25:57 | → | Sgeo joins (~Sgeo@user/sgeo) |
| 22:26:27 | <NewbiePlumber> | I don't know why. I've tried pointing stack to system ghc distributions, unsuccessfully. I've also tried building ghc from source and pointing stack to it, also unsuccessfully. |
| 22:28:35 | <NewbiePlumber> | The full output is too large, but the other errors are like 10k of these: |
| 22:28:35 | <NewbiePlumber> | Linking src/Main.a ... |
| 22:28:41 | <NewbiePlumber> | Linking src/Main.a ... |
| 22:29:25 | → | NewbiePlumber26 joins (~NewbiePlu@2601:43:200:154f:a5cf:ab34:2755:e25) |
| 22:29:26 | <geekosaur> | aarch64 and arm64 are the same thing |
| 22:29:52 | <NewbiePlumber> | They're very, very similar, but there are subtle differences |
| 22:30:27 | × | mmhat quits (~mmh@p200300f1c7086075ee086bfffe095315.dip0.t-ipconnect.de) (Ping timeout: 248 seconds) |
| 22:31:14 | <NewbiePlumber> | (IIRC, the differences are in the ABI, not the instruction set, FWIW) |
| 22:31:34 | × | matthewmosior quits (~matthewmo@173.170.253.91) (Remote host closed the connection) |
| 22:31:43 | × | NewbiePlumber26 quits (~NewbiePlu@2601:43:200:154f:a5cf:ab34:2755:e25) (Client Quit) |
| 22:31:58 | <geekosaur> | are you confusing AArch64 with Apple's ABI? |
| 22:32:01 | → | matthewmosior joins (~matthewmo@173.170.253.91) |
| 22:32:17 | <geekosaur> | ("AArch64" predates Apple ARM Macs by several years) |
| 22:32:19 | <NewbiePlumber> | 10k of these (slashes wouldn't paste right here) https://paste.tomsmeding.com/Vc9jmQCf |
| 22:33:44 | <NewbiePlumber> | I may be. My understanding of the differences between arm64 and aarch64 are from this repo: https://github.com/iains/gcc-darwin-arm64 |
| 22:35:31 | <geekosaur> | the very title of that page is "Branches for AArch64 (Arm64) Darwin/Mach-O" |
| 22:36:12 | <geekosaur> | my former employer was doing AArch64 Linux builds in 2016 so I know it was around back then |
| 22:36:18 | <geekosaur> | Arm64 may be the new one |
| 22:36:29 | × | matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 255 seconds) |
| 22:36:32 | <jean-paul[m]> | I'm looking around for a library for bayesian classification. I see a few obscure things not on stackage and I see hbayes which has some warnings on it trying to scare me away. Anyone have any recommendations in this space? |
| 22:44:52 | <monochrom> | Is https://hackage.haskell.org/package/monad-bayes relevant? And https://monad-bayes-site.netlify.app/_site/about.html |
| 22:50:02 | → | king_gs joins (~Thunderbi@187.201.216.244) |
| 22:50:03 | × | king_gs quits (~Thunderbi@187.201.216.244) (Client Quit) |
| 22:56:28 | → | kannon joins (~NK@74-95-14-193-SFBA.hfc.comcastbusiness.net) |
| 22:59:36 | × | yvan-sraka quits (~yvan-srak@2a01:e0a:38d:a110:afeb:7cde:2e24:243f) (Remote host closed the connection) |
| 22:59:55 | → | yvan-sraka joins (~yvan-srak@2a01:e0a:38d:a110:8db6:b1cb:eb82:d00b) |
| 23:05:45 | → | matthewmosior joins (~matthewmo@173.170.253.91) |
| 23:06:43 | × | acidjnk quits (~acidjnk@p200300d6e7137a51b5f4311eaf3b0bb2.dip0.t-ipconnect.de) (Ping timeout: 248 seconds) |
| 23:11:46 | → | luffy joins (~chenqisu1@183.217.200.212) |
| 23:17:23 | × | gurkengl1s quits (~gurkengla@p548ac72e.dip0.t-ipconnect.de) (Ping timeout: 248 seconds) |
| 23:22:52 | × | drlkf quits (~drlkf@chat.drlkf.net) (Quit: drlkf) |
| 23:23:00 | → | causal joins (~user@50.35.83.177) |
| 23:23:14 | → | jinsun joins (~jinsun@user/jinsun) |
| 23:23:15 | → | drlkf joins (~drlkf@chat.drlkf.net) |
| 23:24:09 | × | wonko quits (~wjc@2a0e:1c80:2::130) (Ping timeout: 256 seconds) |
| 23:24:32 | × | eggplantade quits (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net) (Remote host closed the connection) |
| 23:25:16 | × | matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 256 seconds) |
| 23:26:48 | → | adium joins (adium@user/adium) |
| 23:30:39 | × | yvan-sraka quits (~yvan-srak@2a01:e0a:38d:a110:8db6:b1cb:eb82:d00b) (Remote host closed the connection) |
| 23:35:19 | <jean-paul[m]> | I'm reading its docs and trying to decide. I can't really tell. |
| 23:35:36 | <qrpnxz> | hmm, in rust i can just hand you an immutable ref to my buffer willy nilly and later write to it because the compiler checks you are not holding it anymore by that time. In haskell i'll have to create a newtype and do CPS, or some highly side-effecty runtime reference tracking, to do something like that. Maybe linear type would help? For now i think copying might be the sane way to go, even if not |
| 23:35:38 | <qrpnxz> | as efficient. |
| 23:38:03 | <jean-paul[m]> | I want to be really lazy and have an API something like `classify :: Map k Text -> Text -> k`. I think monad-bayes is more about computational bayes than classification (presumably I could /build/ classification on top of it but ... |
| 23:39:14 | → | matthewmosior joins (~matthewmo@173.170.253.91) |
| 23:40:03 | × | jgeerds quits (~jgeerds@55d46bad.access.ecotel.net) (Ping timeout: 252 seconds) |
| 23:43:32 | × | matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 255 seconds) |
| 23:44:05 | → | mixfix41 joins (~sdeny9ee@user/mixfix41) |
All times are in UTC on 2022-08-21.