Logs: freenode/#haskell
| 2020-09-19 23:33:43 | × | shafox quits (~shafox@106.51.234.111) (Remote host closed the connection) |
| 2020-09-19 23:34:13 | × | zacts quits (~zacts@dragora/developer/zacts) (Quit: leaving) |
| 2020-09-19 23:37:08 | → | eric joins (~eric@2804:431:c7d4:402a:4dc9:97ef:220b:73aa) |
| 2020-09-19 23:39:10 | → | mpereira joins (~mpereira@2a02:810d:f40:d96:b46b:1e98:8653:4550) |
| 2020-09-19 23:39:54 | → | jedws joins (~jedws@121.209.139.222) |
| 2020-09-19 23:40:40 | → | xpika joins (~alan@2001:8003:5d32:1f00:65e7:740e:363f:f90f) |
| 2020-09-19 23:43:17 | × | eric quits (~eric@2804:431:c7d4:402a:4dc9:97ef:220b:73aa) (Ping timeout: 260 seconds) |
| 2020-09-19 23:45:50 | → | heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) |
| 2020-09-19 23:46:08 | × | ph88 quits (~ph88@ip5f5af726.dynamic.kabel-deutschland.de) (Ping timeout: 272 seconds) |
| 2020-09-19 23:46:41 | × | merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 260 seconds) |
| 2020-09-19 23:46:42 | × | gentauro quits (~gentauro@unaffiliated/gentauro) (Read error: Connection reset by peer) |
| 2020-09-19 23:47:10 | → | gentauro joins (~gentauro@unaffiliated/gentauro) |
| 2020-09-19 23:50:31 | × | tompas quits (~tom@pool-173-79-157-149.washdc.fios.verizon.net) (Quit: Leaving) |
| 2020-09-19 23:50:32 | → | g-belmonte joins (~g-belmont@2804:14c:8786:9312:3638:eaf5:dc36:146d) |
| 2020-09-19 23:50:37 | × | heatsink quits (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 264 seconds) |
| 2020-09-19 23:51:06 | → | OscarZ joins (~oscarz@95.175.104.39) |
| 2020-09-19 23:52:05 | × | g-belmonte quits (~g-belmont@2804:14c:8786:9312:3638:eaf5:dc36:146d) (Client Quit) |
| 2020-09-19 23:53:45 | → | justanotheruser joins (~justanoth@unaffiliated/justanotheruser) |
| 2020-09-20 00:00:01 | × | MasterGruntR75 quits (~MasterGru@185.163.110.116) () |
| 2020-09-20 00:04:28 | hackage | string-interpolate 0.3.0.1 - Haskell string/text/bytestring interpolation that just works https://hackage.haskell.org/package/string-interpolate-0.3.0.1 (williamyaoh) |
| 2020-09-20 00:06:27 | → | wroathe joins (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) |
| 2020-09-20 00:07:02 | × | alx741 quits (~alx741@186.178.110.2) (Ping timeout: 272 seconds) |
| 2020-09-20 00:10:57 | × | AlterEgo- quits (~ladew@124-198-158-163.dynamic.caiway.nl) (Read error: Connection reset by peer) |
| 2020-09-20 00:14:36 | → | heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) |
| 2020-09-20 00:14:46 | ← | Plazma parts (~Plazma@freenode/staff-emeritus/plazma) () |
| 2020-09-20 00:20:38 | → | merijn joins (~merijn@83-160-49-249.ip.xs4all.nl) |
| 2020-09-20 00:22:52 | × | __Joker_ quits (~Joker@180.151.105.65) (Ping timeout: 272 seconds) |
| 2020-09-20 00:23:45 | → | machinedgod joins (~machinedg@24.51.251.11) |
| 2020-09-20 00:25:52 | → | __Joker joins (~Joker@180.151.105.65) |
| 2020-09-20 00:26:02 | × | merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 272 seconds) |
| 2020-09-20 00:26:43 | × | cantstanya quits (~chatting@gateway/tor-sasl/cantstanya) (Ping timeout: 240 seconds) |
| 2020-09-20 00:26:57 | → | wavemode joins (~wavemode@097-070-075-143.res.spectrum.com) |
| 2020-09-20 00:28:12 | × | mpereira quits (~mpereira@2a02:810d:f40:d96:b46b:1e98:8653:4550) (Ping timeout: 260 seconds) |
| 2020-09-20 00:30:05 | × | __Joker quits (~Joker@180.151.105.65) (Ping timeout: 240 seconds) |
| 2020-09-20 00:30:58 | → | cantstanya joins (~chatting@gateway/tor-sasl/cantstanya) |
| 2020-09-20 00:35:34 | → | gmt joins (~gmt@pool-71-105-108-44.nycmny.fios.verizon.net) |
| 2020-09-20 00:38:01 | × | machinedgod quits (~machinedg@24.51.251.11) (Ping timeout: 260 seconds) |
| 2020-09-20 00:44:28 | → | maroloccio joins (~marolocci@2a02:8084:601d:7f80:164f:8aff:fed8:411d) |
| 2020-09-20 00:47:25 | × | aenesidemus quits (~aenesidem@c-73-53-247-25.hsd1.fl.comcast.net) (Quit: Leaving) |
| 2020-09-20 00:48:26 | × | cantstanya quits (~chatting@gateway/tor-sasl/cantstanya) (Remote host closed the connection) |
| 2020-09-20 00:50:43 | → | cantstanya joins (~chatting@gateway/tor-sasl/cantstanya) |
| 2020-09-20 00:51:22 | × | solonarv quits (~solonarv@astrasbourg-653-1-186-165.w90-13.abo.wanadoo.fr) (Ping timeout: 272 seconds) |
| 2020-09-20 00:51:23 | → | alx741 joins (~alx741@186.178.110.2) |
| 2020-09-20 00:54:35 | → | toony1 joins (~toony@s91904426.blix.com) |
| 2020-09-20 00:54:51 | → | merijn joins (~merijn@83-160-49-249.ip.xs4all.nl) |
| 2020-09-20 00:58:34 | × | MorrowM quits (~max@bzq-110-168-31-106.red.bezeqint.net) (Ping timeout: 265 seconds) |
| 2020-09-20 00:58:43 | → | polyrain joins (~polyrain@2001:8003:e501:6901:a8a8:546d:e1e3:2f7b) |
| 2020-09-20 00:59:13 | → | MrZe joins (~root@140.213.56.183) |
| 2020-09-20 00:59:27 | <MrZe> | hi |
| 2020-09-20 00:59:54 | × | shatriff quits (~vitaliish@176.52.219.10) (Remote host closed the connection) |
| 2020-09-20 01:00:40 | <MrZe> | anybody online ? |
| 2020-09-20 01:00:48 | <MrZe> | 2 |
| 2020-09-20 01:01:08 | <yushyin> | maybe |
| 2020-09-20 01:01:56 | → | __Joker joins (~Joker@180.151.105.65) |
| 2020-09-20 01:02:04 | → | OmegaDoug joins (6ca87592@dhcp-108-168-117-146.cable.user.start.ca) |
| 2020-09-20 01:02:29 | <yushyin> | over 1000 users are online |
| 2020-09-20 01:03:25 | × | ryansmccoy quits (~ryansmcco@156.96.151.132) (Ping timeout: 240 seconds) |
| 2020-09-20 01:03:37 | → | ryansmccoy joins (~ryansmcco@68.235.48.108) |
| 2020-09-20 01:04:22 | → | pera joins (~pera@unaffiliated/pera) |
| 2020-09-20 01:04:24 | → | root_ joins (~root@140.213.56.183) |
| 2020-09-20 01:04:28 | <sim590> | I have this function http://sprunge.us/3by4Qf which maps a function on some field of a type LBSNode in order to increment it. I'm getting "Pattern match(es) are non-exhaustive" error with "Patterns not matched: (LBSInternalNode _ _)". Why am I getting this error even though I did write `incIndex _` on the next line to cover every other cases? |
| 2020-09-20 01:04:59 | × | Rudd0 quits (~Rudd0@185.189.115.108) (Ping timeout: 240 seconds) |
| 2020-09-20 01:05:18 | × | MrZe quits (~root@140.213.56.183) (Ping timeout: 256 seconds) |
| 2020-09-20 01:05:25 | <root_> | exit |
| 2020-09-20 01:05:31 | <root_> | exit |
| 2020-09-20 01:06:24 | <sim590> | Seems like this https://gitlab.haskell.org/ghc/ghc/-/issues/5728 is related? |
| 2020-09-20 01:06:26 | × | __Joker quits (~Joker@180.151.105.65) (Ping timeout: 256 seconds) |
| 2020-09-20 01:06:31 | <MarcelineVQ> | sim590: is mapML perhaps not exhaustive? |
| 2020-09-20 01:06:42 | × | xff0x_ quits (~fox@2001:1a81:5373:6a00:4ccb:e51f:bb16:7d67) (Ping timeout: 260 seconds) |
| 2020-09-20 01:06:58 | → | nbloomf joins (~nbloomf@104-183-67-6.lightspeed.fyvlar.sbcglobal.net) |
| 2020-09-20 01:07:17 | <lechner> | Hi, what's a good way to print a string without double quotes, please? Thanks! |
| 2020-09-20 01:07:43 | <MarcelineVQ> | putStr or putStrLn |
| 2020-09-20 01:08:35 | → | xff0x_ joins (~fox@2001:1a81:53ac:b300:4ccb:e51f:bb16:7d67) |
| 2020-09-20 01:08:39 | <sim590> | MarcelineVQ: I don't think so: http://sprunge.us/TKoZBk. And here's mapL: http://sprunge.us/9NIrK4. If you need to go deeper, here's http://sprunge.us/jUAklr. |
| 2020-09-20 01:08:45 | <lechner> | Sorry, it's actually a Data.ByteString.Char8.ByteString |
| 2020-09-20 01:08:59 | <jumper149> | lechner: `print` is the same as `putStrLn . show` https://hackage.haskell.org/package/base-4.14.0.0/docs/src/System.IO.html#print |
| 2020-09-20 01:09:16 | <lechner> | jumper149: yes, but that adds the quotes |
| 2020-09-20 01:09:37 | <lechner> | i currently use putStrLn show |
| 2020-09-20 01:09:43 | <jumper149> | Was just making sure you understand what each part does! |
| 2020-09-20 01:10:02 | <lechner> | i think the show is not pretty |
| 2020-09-20 01:10:22 | × | root_ quits (~root@140.213.56.183) (Ping timeout: 272 seconds) |
| 2020-09-20 01:10:23 | <sim590> | MarcelineVQ: also this: `type LBSTree a = BSTree (LBSNode a)` should clarify things. There's LBSTree, but also BSTree which is the base for the former. But the message is just warning also. It's not an error, but I don't like that. |
| 2020-09-20 01:10:52 | → | rprije joins (~rprije@27.143.220.203.dial.dynamic.acc01-myal-dub.comindico.com.au) |
| 2020-09-20 01:10:56 | <jumper149> | How about BS.putStr https://hackage.haskell.org/package/bytestring-0.10.12.0/docs/Data-ByteString-Char8.html#v:putStr |
| 2020-09-20 01:11:01 | × | Gurkenglas quits (~Gurkengla@unaffiliated/gurkenglas) (Ping timeout: 264 seconds) |
| 2020-09-20 01:11:27 | <lechner> | i am concatenating with ++ so i have to convert first |
| 2020-09-20 01:12:05 | <jumper149> | Also if you use functions on String like Prelude.print and ++ you will lose some of the benefits from ByteString. |
| 2020-09-20 01:12:23 | <jumper149> | I guess you just want it to work and only use bytestring because a library gives it to you? |
| 2020-09-20 01:12:41 | <MarcelineVQ> | sim590: What's the full warning? |
| 2020-09-20 01:13:26 | <yushyin> | lechner: with String use prelude's putStr with Bytestring use Bytestring's putStr |
| 2020-09-20 01:13:55 | <lechner> | I would like to concatenate. last line here: https://dpaste.com/7RQPNTE63 |
| 2020-09-20 01:14:21 | <sim590> | MarcelineVQ: http://sprunge.us/NW5U6N. I'm getting it on two different calls. The first that I pasted and another one lower. |
| 2020-09-20 01:15:16 | <sim590> | MarcelineVQ: here's the whole file if that helps: http://sprunge.us/PxW93j |
| 2020-09-20 01:16:14 | <sim590> | MarcelineVQ: I just tried RecordWildCards but it didn't help me fix it. |
| 2020-09-20 01:16:57 | <MarcelineVQ> | sim590: that's not about the left side pattern that error is pointing at the right side, ghc isn't super smart here so it's being conservative: it's telling you that "return $ l {index = i+amount}" could be dangerous because l might be LBSInternalNode instead of LBSLeaf which doesn't have an 'index' field |
| 2020-09-20 01:17:02 | <jumper149> | lechner: For conversion functions there is pack and unpack in the ByteString library |
| 2020-09-20 01:17:09 | <jumper149> | They will convert from and to String |
| 2020-09-20 01:17:20 | <jumper149> | so for you it would be C.unpack |
| 2020-09-20 01:17:26 | <divVerent> | 135 one seems a false positive as you asserted on the ViewPattern before |
| 2020-09-20 01:17:26 | <MarcelineVQ> | Now, we know better, but it doesn't it looks like |
All times are in UTC.