Logs: freenode/#haskell
| 2021-04-02 16:57:09 | → | justsomeguy joins (~justsomeg@unaffiliated/--/x-3805311) |
| 2021-04-02 17:01:46 | × | stree quits (~stree@68.36.8.116) (Ping timeout: 240 seconds) |
| 2021-04-02 17:03:23 | <aveltras> | does anyone know if it's possible to pass stack arguments through haskell-language-server executable ? |
| 2021-04-02 17:03:44 | <aveltras> | I have to run "stack build --system-ghc --compiler ghc-8.8.4" for my project |
| 2021-04-02 17:03:45 | → | Pickchea joins (~private@unaffiliated/pickchea) |
| 2021-04-02 17:06:29 | × | nut quits (~user@roc37-h01-176-170-197-243.dsl.sta.abo.bbox.fr) (Remote host closed the connection) |
| 2021-04-02 17:06:43 | × | heatsink quits (~heatsink@108-201-191-115.lightspeed.sntcca.sbcglobal.net) (Remote host closed the connection) |
| 2021-04-02 17:07:02 | → | heatsink joins (~heatsink@108-201-191-115.lightspeed.sntcca.sbcglobal.net) |
| 2021-04-02 17:07:32 | × | jjhoo quits (jahakala@dsl-trebng21-b048b5-171.dhcp.inet.fi) (Remote host closed the connection) |
| 2021-04-02 17:08:21 | × | idhugo quits (~idhugo@87-49-147-45-mobile.dk.customer.tdc.net) (Ping timeout: 252 seconds) |
| 2021-04-02 17:11:31 | → | royal_screwup21 joins (52254809@gateway/web/cgi-irc/kiwiirc.com/ip.82.37.72.9) |
| 2021-04-02 17:12:10 | → | jumper149 joins (~jumper149@80.240.31.34) |
| 2021-04-02 17:13:28 | × | shatriff quits (~vitaliish@176.52.216.242) (Remote host closed the connection) |
| 2021-04-02 17:13:51 | × | jumper149 quits (~jumper149@80.240.31.34) (Client Quit) |
| 2021-04-02 17:14:02 | → | shatriff joins (~vitaliish@176.52.216.242) |
| 2021-04-02 17:14:14 | → | jumper149 joins (~jumper149@80.240.31.34) |
| 2021-04-02 17:14:30 | → | stree joins (~stree@68.36.8.116) |
| 2021-04-02 17:15:46 | × | royal_screwup21 quits (52254809@gateway/web/cgi-irc/kiwiirc.com/ip.82.37.72.9) (Ping timeout: 240 seconds) |
| 2021-04-02 17:16:51 | × | Deide quits (~Deide@217.155.19.23) (Quit: Seeee yaaaa) |
| 2021-04-02 17:18:28 | × | shatriff quits (~vitaliish@176.52.216.242) (Ping timeout: 265 seconds) |
| 2021-04-02 17:18:51 | × | davros quits (~davros@host86-183-29-83.range86-183.btcentralplus.com) (Ping timeout: 260 seconds) |
| 2021-04-02 17:22:25 | → | Deide joins (~Deide@217.155.19.23) |
| 2021-04-02 17:23:10 | Guest40940 | is now known as mrd |
| 2021-04-02 17:23:19 | × | mrd quits (~mrd@45.61.147.211) (Changing host) |
| 2021-04-02 17:23:19 | → | mrd joins (~mrd@debian/developer/mrd) |
| 2021-04-02 17:24:08 | × | hendursa1 quits (~weechat@gateway/tor-sasl/hendursaga) (Quit: hendursa1) |
| 2021-04-02 17:24:25 | → | hendursaga joins (~weechat@gateway/tor-sasl/hendursaga) |
| 2021-04-02 17:25:46 | × | zebrag quits (~inkbottle@aaubervilliers-654-1-98-245.w86-212.abo.wanadoo.fr) (Quit: Konversation terminated!) |
| 2021-04-02 17:26:07 | → | zebrag joins (~inkbottle@aaubervilliers-654-1-98-245.w86-212.abo.wanadoo.fr) |
| 2021-04-02 17:27:19 | → | merijn joins (~merijn@83-160-49-249.ip.xs4all.nl) |
| 2021-04-02 17:28:24 | × | rajivr quits (uid269651@gateway/web/irccloud.com/x-ooidmjfwldhvhpcx) (Quit: Connection closed for inactivity) |
| 2021-04-02 17:31:22 | → | StackStackIssue joins (c634aeb5@198.52.174.181) |
| 2021-04-02 17:31:54 | → | geowiesnot joins (~user@i15-les02-ix2-87-89-181-157.sfr.lns.abo.bbox.fr) |
| 2021-04-02 17:32:53 | <StackStackIssue> | Hello, I'm trying to solve a problem on Exercism, which makes use of Stack and Cabal for testing. In my solution, I import Data.Stack, but when running the test suite the module fails to import- I'm not sure where in the config to specify that I need this module. Could I get some help? |
| 2021-04-02 17:33:05 | → | jjhoo joins (jahakala@dsl-trebng21-b048b5-171.dhcp.inet.fi) |
| 2021-04-02 17:34:13 | <L29Ah> | StackStackIssue: use a common dependency set for both your solution and your test suite in your .cabal file? |
| 2021-04-02 17:34:16 | <sclv> | in the cabal file there’s a build-depends section in the test stanza |
| 2021-04-02 17:34:29 | <StackStackIssue> | I have added - containers > 0.6 there |
| 2021-04-02 17:35:03 | <StackStackIssue> | I believe that was supposed to fix it |
| 2021-04-02 17:35:32 | <StackStackIssue> | https://paste.tomsmeding.com/WHAw9Srt |
| 2021-04-02 17:36:24 | × | werneta quits (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) (Remote host closed the connection) |
| 2021-04-02 17:36:27 | → | machinedgod joins (~machinedg@24.105.81.50) |
| 2021-04-02 17:36:49 | × | anandprabhu quits (~anandprab@94.203.250.121) (Quit: WeeChat 2.8) |
| 2021-04-02 17:37:14 | × | _ashbreeze_ quits (~mark@64.85.214.234.reverse.socket.net) (Remote host closed the connection) |
| 2021-04-02 17:37:25 | × | motherfsck quits (~motherfsc@unaffiliated/motherfsck) (Remote host closed the connection) |
| 2021-04-02 17:37:54 | <StackStackIssue> | All other suggestions are welcome |
| 2021-04-02 17:38:18 | → | fosterite joins (~fosterite@2600:6c46:7800:fecf:5cc8:b6e6:6f3b:cc2) |
| 2021-04-02 17:38:37 | → | _ashbreeze_ joins (~mark@64.85.214.234.reverse.socket.net) |
| 2021-04-02 17:39:50 | → | nut joins (~user@roc37-h01-176-170-197-243.dsl.sta.abo.bbox.fr) |
| 2021-04-02 17:41:27 | → | __monty__ joins (~toonn@unaffiliated/toonn) |
| 2021-04-02 17:43:44 | × | fosterite quits (~fosterite@2600:6c46:7800:fecf:5cc8:b6e6:6f3b:cc2) (Ping timeout: 245 seconds) |
| 2021-04-02 17:45:05 | ← | jakalx parts (~jakalx@base.jakalx.net) ("Error from remote client") |
| 2021-04-02 17:45:58 | <tomsmeding> | StackStackIssue: where do you read that containers should give you Data.Stack? |
| 2021-04-02 17:46:22 | → | royal_screwup21 joins (52254809@gateway/web/cgi-irc/kiwiirc.com/ip.82.37.72.9) |
| 2021-04-02 17:46:27 | → | shalokshalom joins (~quassel@2a02:1748:dd5e:7f60:cf49:8384:7c93:3106) |
| 2021-04-02 17:46:32 | <StackStackIssue> | I extrapolated from a SO post where someone failed to import Data.Set and that was the suggested solution |
| 2021-04-02 17:46:42 | × | gehmehgeh quits (~ircuser1@gateway/tor-sasl/gehmehgeh) (Quit: Leaving) |
| 2021-04-02 17:46:49 | <StackStackIssue> | I'm not familiar with modules or the ecosystem, so i wouldn't be surprised if that's the wrong package |
| 2021-04-02 17:46:53 | <StackStackIssue> | @tomsme |
| 2021-04-02 17:46:53 | <lambdabot> | Unknown command, try @list |
| 2021-04-02 17:47:06 | <StackStackIssue> | @tomsmeding could you point me in the right direction? |
| 2021-04-02 17:47:06 | <lambdabot> | Unknown command, try @list |
| 2021-04-02 17:47:10 | <tomsmeding> | StackStackIssue: Data.Set is indeed from containers, but I can find no package that exports Data.Stack |
| 2021-04-02 17:47:23 | <tomsmeding> | Where did you find that module name in the first place? |
| 2021-04-02 17:47:35 | <StackStackIssue> | https://hackage.haskell.org/package/Stack-0.4.0/docs/Data-Stack.html |
| 2021-04-02 17:47:51 | <StackStackIssue> | I looked up haskell Stack since I was curious to try some libraries |
| 2021-04-02 17:47:53 | <tomsmeding> | (side note: on irc, you don't need to put @ before a name to mention them) |
| 2021-04-02 17:48:10 | <StackStackIssue> | TIL |
| 2021-04-02 17:48:21 | <tomsmeding> | StackStackIssue: ah, thats's the 'Stack' library, apparently |
| 2021-04-02 17:48:28 | <tomsmeding> | Which is not 'containers' :) |
| 2021-04-02 17:48:28 | <StackStackIssue> | So would I actually be looking at Stack-0.4.0? |
| 2021-04-02 17:48:29 | <jumper149> | StackStackIssue: On the top left it says the package name on hackage, it's "Stack" |
| 2021-04-02 17:48:34 | <StackStackIssue> | Yeah, there it is |
| 2021-04-02 17:48:46 | <StackStackIssue> | I figured Data.* was a single codebase |
| 2021-04-02 17:49:04 | <StackStackIssue> | Rather than a namespace used here and there, which it seems to be |
| 2021-04-02 17:49:07 | <jumper149> | Data.* is just a convention, just like Control.* or System.* |
| 2021-04-02 17:49:11 | <tomsmeding> | No, module names can be freely chosen by packages |
| 2021-04-02 17:49:22 | × | geekosaur quits (42d52137@66.213.33.55) (Ping timeout: 240 seconds) |
| 2021-04-02 17:49:33 | → | ravi84 joins (67f9874a@103.249.135.74) |
| 2021-04-02 17:49:33 | <tomsmeding> | And _are_ freely chosen by packages :p |
| 2021-04-02 17:50:11 | × | tmciver quits (~tmciver@cpe-172-101-40-226.maine.res.rr.com) (Ping timeout: 240 seconds) |
| 2021-04-02 17:50:13 | <tomsmeding> | So add 'Stack' to your build-depends list |
| 2021-04-02 17:50:16 | <StackStackIssue> | Emphasis appreciated haha |
| 2021-04-02 17:50:18 | <StackStackIssue> | Thank you both |
| 2021-04-02 17:50:39 | <tomsmeding> | Good luck :) |
| 2021-04-02 17:51:58 | → | jakalx joins (~jakalx@base.jakalx.net) |
| 2021-04-02 17:52:05 | → | tmciver joins (~tmciver@cpe-172-101-40-226.maine.res.rr.com) |
| 2021-04-02 17:53:21 | × | royal_screwup21 quits (52254809@gateway/web/cgi-irc/kiwiirc.com/ip.82.37.72.9) (Quit: Connection closed) |
| 2021-04-02 17:53:26 | <StackStackIssue> | Thanks :) |
| 2021-04-02 17:53:50 | → | royal_screwup21 joins (52254809@gateway/web/cgi-irc/kiwiirc.com/ip.82.37.72.9) |
| 2021-04-02 17:54:45 | → | idhugo joins (~idhugo@87-49-147-45-mobile.dk.customer.tdc.net) |
| 2021-04-02 17:57:03 | × | ravi84 quits (67f9874a@103.249.135.74) (Ping timeout: 240 seconds) |
| 2021-04-02 17:58:42 | × | royal_screwup21 quits (52254809@gateway/web/cgi-irc/kiwiirc.com/ip.82.37.72.9) (Ping timeout: 260 seconds) |
| 2021-04-02 18:00:08 | <monochrom> | This is what's wrong with not starting with plain ghci in tutorials for beginners. |
| 2021-04-02 18:00:44 | <StackStackIssue> | I dabbled in haskell in pure ghci about half a year ago, left it alone, and came back rusty today |
| 2021-04-02 18:00:57 | <StackStackIssue> | Not sure if that's the issue |
| 2021-04-02 18:01:01 | <monochrom> | Start with stack or cabal, especially when extra libraries that don't come with ghc are involved, you now need to explain the package level and the module level, too. |
| 2021-04-02 18:01:40 | × | merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 268 seconds) |
| 2021-04-02 18:01:48 | <monochrom> | More precisely, the problem with most tutorials that start with stack or cabal is that they neglect to explain "package" and "module". |
| 2021-04-02 18:02:12 | <StackStackIssue> | I actually have a second question. I'm trying to solve the problem of determining if a string has matching brackets with a Stack (there are other approaches, but this isn't the point). My code is at https://paste.tomsmeding.com/3E2jEZAP, and it looks like my code will fail because the Stack works with an abstract type, and at one point I compare it |
All times are in UTC.