Logs: freenode/#haskell
| 2021-03-24 07:24:40 | × | zaquest quits (~notzaques@5.128.210.178) (Quit: Leaving) |
| 2021-03-24 07:24:54 | × | Foritus quits (~buggery@cpc91316-watf11-2-0-cust68.15-2.cable.virginm.net) (Quit: ლ(ಠ益ಠლ) .:. <Ashley> my porn is hidden in a folder called "BBC Micro Emulator") |
| 2021-03-24 07:26:17 | → | Foritus joins (~buggery@cpc91316-watf11-2-0-cust68.15-2.cable.virginm.net) |
| 2021-03-24 07:26:43 | → | zaquest joins (~notzaques@5.128.210.178) |
| 2021-03-24 07:27:23 | → | idhugo joins (~idhugo@87-49-147-45-mobile.dk.customer.tdc.net) |
| 2021-03-24 07:27:48 | × | xff0x quits (~xff0x@dynamic-046-114-034-164.46.114.pool.telefonica.de) (Ping timeout: 268 seconds) |
| 2021-03-24 07:28:22 | × | Foritus quits (~buggery@cpc91316-watf11-2-0-cust68.15-2.cable.virginm.net) (Read error: Connection reset by peer) |
| 2021-03-24 07:28:42 | → | cfricke joins (~cfricke@unaffiliated/cfricke) |
| 2021-03-24 07:28:58 | → | Foritus joins (~buggery@cpc91316-watf11-2-0-cust68.15-2.cable.virginm.net) |
| 2021-03-24 07:29:08 | → | xff0x joins (~xff0x@2001:1a81:53c9:9f00:9d06:569d:fae7:bd39) |
| 2021-03-24 07:29:56 | × | cfricke quits (~cfricke@unaffiliated/cfricke) (Client Quit) |
| 2021-03-24 07:30:00 | × | graf_blutwurst quits (~user@2001:171b:226e:adc0:102c:ecb5:8d03:4f2b) (Remote host closed the connection) |
| 2021-03-24 07:30:56 | → | graf_blutwurst joins (~user@2001:171b:226e:adc0:102c:ecb5:8d03:4f2b) |
| 2021-03-24 07:31:21 | × | Foritus quits (~buggery@cpc91316-watf11-2-0-cust68.15-2.cable.virginm.net) (Read error: Connection reset by peer) |
| 2021-03-24 07:31:33 | → | ian_ joins (~igloo@matrix.chaos.earth.li) |
| 2021-03-24 07:31:40 | → | Inoperable joins (~PLAYER_1@fancydata.science) |
| 2021-03-24 07:31:58 | × | Igloo quits (~igloo@matrix.chaos.earth.li) (Ping timeout: 240 seconds) |
| 2021-03-24 07:31:58 | × | natechan quits (~natechan@108-233-125-227.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 244 seconds) |
| 2021-03-24 07:32:12 | → | Foritus joins (~buggery@cpc91316-watf11-2-0-cust68.15-2.cable.virginm.net) |
| 2021-03-24 07:32:53 | × | cyphase quits (~cyphase@unaffiliated/cyphase) (Ping timeout: 256 seconds) |
| 2021-03-24 07:33:20 | → | natechan joins (~natechan@108-233-125-227.lightspeed.sntcca.sbcglobal.net) |
| 2021-03-24 07:33:28 | → | plutoniix joins (~q@ppp-27-55-82-213.revip3.asianet.co.th) |
| 2021-03-24 07:33:31 | × | Foritus quits (~buggery@cpc91316-watf11-2-0-cust68.15-2.cable.virginm.net) (Read error: Connection reset by peer) |
| 2021-03-24 07:34:10 | → | Foritus joins (~buggery@cpc91316-watf11-2-0-cust68.15-2.cable.virginm.net) |
| 2021-03-24 07:34:19 | → | cyphase joins (~cyphase@unaffiliated/cyphase) |
| 2021-03-24 07:35:51 | × | Foritus quits (~buggery@cpc91316-watf11-2-0-cust68.15-2.cable.virginm.net) (Client Quit) |
| 2021-03-24 07:38:31 | → | hacxman joins (~hexo@gateway/tor-sasl/hexo) |
| 2021-03-24 07:38:32 | → | sorki joins (~sorki@gateway/tor-sasl/sorki) |
| 2021-03-24 07:39:03 | × | hexo quits (~hexo@gateway/tor-sasl/hexo) (Ping timeout: 268 seconds) |
| 2021-03-24 07:39:03 | × | srk quits (~sorki@gateway/tor-sasl/sorki) (Ping timeout: 268 seconds) |
| 2021-03-24 07:39:04 | hacxman | is now known as hexo |
| 2021-03-24 07:39:09 | → | elfets joins (~elfets@ip-37-201-23-96.hsi13.unitymediagroup.de) |
| 2021-03-24 07:39:30 | → | Foritus joins (~buggery@cpc91316-watf11-2-0-cust68.15-2.cable.virginm.net) |
| 2021-03-24 07:40:55 | × | tzh quits (~tzh@c-24-21-73-154.hsd1.wa.comcast.net) (Quit: zzz) |
| 2021-03-24 07:41:27 | sorki | is now known as srk |
| 2021-03-24 07:44:44 | → | cfricke joins (~cfricke@unaffiliated/cfricke) |
| 2021-03-24 07:45:40 | × | tromp quits (~tromp@dhcp-077-249-230-040.chello.nl) (Remote host closed the connection) |
| 2021-03-24 07:45:51 | × | Foritus quits (~buggery@cpc91316-watf11-2-0-cust68.15-2.cable.virginm.net) (Read error: Connection reset by peer) |
| 2021-03-24 07:45:55 | × | stree quits (~stree@68.36.8.116) (Ping timeout: 256 seconds) |
| 2021-03-24 07:46:33 | → | Foritus joins (~buggery@cpc91316-watf11-2-0-cust68.15-2.cable.virginm.net) |
| 2021-03-24 07:47:43 | → | dyeplexer joins (~lol@unaffiliated/terpin) |
| 2021-03-24 07:50:44 | × | heatsink quits (~heatsink@2600:1700:bef1:5e10:b09b:3609:dd4b:42c9) (Remote host closed the connection) |
| 2021-03-24 07:51:07 | × | Foritus quits (~buggery@cpc91316-watf11-2-0-cust68.15-2.cable.virginm.net) (Read error: Connection reset by peer) |
| 2021-03-24 07:52:01 | → | Foritus joins (~buggery@cpc91316-watf11-2-0-cust68.15-2.cable.virginm.net) |
| 2021-03-24 07:52:31 | × | RusAlex quits (~Chel@unaffiliated/rusalex) (Quit: WeeChat 3.0) |
| 2021-03-24 07:53:17 | → | Yumasi joins (~guillaume@2a01:e0a:5cb:4430:ba39:67f5:3885:dbb6) |
| 2021-03-24 07:54:23 | → | tromp joins (~tromp@dhcp-077-249-230-040.chello.nl) |
| 2021-03-24 07:58:53 | → | stree joins (~stree@68.36.8.116) |
| 2021-03-24 07:59:04 | → | bahamas joins (~lucian@unaffiliated/bahamas) |
| 2021-03-24 07:59:29 | → | coot joins (~coot@37.30.55.131.nat.umts.dynamic.t-mobile.pl) |
| 2021-03-24 07:59:59 | × | Foritus quits (~buggery@cpc91316-watf11-2-0-cust68.15-2.cable.virginm.net) (Quit: ლ(ಠ益ಠლ) .:. <Ashley> my porn is hidden in a folder called "BBC Micro Emulator") |
| 2021-03-24 08:00:06 | → | Alleria joins (~textual@69.202.254.168) |
| 2021-03-24 08:00:29 | Alleria | is now known as Guest27044 |
| 2021-03-24 08:01:32 | × | evanjs quits (~evanjs@075-129-098-007.res.spectrum.com) (Read error: Connection reset by peer) |
| 2021-03-24 08:02:02 | × | vicfred quits (vicfred@gateway/vpn/mullvad/vicfred) (Quit: Leaving) |
| 2021-03-24 08:02:21 | → | Lord_of_Life joins (~Lord@unaffiliated/lord-of-life/x-0885362) |
| 2021-03-24 08:03:16 | → | RusAlex joins (~Chel@unaffiliated/rusalex) |
| 2021-03-24 08:04:06 | <bahamas> | if I want to provide a consistent way to print the values of a certain type, how should I do it? I'm thinking it would make sense to implement a Show instance, but are there any libraries or best practices to have in mind? |
| 2021-03-24 08:04:06 | × | idhugo quits (~idhugo@87-49-147-45-mobile.dk.customer.tdc.net) (Ping timeout: 256 seconds) |
| 2021-03-24 08:04:40 | × | Guest27044 quits (~textual@69.202.254.168) (Ping timeout: 265 seconds) |
| 2021-03-24 08:04:47 | <bahamas> | the type I have in mind is a record, but there could also be a tree, where indentation would be involved |
| 2021-03-24 08:04:58 | → | chele joins (~chele@ip5b40237d.dynamic.kabel-deutschland.de) |
| 2021-03-24 08:05:05 | → | evanjs joins (~evanjs@075-129-098-007.res.spectrum.com) |
| 2021-03-24 08:06:51 | → | Foritus joins (~buggery@cpc91316-watf11-2-0-cust68.15-2.cable.virginm.net) |
| 2021-03-24 08:08:03 | → | Varis joins (~Tadas@unaffiliated/varis) |
| 2021-03-24 08:08:10 | × | Foritus quits (~buggery@cpc91316-watf11-2-0-cust68.15-2.cable.virginm.net) (Read error: Connection reset by peer) |
| 2021-03-24 08:09:06 | → | Foritus joins (~buggery@cpc91316-watf11-2-0-cust68.15-2.cable.virginm.net) |
| 2021-03-24 08:10:13 | × | Foritus quits (~buggery@cpc91316-watf11-2-0-cust68.15-2.cable.virginm.net) (Client Quit) |
| 2021-03-24 08:12:11 | → | m0rphism joins (~m0rphism@HSI-KBW-085-216-104-059.hsi.kabelbw.de) |
| 2021-03-24 08:12:58 | → | fuzzypixelz joins (~fuzzypixe@eth-west-pareq2-46-193-4-100.wb.wifirst.net) |
| 2021-03-24 08:13:34 | → | dhil joins (~dhil@80.208.56.181) |
| 2021-03-24 08:15:17 | → | idhugo joins (~idhugo@87-49-147-45-mobile.dk.customer.tdc.net) |
| 2021-03-24 08:15:38 | <bahamas> | I see this in the documentation for Show "The result of show is a syntactically correct Haskell expression containing only constants". it sounds like I shouldn't use Show directly, if I want to ommit some of the fields of the record |
| 2021-03-24 08:16:03 | → | Foritus joins (~buggery@cpc91316-watf11-2-0-cust68.15-2.cable.virginm.net) |
| 2021-03-24 08:20:05 | <sclv> | correct. show is for things you can "read" |
| 2021-03-24 08:21:03 | × | idhugo quits (~idhugo@87-49-147-45-mobile.dk.customer.tdc.net) (Ping timeout: 256 seconds) |
| 2021-03-24 08:24:50 | × | Foritus quits (~buggery@cpc91316-watf11-2-0-cust68.15-2.cable.virginm.net) (Quit: ლ(ಠ益ಠლ) .:. <Ashley> my porn is hidden in a folder called "BBC Micro Emulator") |
| 2021-03-24 08:25:00 | → | Sorna joins (~Sornaensi@79.142.232.102) |
| 2021-03-24 08:26:02 | → | Foritus joins (~buggery@cpc91316-watf11-2-0-cust68.15-2.cable.virginm.net) |
| 2021-03-24 08:27:04 | → | gehmehgeh joins (~ircuser1@gateway/tor-sasl/gehmehgeh) |
| 2021-03-24 08:27:31 | × | hiroaki quits (~hiroaki@2a02:8108:8c40:2bb8:83f1:3643:e78d:1fe7) (Ping timeout: 272 seconds) |
| 2021-03-24 08:27:33 | × | maroloccio_ quits (~marolocci@pousada3ja.mma.com.br) (Ping timeout: 245 seconds) |
| 2021-03-24 08:28:09 | × | Sornaensis quits (~Sornaensi@077213203030.dynamic.telenor.dk) (Ping timeout: 272 seconds) |
| 2021-03-24 08:28:12 | <ski> | bahamas : `Show' and `Read' are not intended for custom pretty-printing / formatting, or the like |
| 2021-03-24 08:29:03 | → | Major_Biscuit joins (~Major_Bis@82-169-100-198.biz.kpn.net) |
| 2021-03-24 08:29:11 | <ski> | make your own function, or perhaps make a type class (or find some suitable one in a package, maybe) |
| 2021-03-24 08:29:27 | → | dbmikus joins (~dbmikus@cpe-76-167-86-219.natsow.res.rr.com) |
| 2021-03-24 08:30:11 | → | merijn joins (~merijn@83-160-49-249.ip.xs4all.nl) |
| 2021-03-24 08:30:30 | <bahamas> | ski: any packages I could look at? |
| 2021-03-24 08:30:53 | × | Foritus quits (~buggery@cpc91316-watf11-2-0-cust68.15-2.cable.virginm.net) (Quit: ლ(ಠ益ಠლ) .:. <Ashley> my porn is hidden in a folder called "BBC Micro Emulator") |
| 2021-03-24 08:31:20 | <ski> | i'm not aware of any particular ones (and it probably depends more on what exactly you have in mind, or what your requirements are, what you're trying to do) |
| 2021-03-24 08:31:35 | → | Foritus joins (~buggery@cpc91316-watf11-2-0-cust68.15-2.cable.virginm.net) |
| 2021-03-24 08:32:25 | <ski> | i think there's some packages for composably constructing indented pretty-printed things. those might serve as a starting point |
| 2021-03-24 08:32:29 | <ski> | (can't recall names) |
| 2021-03-24 08:32:37 | × | Foritus quits (~buggery@cpc91316-watf11-2-0-cust68.15-2.cable.virginm.net) (Remote host closed the connection) |
| 2021-03-24 08:33:43 | _flow_ | is now known as flow |
| 2021-03-24 08:33:45 | <ski> | (i vaguely recall reading a paper (a functional pearl, i think), about the design of such a pretty-printing library, that involved vertical composition, horizontal composition, both having an empty document as neutral elements) |
| 2021-03-24 08:34:49 | difficultfornore | is now known as mice-user |
| 2021-03-24 08:35:39 | → | dawiss joins (~dawiss@178.43.197.203.ipv4.supernova.orange.pl) |
| 2021-03-24 08:36:30 | <bahamas> | well, I found a package that sounds simple enough for starters. https://hackage.haskell.org/package/pretty-display-0.1.10/docs/Text-Display.html |
All times are in UTC.