Home freenode/#haskell: Logs Calendar

Logs: freenode/#haskell

←Prev  Next→ 502,152 events total
2021-04-25 13:41:05 dmytrish joins (~mitra@2a02:8084:a82:d900:6010:2869:d10:372c)
2021-04-25 13:41:50 tuxian is now known as sbaranidharan
2021-04-25 13:41:53 sbaranidharan parts (3125dbbe@49.37.219.190) ()
2021-04-25 13:43:14 fiedlr joins (~fiedlr@83.148.33.254)
2021-04-25 13:43:19 × nineonine quits (~nineonine@2604:3d08:7785:9600:bde3:c459:7b57:e4c8) (Ping timeout: 245 seconds)
2021-04-25 13:44:13 urodna joins (~urodna@unaffiliated/urodna)
2021-04-25 13:45:17 × tlgl^nix quits (~damien@S0106008ef25e98fb.su.shawcable.net) (Ping timeout: 260 seconds)
2021-04-25 13:45:52 × dastomaten quits (~dastomate@0543f40b.skybroadband.com) (Ping timeout: 240 seconds)
2021-04-25 13:45:53 × rdivyanshu quits (uid322626@gateway/web/irccloud.com/x-jvfbdyhvxestwdim) (Quit: Connection closed for inactivity)
2021-04-25 13:46:20 dastomaten joins (~dastomate@0543f40b.skybroadband.com)
2021-04-25 13:47:42 heatsink joins (~heatsink@108-201-191-115.lightspeed.sntcca.sbcglobal.net)
2021-04-25 13:47:56 × MidAutumnHotaru quits (~MidAutumn@unaffiliated/midautumnhotaru) (Quit: Quit 啾)
2021-04-25 13:48:12 MidAutumnHotaru joins (~MidAutumn@unaffiliated/midautumnhotaru)
2021-04-25 13:48:54 dpl_ joins (~dpl@77-121-78-163.chn.volia.net)
2021-04-25 13:51:52 × heatsink quits (~heatsink@108-201-191-115.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 240 seconds)
2021-04-25 13:52:37 frozenErebus joins (~frozenEre@37.231.244.249)
2021-04-25 13:52:58 × dsrt^ quits (dsrt@ip98-184-89-2.mc.at.cox.net) (Read error: Connection reset by peer)
2021-04-25 13:54:02 ADG1089 joins (~aditya@171.76.29.233)
2021-04-25 13:54:14 <ADG1089> any tips to code golf this: https://bpa.st/FWBQ ?
2021-04-25 13:56:14 Lord_of_Life joins (~Lord@unaffiliated/lord-of-life/x-0885362)
2021-04-25 13:57:24 × ADG1089 quits (~aditya@171.76.29.233) (Remote host closed the connection)
2021-04-25 13:57:26 danvet joins (~Daniel@2a02:168:57f4:0:efd0:b9e5:5ae6:c2fa)
2021-04-25 13:57:45 × berberman[T] quits (berberma4@gateway/shell/matrix.org/x-hqhnddntnfwsknwk) (Quit: authenticating)
2021-04-25 13:58:00 berberman[T] joins (berberma4@gateway/shell/matrix.org/x-voiztqshsnrivrqj)
2021-04-25 13:58:03 × knupfer quits (~Thunderbi@200116b82be79e00917924033d9cda5f.dip.versatel-1u1.de) (Ping timeout: 250 seconds)
2021-04-25 13:58:14 berberman[T] is now known as berberman___
2021-04-25 13:58:20 berberman___ is now known as berberman__
2021-04-25 13:59:36 ADG1089 joins (~aditya@171.76.29.233)
2021-04-25 14:01:05 × frozenErebus quits (~frozenEre@37.231.244.249) (Ping timeout: 268 seconds)
2021-04-25 14:01:14 <[exa]> ADG1089: what does it do?
2021-04-25 14:01:27 frozenErebus joins (~frozenEre@37.231.244.249)
2021-04-25 14:02:15 <ADG1089> [exa]: calculate sum of maximum idempotent element from each of the rings Z/nZ for 1<=n<=lim
2021-04-25 14:03:00 <ADG1089> although an inefficient brute force implementation would look like print $ sum [last [y|y<-[1..x-1],mod(y*y)x==y],x<-[2..lim]]
2021-04-25 14:03:23 × drbean_ quits (~drbean@TC210-63-209-57.static.apol.com.tw) (Quit: ZNC 1.8.2+cygwin2 - https://znc.in)
2021-04-25 14:03:28 CrazyPython joins (~crazypyth@98.122.164.118)
2021-04-25 14:06:38 × nicholasbulka quits (~nicholasb@c-73-21-82-200.hsd1.ga.comcast.net) (Remote host closed the connection)
2021-04-25 14:07:15 nicholasbulka joins (~nicholasb@2601:900:4301:da0:58e6:3a0a:96a:ca2c)
2021-04-25 14:07:52 × frozenErebus quits (~frozenEre@37.231.244.249) (Ping timeout: 268 seconds)
2021-04-25 14:11:39 × nicholasbulka quits (~nicholasb@2601:900:4301:da0:58e6:3a0a:96a:ca2c) (Ping timeout: 245 seconds)
2021-04-25 14:12:04 elfets joins (~elfets@ip-37-201-23-96.hsi13.unitymediagroup.de)
2021-04-25 14:14:24 son0p joins (~ff@181.136.122.143)
2021-04-25 14:15:26 <[exa]> ADG1089: that doesn't seem very compressible tbh, unless you e.g. find out how to squash the algebraic code with k, k', p and q (idea: zipwith? applicative?)
2021-04-25 14:20:49 dsrt^ joins (dsrt@ip98-184-89-2.mc.at.cox.net)
2021-04-25 14:20:50 Tario joins (~Tario@201.192.165.173)
2021-04-25 14:22:32 nut joins (~gtk@roc37-h01-176-170-197-243.dsl.sta.abo.bbox.fr)
2021-04-25 14:24:37 × ADG1089 quits (~aditya@171.76.29.233) (Quit: Konversation terminated!)
2021-04-25 14:25:51 jao joins (~jao@pdpc/supporter/professional/jao)
2021-04-25 14:26:10 × DavidEichmann quits (~david@147.136.46.217.dyn.plus.net) (Ping timeout: 252 seconds)
2021-04-25 14:26:41 bitmagie joins (~Thunderbi@200116b8061b36001c031659b23d9860.dip.versatel-1u1.de)
2021-04-25 14:28:35 × chimera quits (~chimera@168-182-134-95.pool.ukrtel.net) (Quit: Konversation terminated!)
2021-04-25 14:29:43 × zva quits (~zava@ip5f5bdf0f.dynamic.kabel-deutschland.de) (Ping timeout: 265 seconds)
2021-04-25 14:29:52 × bitmagie quits (~Thunderbi@200116b8061b36001c031659b23d9860.dip.versatel-1u1.de) (Client Quit)
2021-04-25 14:37:13 malumore__ joins (~malumore@151.62.115.131)
2021-04-25 14:39:26 × malumore_ quits (~malumore@151.62.115.131) (Ping timeout: 240 seconds)
2021-04-25 14:40:05 × philderbeast quits (~textual@bras-base-vldvpq5901w-grc-06-184-144-244-252.dsl.bell.ca) (Quit: My MacBook has gone to sleep. ZZZzzz…)
2021-04-25 14:40:29 tlgl^nix joins (~damien@S0106008ef25e98fb.su.shawcable.net)
2021-04-25 14:41:03 × hiroaki quits (~hiroaki@2a02:8108:8c40:2bb8:6312:c8ad:fc31:201b) (Ping timeout: 260 seconds)
2021-04-25 14:46:00 DTZUZU joins (~DTZUZO@205.ip-149-56-132.net)
2021-04-25 14:46:38 × nut quits (~gtk@roc37-h01-176-170-197-243.dsl.sta.abo.bbox.fr) (Ping timeout: 246 seconds)
2021-04-25 14:47:12 × malumore__ quits (~malumore@151.62.115.131) (Remote host closed the connection)
2021-04-25 14:47:52 nicholasbulka joins (~nicholasb@2601:900:4301:da0:58e6:3a0a:96a:ca2c)
2021-04-25 14:48:02 malumore joins (~malumore@151.62.115.131)
2021-04-25 14:48:24 × DTZUZU_ quits (~DTZUZO@207.81.119.43) (Ping timeout: 246 seconds)
2021-04-25 14:49:13 gnumonic joins (~gnumonic@c-73-170-91-210.hsd1.ca.comcast.net)
2021-04-25 14:51:00 hiroaki joins (~hiroaki@2a02:8108:8c40:2bb8:4e27:9f44:a2d5:c10c)
2021-04-25 14:53:30 × jgt quits (~jgt@78.162.43.217) (Ping timeout: 268 seconds)
2021-04-25 14:54:01 HelplessProgramm joins (4f911f9c@156.red-79-145-31.dynamicip.rima-tde.net)
2021-04-25 14:54:08 <HelplessProgramm> Hello
2021-04-25 14:54:13 <HelplessProgramm> Someone there?
2021-04-25 14:54:28 <HelplessProgramm> I have a problem i dont know how to solve
2021-04-25 14:54:29 frozenErebus joins (~frozenEre@37.231.244.249)
2021-04-25 14:54:58 <HelplessProgramm> I have a array of strings
2021-04-25 14:55:06 × idhugo quits (~idhugo@80-62-116-231-mobile.dk.customer.tdc.net) (Ping timeout: 240 seconds)
2021-04-25 14:55:13 <HelplessProgramm> And an array of tuples like (key, value)
2021-04-25 14:55:23 × nyd quits (~nyd@unaffiliated/elysian) (Ping timeout: 246 seconds)
2021-04-25 14:55:48 <HelplessProgramm> I have to replace all coincidences of "key" in the array of strings and replace it with "value"
2021-04-25 14:56:02 <HelplessProgramm> Can someone help plox :(
2021-04-25 14:56:32 zva joins (~zava@ip5f5bdf0f.dynamic.kabel-deutschland.de)
2021-04-25 14:57:17 idhugo joins (~idhugo@80-62-116-231-mobile.dk.customer.tdc.net)
2021-04-25 14:57:25 × nicholasbulka quits (~nicholasb@2601:900:4301:da0:58e6:3a0a:96a:ca2c) (Ping timeout: 250 seconds)
2021-04-25 14:58:18 <ski> what have you tried, so far ?
2021-04-25 14:58:41 <HelplessProgramm> I tried to do it recursively
2021-04-25 14:58:44 <HelplessProgramm> But im kinda new
2021-04-25 14:58:47 <ski> @where paste
2021-04-25 14:58:48 <lambdabot> Help us help you: please paste full code, input and/or output at e.g. https://paste.tomsmeding.com
2021-04-25 14:59:50 <HelplessProgramm> I did a helper function
2021-04-25 14:59:54 <HelplessProgramm> But it doesnt help
2021-04-25 14:59:58 Alleria joins (~textual@2603-7000-3040-0000-8d26-87d2-93d2-7b51.res6.spectrum.com)
2021-04-25 15:00:01 lawr3nce joins (~lawr3nce@gateway/tor-sasl/lawr3nce)
2021-04-25 15:00:02 <HelplessProgramm> I dont think im approaching it correctly
2021-04-25 15:00:10 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
2021-04-25 15:00:10 <ski> i think we need to see some concrete code
2021-04-25 15:00:12 <[exa]> HelplessProgramm: pastebin what you have, we can work on it :]
2021-04-25 15:00:21 Alleria is now known as Guest42540
2021-04-25 15:00:26 <ski> or else you need to explain more in detail what you're struggling with
2021-04-25 15:00:38 <HelplessProgramm> https://paste.tomsmeding.com/DbPMjrwQ
2021-04-25 15:00:42 <HelplessProgramm> I had this
2021-04-25 15:00:52 <HelplessProgramm> Atom is just a wrapper for a thingy
2021-04-25 15:01:06 <ski> how're `Atom' and `Sustitucio' defined ?
2021-04-25 15:01:08 <HelplessProgramm> And sustitucio is the list of tuples

All times are in UTC.