Home freenode/#haskell: Logs Calendar

Logs: freenode/#haskell

←Prev  Next→ 502,152 events total
2021-04-18 00:58:20 × nineonine quits (~nineonine@2604:3d08:7785:9600:2926:4844:fa1f:b849) (Remote host closed the connection)
2021-04-18 00:59:22 nineonine joins (~nineonine@2604:3d08:7785:9600:68a6:8c79:2caf:5ce4)
2021-04-18 01:03:47 × nineonine quits (~nineonine@2604:3d08:7785:9600:68a6:8c79:2caf:5ce4) (Ping timeout: 258 seconds)
2021-04-18 01:03:57 lambdaman joins (~lambdaman@s66-183-152-156.bc.hsia.telus.net)
2021-04-18 01:05:24 Kaiepi joins (~Kaiepi@47.54.252.148)
2021-04-18 01:08:45 ddellacosta joins (ddellacost@gateway/vpn/mullvad/ddellacosta)
2021-04-18 01:13:45 × ddellacosta quits (ddellacost@gateway/vpn/mullvad/ddellacosta) (Ping timeout: 265 seconds)
2021-04-18 01:14:14 × HannaM quits (~quassel@p54849510.dip0.t-ipconnect.de) (Quit: http://quassel-irc.org - Chat comfortably. Anywhere.)
2021-04-18 01:15:21 Guest78317 joins (~laudiacay@67.176.215.84)
2021-04-18 01:16:23 × raehik quits (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net) (Ping timeout: 246 seconds)
2021-04-18 01:19:32 × Guest78317 quits (~laudiacay@67.176.215.84) (Ping timeout: 246 seconds)
2021-04-18 01:22:13 lechner joins (~lechner@letbox-vps.us-core.com)
2021-04-18 01:23:28 hidedagger joins (~nate@unaffiliated/hidedagger)
2021-04-18 01:24:26 Codaraxis joins (Codaraxis@gateway/vpn/mullvad/codaraxis)
2021-04-18 01:24:55 <lechner> Hi, I am on my second Haskell project. Using ghc from Debian but vendored packages from Hackage, what is the right sequence to build the example on this page, please? http://hackage.haskell.org/package/amqp-0.22.0/docs/Network-AMQP.html
2021-04-18 01:25:15 × xff0x quits (~xff0x@2001:1a81:5285:4800:4b3b:6e1b:c5f9:114d) (Ping timeout: 258 seconds)
2021-04-18 01:26:42 × lambdaman quits (~lambdaman@s66-183-152-156.bc.hsia.telus.net) (Remote host closed the connection)
2021-04-18 01:26:46 × Deide quits (~Deide@217.155.19.23) (Quit: Seeee yaaaa)
2021-04-18 01:27:07 xff0x joins (~xff0x@2001:1a81:52bc:3c00:e093:d566:52f:38b9)
2021-04-18 01:27:39 <sm[m]> hi lechner . what problem have you got ?
2021-04-18 01:28:23 lambdaman joins (~lambdaman@s66-183-152-156.bc.hsia.telus.net)
2021-04-18 01:29:11 <lechner> sm[m]: Hi, should i use stack? which one? last time i got confused by another tool, maybe cabal?
2021-04-18 01:30:10 <lechner> to rephrase, is 'stack new' still the way to go?
2021-04-18 01:31:06 × dpl quits (~dpl@77-121-78-163.chn.volia.net) (Ping timeout: 240 seconds)
2021-04-18 01:31:14 <sm[m]> lechner: you can use either, but I would, yes. To just quickly build this example: stack ghc --package amqp file.hs
2021-04-18 01:31:25 nineonine joins (~nineonine@2604:3d08:7785:9600:68a6:8c79:2caf:5ce4)
2021-04-18 01:31:32 × nineonine quits (~nineonine@2604:3d08:7785:9600:68a6:8c79:2caf:5ce4) (Remote host closed the connection)
2021-04-18 01:31:45 nineonine joins (~nineonine@2604:3d08:7785:9600:68a6:8c79:2caf:5ce4)
2021-04-18 01:31:55 <sm[m]> no need to create a project if you're just building an example
2021-04-18 01:32:16 <lechner> thanks, i have stack 2.3.3 in Debian bullseye. is that good enough?
2021-04-18 01:32:33 <lechner> well, i have to go to production anyway
2021-04-18 01:32:54 × nineonine quits (~nineonine@2604:3d08:7785:9600:68a6:8c79:2caf:5ce4) (Remote host closed the connection)
2021-04-18 01:33:03 <sm[m]> I would get the latest, 2.5.x. "stack upgrade", or look for a newer deb
2021-04-18 01:33:08 <sm[m]> but you can try
2021-04-18 01:33:56 nineonine joins (~nineonine@2604:3d08:7785:9600:68a6:8c79:2caf:5ce4)
2021-04-18 01:35:19 <lechner> thanks so much! it's a privilege to get help from you, if you are the SM i think you are
2021-04-18 01:35:43 <sm[m]> I'm not Simon Marlow :)
2021-04-18 01:35:59 × hypercube quits (hypercube@gateway/vpn/protonvpn/hypercube) (Ping timeout: 246 seconds)
2021-04-18 01:36:09 <lechner> bummer. thanks, anyway! :)
2021-04-18 01:36:23 <sm[m]> np
2021-04-18 01:36:38 <lechner> i won't tell anyone
2021-04-18 01:36:55 <sm[m]> doesn't matter.. they can tell somehow :)
2021-04-18 01:37:58 <lechner> with your commitment to this channel you deserve greater accolades, anyhow!
2021-04-18 01:38:09 × nineonine quits (~nineonine@2604:3d08:7785:9600:68a6:8c79:2caf:5ce4) (Ping timeout: 250 seconds)
2021-04-18 01:39:46 <sm[m]> I keep telling them...
2021-04-18 01:40:50 ddellacosta joins (ddellacost@gateway/vpn/mullvad/ddellacosta)
2021-04-18 01:45:06 × ddellacosta quits (ddellacost@gateway/vpn/mullvad/ddellacosta) (Ping timeout: 240 seconds)
2021-04-18 01:46:10 <lechner> looks like i have to adjust some Debian QA tools for Hackage. can the explicit deprecation of stack version 9.9.9 be detected somehow? tracker.debian.org doesn't get it 'new upstream version available': https://tracker.debian.org/pkg/haskell-stack http://hackage.haskell.org/package/stack/preferred
2021-04-18 01:47:11 × geowiesnot quits (~user@87-89-181-157.abo.bbox.fr) (Ping timeout: 246 seconds)
2021-04-18 01:47:44 gnumonic joins (~gnumonic@c-73-170-91-210.hsd1.ca.comcast.net)
2021-04-18 01:52:21 <sm[m]> maybe Clint knows
2021-04-18 01:57:48 sz0 joins (uid110435@gateway/web/irccloud.com/x-zwmbhzhzwgqqzplk)
2021-04-18 01:59:04 <Clint> lechner: you might try #hackage if you want enhancements to distro-monitor or some api
2021-04-18 02:00:33 <lechner> Clint: okay, i'll ask over there. thanks!
2021-04-18 02:01:30 jao joins (~jao@pdpc/supporter/professional/jao)
2021-04-18 02:02:57 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
2021-04-18 02:03:38 × Foritus quits (~buggery@cpc91316-watf11-2-0-cust68.15-2.cable.virginm.net) (Ping timeout: 252 seconds)
2021-04-18 02:03:47 Foritus joins (~buggery@cpc91316-watf11-2-0-cust68.15-2.cable.virginm.net)
2021-04-18 02:04:33 × jacks2 quits (~bc8134e3@217.29.117.252) (Quit: http://www.okay.uz/)
2021-04-18 02:05:40 olligobber joins (olligobber@gateway/vpn/privateinternetaccess/olligobber)
2021-04-18 02:05:53 × mozzarella quits (~sam@unaffiliated/sam113101) (Ping timeout: 240 seconds)
2021-04-18 02:06:15 nineonine joins (~nineonine@2604:3d08:7785:9600:2926:4844:fa1f:b849)
2021-04-18 02:06:47 × lambdaman quits (~lambdaman@s66-183-152-156.bc.hsia.telus.net) (Remote host closed the connection)
2021-04-18 02:06:50 × stef204 quits (~stef204@unaffiliated/stef-204/x-384198) (Quit: WeeChat 3.1)
2021-04-18 02:08:47 lambdaman joins (~lambdaman@s66-183-152-156.bc.hsia.telus.net)
2021-04-18 02:09:15 <gnumonic> I'm not 100% sure if this is the right question but: Is there a way to force immediate kind unification? I'm testing some type level stuff w/ higher order defunctionalized type level functions (:: (k1 ~> k2) ~> k3 ish) and I can't tell whether they work as intended without compiling (which takes like 15 minutes).
2021-04-18 02:09:50 × hidedagger quits (~nate@unaffiliated/hidedagger) (Quit: WeeChat 3.1)
2021-04-18 02:11:38 × nineonine quits (~nineonine@2604:3d08:7785:9600:2926:4844:fa1f:b849) (Ping timeout: 258 seconds)
2021-04-18 02:14:54 <infinisil> gnumonic: Can you split it into multiple files?
2021-04-18 02:15:01 <nicholasbulka> what kind of data structure, or pattern, might be best to use for sorting Integers across lists, returning the same shape of the list.
2021-04-18 02:15:31 <infinisil> nicholasbulka: Example?
2021-04-18 02:16:00 <nicholasbulka> well, consider chars actually
2021-04-18 02:16:02 <nicholasbulka> [ [
2021-04-18 02:16:02 <nicholasbulka> ['H', 'H', 'W', 'O'], ['O','O','O','O']
2021-04-18 02:16:02 <nicholasbulka> ['W', 'W', 'O', 'W'], => ['W','W','W','W']
2021-04-18 02:16:04 <nicholasbulka> ['H', 'H', 'O', 'O'] ['H','H','H','H']
2021-04-18 02:16:06 <nicholasbulka> ] ]
2021-04-18 02:16:12 <gnumonic> infinisil: no :-( Not without doing the recursive module thing. I'm trying to do some heavy dependently typed stuff and (almost) everything depends on (almost) everything else in some way
2021-04-18 02:16:29 <gnumonic> And tbh I couldn't get the recursive module thing to work after a few hours and so I gave up
2021-04-18 02:17:51 <nicholasbulka> where H = 1.36, W = 1.00, A = 0.87, and 0 = 0.80 (so sorting lowest first basically)
2021-04-18 02:17:54 <infinisil> gnumonic: Maybe https://downloads.haskell.org/ghc/latest/docs/html/users_guide/phases.html#ghc-flag--fno-code
2021-04-18 02:18:36 ddellacosta joins (~ddellacos@86.106.143.79)
2021-04-18 02:19:28 rajivr joins (uid269651@gateway/web/irccloud.com/x-cevinofdvazcujky)
2021-04-18 02:19:44 mozzarella joins (~sam@unaffiliated/sam113101)
2021-04-18 02:19:50 <infinisil> nicholasbulka: That's an odd use case. Haskell lists aren't really good for this. Do you need exactly this or can you change the input/output to some better data structure?
2021-04-18 02:20:00 <gnumonic> That'll omit TH splices right? I'm using singletons to generate defunctionalization symbols so I don't think that'll work. I mean I could do all of that by hand but... not sure that'd really save me time. I guess I'll just try to be careful. Compile times really balloon when you do a lot of type family stuff
2021-04-18 02:20:37 <nicholasbulka> it's a code wars problem, the input is always of the form ...
2021-04-18 02:20:43 <nicholasbulka> fixedTests :: [([Char], [[Char]], [[Char]])]
2021-04-18 02:20:43 <nicholasbulka> fixedTests =
2021-04-18 02:20:43 <nicholasbulka> [
2021-04-18 02:20:45 <nicholasbulka> ( "Should be able to sort 3 liquids"
2021-04-18 02:20:47 <nicholasbulka> ,
2021-04-18 02:20:49 <nicholasbulka> [ "HHWO"
2021-04-18 02:20:51 <nicholasbulka> , "WWOW"
2021-04-18 02:20:53 <nicholasbulka> , "HHOO"
2021-04-18 02:20:55 <nicholasbulka> ]
2021-04-18 02:20:57 <nicholasbulka> ,
2021-04-18 02:21:17 <infinisil> gnumonic: I'd give -fno-code a try
2021-04-18 02:22:07 <gnumonic> mkay i'll flip it on and see what happens. thanks!
2021-04-18 02:22:44 kristijonas joins (~kristijon@78-56-32-39.static.zebra.lt)

All times are in UTC.