Logs: freenode/#haskell
| 2020-10-18 07:08:25 | → | Nikotiini joins (~ubuntu@ec2-52-213-118-142.eu-west-1.compute.amazonaws.com) |
| 2020-10-18 07:08:30 | <proofofme> | ok one second |
| 2020-10-18 07:08:36 | <koz_> | Since in this case, it is actually fairly critical. |
| 2020-10-18 07:08:58 | hackage | multipart 0.2.1 - Parsers for the HTTP multipart format https://hackage.haskell.org/package/multipart-0.2.1 (ErikHesselink) |
| 2020-10-18 07:09:39 | <proofofme> | https://pastebin.com/XqtKh9Ac |
| 2020-10-18 07:10:30 | <koz_> | "import Data.CSV" <-- contrast with the module's actual name as per https://hackage.haskell.org/package/cassava-0.5.2.0/docs/Data-Csv.html |
| 2020-10-18 07:11:16 | × | Rudd0 quits (~Rudd0@185.189.115.98) (Ping timeout: 272 seconds) |
| 2020-10-18 07:11:23 | <proofofme> | ah ... |
| 2020-10-18 07:11:25 | × | ephemera_ quits (~E@122.34.1.187) (Remote host closed the connection) |
| 2020-10-18 07:11:37 | <proofofme> | wow ... spent so long on this tonight ... |
| 2020-10-18 07:11:48 | <koz_> | proofofme: Happens. |
| 2020-10-18 07:12:43 | → | ephemera_ joins (~E@122.34.1.187) |
| 2020-10-18 07:13:40 | → | geowiesnot joins (~user@i15-les02-ix2-87-89-181-157.sfr.lns.abo.bbox.fr) |
| 2020-10-18 07:15:46 | lep-delete | is now known as Guest88073 |
| 2020-10-18 07:15:47 | Guest88073 | is now known as lep-delete |
| 2020-10-18 07:17:44 | → | polyrain joins (~polyrain@130.102.13.108) |
| 2020-10-18 07:18:52 | <proofofme> | what's the standard way of handling an `either`? |
| 2020-10-18 07:19:11 | <koz_> | proofofme: What do you mean by 'handling'? |
| 2020-10-18 07:19:14 | × | polyrain quits (~polyrain@130.102.13.108) (Client Quit) |
| 2020-10-18 07:20:26 | <proofofme> | so I have an assignment to `x` which is of type Either String (Vector(Text, Int)). how do I process `x` and do the same functions as fromRight and fromLeft, but the right way |
| 2020-10-18 07:20:56 | <koz_> | Well, you'd normally case-match. |
| 2020-10-18 07:21:17 | × | ericsagnes quits (~ericsagne@2405:6580:0:5100:555b:b346:7063:867) (Ping timeout: 272 seconds) |
| 2020-10-18 07:21:40 | <koz_> | https://gist.github.com/kozross/b3e00bd68bb1ddd91c09be215182f1bc |
| 2020-10-18 07:21:41 | <proofofme> | is there a function analogous to the `maybe` for handling Maybes? |
| 2020-10-18 07:21:45 | <koz_> | :t either |
| 2020-10-18 07:21:47 | <lambdabot> | (a -> c) -> (b -> c) -> Either a b -> c |
| 2020-10-18 07:21:57 | × | toorevitimirp quits (~tooreviti@117.182.180.0) (Remote host closed the connection) |
| 2020-10-18 07:22:13 | <koz_> | I don't recommend it here, though, mostly because your Either represents an error condition versus a successful parse. |
| 2020-10-18 07:22:22 | <koz_> | So jamming it all into either is probably not the best idea. |
| 2020-10-18 07:22:25 | → | toorevitimirp joins (~tooreviti@117.182.180.0) |
| 2020-10-18 07:22:42 | <proofofme> | case matching it is then. Thanks koz! |
| 2020-10-18 07:24:41 | → | wroathe joins (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) |
| 2020-10-18 07:25:32 | → | polyrain joins (~polyrain@130.102.13.108) |
| 2020-10-18 07:25:33 | → | coot joins (~coot@37.30.52.68.nat.umts.dynamic.t-mobile.pl) |
| 2020-10-18 07:28:33 | × | polyrain quits (~polyrain@130.102.13.108) (Client Quit) |
| 2020-10-18 07:29:01 | → | christo joins (~chris@81.96.113.213) |
| 2020-10-18 07:30:31 | × | christo quits (~chris@81.96.113.213) (Remote host closed the connection) |
| 2020-10-18 07:31:40 | → | polyrain joins (~polyrain@130.102.13.108) |
| 2020-10-18 07:31:43 | × | polyrain quits (~polyrain@130.102.13.108) (Client Quit) |
| 2020-10-18 07:32:38 | → | danvet_ joins (~Daniel@2a02:168:57f4:0:efd0:b9e5:5ae6:c2fa) |
| 2020-10-18 07:33:02 | → | ericsagnes joins (~ericsagne@2405:6580:0:5100:99c7:29a6:2c7f:b89d) |
| 2020-10-18 07:33:13 | → | merijn joins (~merijn@83-160-49-249.ip.xs4all.nl) |
| 2020-10-18 07:33:21 | × | proofofme quits (~proofofme@184-96-74-65.hlrn.qwest.net) (Remote host closed the connection) |
| 2020-10-18 07:33:38 | × | wroathe quits (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) (Quit: leaving) |
| 2020-10-18 07:34:07 | → | fxg joins (~fxg@unaffiliated/fxg) |
| 2020-10-18 07:35:25 | → | christo joins (~chris@81.96.113.213) |
| 2020-10-18 07:35:30 | → | polyrain joins (~polyrain@130.102.13.108) |
| 2020-10-18 07:35:48 | × | dwt quits (~dwt@c-98-200-58-177.hsd1.tx.comcast.net) (Ping timeout: 260 seconds) |
| 2020-10-18 07:36:13 | × | cdepillabout quits (~cdepillab@pl35600.ag1001.nttpc.ne.jp) (Ping timeout: 264 seconds) |
| 2020-10-18 07:37:05 | × | fxg quits (~fxg@unaffiliated/fxg) (Client Quit) |
| 2020-10-18 07:37:50 | → | drbean joins (~drbean@TC210-63-209-56.static.apol.com.tw) |
| 2020-10-18 07:42:01 | → | perrier-jouet joins (~perrier-j@modemcable012.251-130-66.mc.videotron.ca) |
| 2020-10-18 07:42:06 | × | tzh quits (~tzh@c-73-94-222-143.hsd1.mn.comcast.net) (Quit: zzz) |
| 2020-10-18 07:43:11 | × | christo quits (~chris@81.96.113.213) (Remote host closed the connection) |
| 2020-10-18 07:43:31 | × | heatsink quits (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) (Remote host closed the connection) |
| 2020-10-18 07:43:31 | × | polyrain quits (~polyrain@130.102.13.108) (Quit: My MacBook has gone to sleep. ZZZzzz…) |
| 2020-10-18 07:45:25 | × | cole-h quits (~cole-h@c-73-48-197-220.hsd1.ca.comcast.net) (Ping timeout: 240 seconds) |
| 2020-10-18 07:46:45 | → | polyrain joins (~polyrain@130.102.13.108) |
| 2020-10-18 07:49:15 | × | polyrain quits (~polyrain@130.102.13.108) (Client Quit) |
| 2020-10-18 07:51:28 | × | xsperry quits (~as@unaffiliated/xsperry) (Remote host closed the connection) |
| 2020-10-18 07:51:54 | → | falafel__ joins (~falafel@65.155.184.35) |
| 2020-10-18 07:53:28 | → | heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) |
| 2020-10-18 07:53:33 | × | perrier-jouet quits (~perrier-j@modemcable012.251-130-66.mc.videotron.ca) (Quit: WeeChat 2.9) |
| 2020-10-18 07:54:11 | × | falafel_ quits (~falafel@2600:100e:b102:b424:c9d2:9986:8bf7:dec8) (Ping timeout: 244 seconds) |
| 2020-10-18 07:54:21 | → | Tuplanolla joins (~Tuplanoll@91-159-68-239.elisa-laajakaista.fi) |
| 2020-10-18 07:54:52 | × | geowiesnot quits (~user@i15-les02-ix2-87-89-181-157.sfr.lns.abo.bbox.fr) (Ping timeout: 265 seconds) |
| 2020-10-18 07:56:10 | → | christo joins (~chris@81.96.113.213) |
| 2020-10-18 07:57:18 | × | christo quits (~chris@81.96.113.213) (Remote host closed the connection) |
| 2020-10-18 07:57:28 | hackage | arrow-list 0.7.1 - List arrows for Haskell. https://hackage.haskell.org/package/arrow-list-0.7.1 (ErikHesselink) |
| 2020-10-18 07:57:45 | × | heatsink quits (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 240 seconds) |
| 2020-10-18 07:59:27 | hackage | pandora 0.3.1 - A box of patterns and paradigms https://hackage.haskell.org/package/pandora-0.3.1 (iokasimovmt) |
| 2020-10-18 08:04:03 | → | heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) |
| 2020-10-18 08:06:23 | × | Sgeo quits (~Sgeo@ool-18b982ad.dyn.optonline.net) (Read error: Connection reset by peer) |
| 2020-10-18 08:06:52 | × | merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 246 seconds) |
| 2020-10-18 08:08:16 | × | heatsink quits (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 246 seconds) |
| 2020-10-18 08:11:52 | × | kupi quits (uid212005@gateway/web/irccloud.com/x-vfsmeyjszxcityxd) (Quit: Connection closed for inactivity) |
| 2020-10-18 08:14:14 | → | heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) |
| 2020-10-18 08:16:28 | hackage | HDBC-postgresql 2.3.2.8 - PostgreSQL driver for HDBC https://hackage.haskell.org/package/HDBC-postgresql-2.3.2.8 (ErikHesselink) |
| 2020-10-18 08:18:26 | → | chaosmasttter joins (~chaosmast@p200300c4a710fa01f8ce4354cf8ba13b.dip0.t-ipconnect.de) |
| 2020-10-18 08:18:58 | × | heatsink quits (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 260 seconds) |
| 2020-10-18 08:21:57 | hackage | uri-encode 1.5.0.7 - Unicode aware uri-encoding https://hackage.haskell.org/package/uri-encode-1.5.0.7 (ErikHesselink) |
| 2020-10-18 08:22:38 | × | ddellacosta quits (~dd@86.106.121.168) (Ping timeout: 256 seconds) |
| 2020-10-18 08:24:17 | → | heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) |
| 2020-10-18 08:28:52 | × | heatsink quits (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 256 seconds) |
| 2020-10-18 08:29:48 | × | ephemera_ quits (~E@122.34.1.187) (Ping timeout: 272 seconds) |
| 2020-10-18 08:30:10 | → | ephemera_ joins (~E@122.34.1.187) |
| 2020-10-18 08:30:27 | → | Super_Feeling joins (~Super_Fee@103.108.4.170) |
| 2020-10-18 08:31:43 | × | Super_Feeling quits (~Super_Fee@103.108.4.170) (Client Quit) |
| 2020-10-18 08:32:05 | → | z0 joins (~z0@bl15-163-199.dsl.telepac.pt) |
| 2020-10-18 08:32:28 | z0 | is now known as Guest561 |
| 2020-10-18 08:33:33 | × | Stanley00 quits (~stanley00@unaffiliated/stanley00) (Ping timeout: 256 seconds) |
| 2020-10-18 08:34:24 | → | heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) |
| 2020-10-18 08:35:22 | → | merijn joins (~merijn@83-160-49-249.ip.xs4all.nl) |
| 2020-10-18 08:35:53 | × | Guest30638 quits (~z0@bl15-33-197.dsl.telepac.pt) (Ping timeout: 260 seconds) |
| 2020-10-18 08:36:23 | × | drbean quits (~drbean@TC210-63-209-56.static.apol.com.tw) (Ping timeout: 256 seconds) |
| 2020-10-18 08:38:45 | × | heatsink quits (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 240 seconds) |
| 2020-10-18 08:40:21 | × | merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 256 seconds) |
| 2020-10-18 08:41:52 | × | nek0 quits (~nek0@mail.nek0.eu) (Remote host closed the connection) |
| 2020-10-18 08:42:43 | → | kritzefitz joins (~kritzefit@212.86.56.80) |
| 2020-10-18 08:44:00 | × | ephemera_ quits (~E@122.34.1.187) (Remote host closed the connection) |
All times are in UTC.