Logs: freenode/#haskell
| 2021-04-30 02:25:43 | <Axman6> | I don't really have a problem with it, but do thing step in particular would be more clear with a case statement |
| 2021-04-30 02:26:22 | × | pfurla quits (~pfurla@185.108.105.76) (Ping timeout: 260 seconds) |
| 2021-04-30 02:26:27 | → | ddellacosta joins (~ddellacos@86.106.143.229) |
| 2021-04-30 02:26:55 | <Cale> | It might also be fun in a case like this to make an IntMap or an Array of operations, and do a lookup to get a function to be applied to the state. |
| 2021-04-30 02:28:18 | <Cale> | Whether that would actually be better is a good question, it depends on exactly how smart GHC is being, and I have no idea if it is (or can be) especially smart about numerical patterns. |
| 2021-04-30 02:29:20 | → | werneta joins (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) |
| 2021-04-30 02:29:28 | <zzz> | i wander about any performance implications |
| 2021-04-30 02:29:36 | <Cale> | (It certainly could be smart when the type of number is something special like Int or Integer, but in general, the way that things are defined via fromInteger and (==) means that you'd just have to do each of the tests in order) |
| 2021-04-30 02:29:58 | × | theDon quits (~td@muedsl-82-207-238-033.citykom.de) (Ping timeout: 252 seconds) |
| 2021-04-30 02:30:03 | <zzz> | Cale: oh that's bad |
| 2021-04-30 02:30:29 | <zzz> | can it be? |
| 2021-04-30 02:30:42 | <Axman6> | look at the compiled code |
| 2021-04-30 02:31:03 | <zzz> | that is way beyond my level |
| 2021-04-30 02:31:04 | × | ddellacosta quits (~ddellacos@86.106.143.229) (Ping timeout: 252 seconds) |
| 2021-04-30 02:31:14 | <Axman6> | I'm not sure what case x :: Int of ... gets compiled into. I would hope it can be done efficiently but I'm not sure |
| 2021-04-30 02:31:39 | → | theDon joins (~td@muedsl-82-207-238-113.citykom.de) |
| 2021-04-30 02:31:47 | <zzz> | hmm |
| 2021-04-30 02:31:56 | → | justanotheruser joins (~justanoth@unaffiliated/justanotheruser) |
| 2021-04-30 02:34:15 | × | AkechiShiro quits (~AkechiShi@2a01:e0a:5f9:9681:9dbe:b42:df17:bf9c) (Quit: WeeChat 2.9) |
| 2021-04-30 02:34:22 | → | stree joins (~stree@68.36.8.116) |
| 2021-04-30 02:34:57 | → | AkechiShiro joins (~AkechiShi@2a01:e0a:5f9:9681:1473:3dff:fe42:56a9) |
| 2021-04-30 02:36:14 | × | renzhi quits (~renzhi@2607:fa49:6500:bc00::e7b) (Ping timeout: 245 seconds) |
| 2021-04-30 02:36:49 | → | kilolympus joins (~kilolympu@5.151.5.177) |
| 2021-04-30 02:37:00 | → | FinnElija joins (~finn_elij@gateway/tor-sasl/finnelija/x-67402716) |
| 2021-04-30 02:37:00 | finn_elija | is now known as Guest71844 |
| 2021-04-30 02:37:00 | FinnElija | is now known as finn_elija |
| 2021-04-30 02:38:12 | → | nicholasbulka joins (~nicholasb@2601:900:4301:da0:5440:6bb8:f181:7832) |
| 2021-04-30 02:40:21 | × | Guest71844 quits (~finn_elij@gateway/tor-sasl/finnelija/x-67402716) (Ping timeout: 240 seconds) |
| 2021-04-30 02:41:50 | <gnumonic> | is there a way to dump th splices from one module in a project only? |
| 2021-04-30 02:42:19 | × | nicholasbulka quits (~nicholasb@2601:900:4301:da0:5440:6bb8:f181:7832) (Ping timeout: 250 seconds) |
| 2021-04-30 02:42:54 | <zzz> | well... the (#) at line 15 is just (flip trace) from Debug.Trace and it prints everytime the function is called which makes me suspect it's looking into every pattern sequentially but still, ghc can be smart about it |
| 2021-04-30 02:44:26 | <zzz> | neat little trick, btw, that (| False = undefined) bit |
| 2021-04-30 02:46:12 | × | machinedgod quits (~machinedg@135-23-192-217.cpe.pppoe.ca) (Ping timeout: 265 seconds) |
| 2021-04-30 02:48:21 | → | renzhi joins (~renzhi@2607:fa49:6500:bc00::647c) |
| 2021-04-30 02:50:44 | × | nineonine quits (~nineonine@50.216.62.2) (Ping timeout: 246 seconds) |
| 2021-04-30 02:51:35 | → | star_cloud joins (~star_clou@ec2-34-220-44-120.us-west-2.compute.amazonaws.com) |
| 2021-04-30 02:51:58 | × | falafel quits (~falafel@pool-96-255-70-50.washdc.fios.verizon.net) (Ping timeout: 252 seconds) |
| 2021-04-30 03:01:24 | × | star_cloud quits (~star_clou@ec2-34-220-44-120.us-west-2.compute.amazonaws.com) (Excess Flood) |
| 2021-04-30 03:02:33 | → | ddellacosta joins (~ddellacos@86.106.143.10) |
| 2021-04-30 03:02:40 | → | star_cloud joins (~star_clou@ec2-34-220-44-120.us-west-2.compute.amazonaws.com) |
| 2021-04-30 03:06:59 | × | ddellacosta quits (~ddellacos@86.106.143.10) (Ping timeout: 252 seconds) |
| 2021-04-30 03:15:41 | × | lordcirth quits (~lordcirth@2607:f2c0:95b3:4400:743b:c03e:fba8:e4e0) (Ping timeout: 250 seconds) |
| 2021-04-30 03:26:04 | × | Tario quits (~Tario@201.192.165.173) (Ping timeout: 252 seconds) |
| 2021-04-30 03:27:32 | × | electricityZZZZ quits (~electrici@157-131-250-97.fiber.dynamic.sonic.net) (Ping timeout: 240 seconds) |
| 2021-04-30 03:29:40 | → | jgt joins (~jgt@88.225.221.135) |
| 2021-04-30 03:33:52 | × | jgt quits (~jgt@88.225.221.135) (Ping timeout: 240 seconds) |
| 2021-04-30 03:38:16 | → | ddellacosta joins (~ddellacos@86.106.143.125) |
| 2021-04-30 03:39:16 | → | ddellac__ joins (~ddellacos@ool-44c73afa.dyn.optonline.net) |
| 2021-04-30 03:42:45 | × | ddellacosta quits (~ddellacos@86.106.143.125) (Ping timeout: 265 seconds) |
| 2021-04-30 03:43:46 | → | Tario joins (~Tario@201.192.165.173) |
| 2021-04-30 03:44:52 | × | ddellac__ quits (~ddellacos@ool-44c73afa.dyn.optonline.net) (Ping timeout: 240 seconds) |
| 2021-04-30 03:46:47 | → | fivebox joins (x@unaffiliated/fivebox) |
| 2021-04-30 03:51:42 | → | Kaiepi joins (~Kaiepi@47.54.252.148) |
| 2021-04-30 03:53:47 | → | merijn joins (~merijn@83-160-49-249.ip.xs4all.nl) |
| 2021-04-30 04:00:19 | → | Alleria joins (~textual@2603-7000-3040-0000-159e-3a17-d3d5-238e.res6.spectrum.com) |
| 2021-04-30 04:00:31 | → | Rudd0 joins (~Rudd0@185.189.115.103) |
| 2021-04-30 04:00:43 | Alleria | is now known as Guest27993 |
| 2021-04-30 04:01:48 | → | drbean_ joins (~drbean@TC210-63-209-210.static.apol.com.tw) |
| 2021-04-30 04:04:12 | × | minoru_shiraeesh quits (~shiraeesh@5.101.59.47) (Ping timeout: 240 seconds) |
| 2021-04-30 04:05:22 | × | Guest27993 quits (~textual@2603-7000-3040-0000-159e-3a17-d3d5-238e.res6.spectrum.com) (Ping timeout: 276 seconds) |
| 2021-04-30 04:10:58 | → | ddellacosta joins (ddellacost@gateway/vpn/mullvad/ddellacosta) |
| 2021-04-30 04:13:33 | × | snowflake quits (~snowflake@gateway/tor-sasl/snowflake) (Ping timeout: 240 seconds) |
| 2021-04-30 04:13:37 | → | snowflake_ joins (~snowflake@gateway/tor-sasl/snowflake) |
| 2021-04-30 04:15:26 | × | ddellacosta quits (ddellacost@gateway/vpn/mullvad/ddellacosta) (Ping timeout: 240 seconds) |
| 2021-04-30 04:17:13 | → | frozenErebus joins (~frozenEre@37.231.244.249) |
| 2021-04-30 04:19:43 | × | MidAutumnHotaru quits (~MidAutumn@unaffiliated/midautumnhotaru) (Quit: Quit 啾) |
| 2021-04-30 04:20:20 | → | MidAutumnHotaru joins (~MidAutumn@unaffiliated/midautumnhotaru) |
| 2021-04-30 04:20:38 | → | random joins (~random@46.254.129.126) |
| 2021-04-30 04:21:59 | <random> | hey guys |
| 2021-04-30 04:22:06 | <random> | can anyone help out with servant-client |
| 2021-04-30 04:22:37 | → | nineonine joins (~nineonine@2604:3d08:7785:9600:18b4:fb35:8b27:bdb5) |
| 2021-04-30 04:22:43 | × | wroathe quits (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) (Ping timeout: 252 seconds) |
| 2021-04-30 04:23:42 | <random> | https://pastebin.com/U0WzMdfU |
| 2021-04-30 04:24:18 | → | mikoto-chan joins (~mikoto-ch@gateway/tor-sasl/mikoto-chan) |
| 2021-04-30 04:26:31 | × | ralu quits (~ralu@static.211.245.203.116.clients.your-server.de) (Ping timeout: 260 seconds) |
| 2021-04-30 04:26:49 | × | carlomagno quits (~cararell@148.87.23.6) (Quit: Leaving.) |
| 2021-04-30 04:27:28 | × | nineonine quits (~nineonine@2604:3d08:7785:9600:18b4:fb35:8b27:bdb5) (Ping timeout: 276 seconds) |
| 2021-04-30 04:28:16 | × | merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 260 seconds) |
| 2021-04-30 04:28:58 | → | wroathe joins (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) |
| 2021-04-30 04:33:10 | × | wroathe quits (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) (Ping timeout: 252 seconds) |
| 2021-04-30 04:35:25 | × | coeus quits (~coeus@p200300d027300600a7f01744b59f4d58.dip0.t-ipconnect.de) (Ping timeout: 250 seconds) |
| 2021-04-30 04:42:35 | × | stree quits (~stree@68.36.8.116) (Ping timeout: 268 seconds) |
| 2021-04-30 04:45:11 | × | MarcelineVQ quits (~anja@198.254.208.159) (Ping timeout: 240 seconds) |
| 2021-04-30 04:45:24 | → | ddellacosta joins (~ddellacos@86.106.143.242) |
| 2021-04-30 04:45:45 | → | shakil0302 joins (677194cc@103.113.148.204) |
| 2021-04-30 04:46:09 | × | random quits (~random@46.254.129.126) (Quit: Leaving) |
| 2021-04-30 04:46:14 | <wrunt> | Have you tried changing the type of the endpoint client functions to e.g. 'firstEndpoint :: Text -> ClientM Whatever'? If it can't do that, you may need to also add the Header to each API endpoint separately. |
| 2021-04-30 04:47:02 | → | MarcelineVQ joins (~anja@198.254.208.159) |
| 2021-04-30 04:49:44 | × | ddellacosta quits (~ddellacos@86.106.143.242) (Ping timeout: 246 seconds) |
| 2021-04-30 04:50:59 | → | bitmagie joins (~Thunderbi@200116b8063e2500801a363ed7493106.dip.versatel-1u1.de) |
| 2021-04-30 04:51:25 | × | Tario quits (~Tario@201.192.165.173) (Ping timeout: 260 seconds) |
| 2021-04-30 04:53:28 | → | coeus joins (~coeus@p200300d02706db00f213b37d0883c9d6.dip0.t-ipconnect.de) |
| 2021-04-30 04:53:41 | × | shakil0302 quits (677194cc@103.113.148.204) (Quit: Connection closed) |
| 2021-04-30 04:53:47 | × | bitmagie quits (~Thunderbi@200116b8063e2500801a363ed7493106.dip.versatel-1u1.de) (Client Quit) |
| 2021-04-30 04:55:07 | × | xkapastel quits (uid17782@gateway/web/irccloud.com/x-emokxuotemcxsfjh) (Quit: Connection closed for inactivity) |
| 2021-04-30 04:55:15 | → | stree joins (~stree@68.36.8.116) |
| 2021-04-30 04:57:38 | × | mantovani quits (~mantovani@104.131.207.121) (Ping timeout: 240 seconds) |
| 2021-04-30 04:57:38 | × | letmein quits (~letmein@2601:1c1:4200:938f:f8bf:6a67:4eed:b2c1) (Quit: letmein) |
| 2021-04-30 04:58:09 | → | mantovani joins (~mantovani@104.131.207.121) |
| 2021-04-30 05:06:11 | → | sord937 joins (~sord937@gateway/tor-sasl/sord937) |
All times are in UTC.