Home liberachat/#haskell: Logs Calendar

Logs: liberachat/#haskell

←Prev  Next→
Page 1 .. 415 416 417 418 419 420 421 422 423 424 425 .. 17997
1,799,637 events total
2021-06-12 17:48:20 <safinaskar> Square: i want to get ast of file from disk
2021-06-12 17:48:31 <safinaskar> pavonia: any
2021-06-12 17:49:32 × betelgeuse quits (~john2gb@94-225-47-8.access.telenet.be) (Quit: Ping timeout (120 seconds))
2021-06-12 17:49:55 <Square> theres "reifyModule" too. reifyModule :: Module -> Q ModuleInfo
2021-06-12 17:50:58 betelgeuse joins (~john2gb@94-225-47-8.access.telenet.be)
2021-06-12 17:51:40 <safinaskar> Square: it doesn't allow to get module's ast
2021-06-12 17:51:54 <safinaskar> ok, i am looking at haskell-src-exts. it seems it is what i want
2021-06-12 17:52:16 × machinedgod quits (~machinedg@24.105.81.50) (Remote host closed the connection)
2021-06-12 17:53:01 <dminuoso> You probably should use ghc-lib instead of haskell-src-exts.
2021-06-12 17:53:11 <dminuoso> The latter is on the brink of deprecation
2021-06-12 17:53:27 <DigitalKiwi> depreciation
2021-06-12 17:53:33 warnz joins (~warnz@2600:1700:77c0:5610:210a:ba95:5325:60a6)
2021-06-12 17:53:48 <geekosaur> deprecation
2021-06-12 17:54:00 <c_wraith> I thought there was a new parser library that is intended to be compatible with the ghc interpretation.
2021-06-12 17:54:18 <DigitalKiwi> no no pretty sure it's about to be worth a lot fewer
2021-06-12 17:54:20 <geekosaur> ghc-lib-parser, I think
2021-06-12 17:54:24 <dminuoso> That seems like redundant effort, seeing as ghc-lib exposes that already?
2021-06-12 17:54:30 <c_wraith> ah, ghc-parser
2021-06-12 17:55:26 <c_wraith> ghc-lib is a compatibility shim for the ghc package, and the ghc package is not really designed to be easily usable
2021-06-12 17:55:28 <dminuoso> ghc-lib-parser is just a tweak on ghc-lib for a particular set of users.
2021-06-12 17:56:03 <dminuoso> ah interesting, ghc-lib itself depends on ghc-lib-parser
2021-06-12 17:56:22 wroathe joins (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net)
2021-06-12 17:58:11 machinedgod joins (~machinedg@24.105.81.50)
2021-06-12 17:59:31 × Crypt9a2e quits (~Crypt9a2e@2409:4072:301:9da3:81fa:805a:fd5b:12a4) (Remote host closed the connection)
2021-06-12 17:59:51 Crypt9a2e joins (~Crypt9a2e@157.51.21.53)
2021-06-12 18:00:19 <qrpnxz> i'm thinking about installing stack from the shell script, but i'd like to know where it's gonna put files first to make sure it's not something disgusting
2021-06-12 18:01:00 × wroathe quits (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) (Ping timeout: 252 seconds)
2021-06-12 18:01:01 <c_wraith> pretty sure it all goes into ~/.stack
2021-06-12 18:01:02 <dminuoso> qrpnxz: Which operating system?
2021-06-12 18:01:26 <qrpnxz> does it decide based on the system? I use debian
2021-06-12 18:02:02 <dminuoso> Well there's windows too.. :)
2021-06-12 18:02:21 <qrpnxz> didn't know sh script ran on windows
2021-06-12 18:02:24 <dminuoso> Then what c_wraith is right.
2021-06-12 18:02:24 <c_wraith> yeah, but the curl | sh install doesn't work on windows
2021-06-12 18:03:38 <dminuoso> qrpnxz: Windows has its own shell, powershell, you have mingw, you have windows subsystem for linux with bash, zsh, etc all available...
2021-06-12 18:03:46 <dminuoso> Im not going to guess for you. ;-)
2021-06-12 18:03:57 <qrpnxz> looks like it knows about .local, i'll try to run it without root and see if it does something sane in a debian docker container
2021-06-12 18:06:08 allbery_b joins (~geekosaur@069-135-003-034.biz.spectrum.com)
2021-06-12 18:06:23 × geekosaur quits (~geekosaur@069-135-003-034.biz.spectrum.com) (Ping timeout: 272 seconds)
2021-06-12 18:07:16 × Bartosz quits (~textual@24.35.90.211) (Quit: My MacBook has gone to sleep. ZZZzzz…)
2021-06-12 18:07:24 <qrpnxz> it tries to install smth with apt hmmmm
2021-06-12 18:10:07 tromp joins (~textual@dhcp-077-249-230-040.chello.nl)
2021-06-12 18:10:49 × xff0x quits (~xff0x@2001:1a81:5382:9400:bf95:26e2:74b9:5674) (Ping timeout: 272 seconds)
2021-06-12 18:11:01 werneta joins (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net)
2021-06-12 18:11:06 xff0x joins (~xff0x@185.65.135.235)
2021-06-12 18:11:18 <monochrom> Perhaps it's ensuring that libgmp-dev exists
2021-06-12 18:11:51 hklhvl joins (~user@73.173.185.9)
2021-06-12 18:11:58 <qrpnxz> yeah i'm trying to install what it needs by hand first
2021-06-12 18:12:00 jakalx parts (~jakalx@base.jakalx.net) (Error from remote client)
2021-06-12 18:15:54 × johnw quits (~johnw@2607:f6f0:3004:1:c8b4:50ff:fef8:6bf0) (Ping timeout: 264 seconds)
2021-06-12 18:15:55 <qrpnxz> looks like it rly want to install in usr/local, how to get it to only do .local
2021-06-12 18:16:12 <safinaskar> haskell-src-exts works, thank you
2021-06-12 18:16:31 jao joins (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net)
2021-06-12 18:17:30 <monochrom> Since you're running the install script in docker, have you taken care to say "-u ..." to run as non-root?
2021-06-12 18:17:37 jakalx joins (~jakalx@base.jakalx.net)
2021-06-12 18:18:06 <tomsmeding> qrpnxz: stack is just a binary, you can just download the binary itself directly and store that wherever you want; thereafter it will just use ~/.stack for the downloaded/compiled files
2021-06-12 18:18:42 <qrpnxz> can you configure it to not use .stack
2021-06-12 18:23:20 <tomsmeding> qrpnxz: see the --stack_root flag or the STACK_ROOT environment variable https://docs.haskellstack.org/en/v2.7.1/GUIDE/#setting-stack-root-location
2021-06-12 18:23:30 <qrpnxz> great thx
2021-06-12 18:24:07 <safinaskar> how you keep last message in irc channel you have read?
2021-06-12 18:25:56 <tomsmeding> safinaskar: that depends entirely on the client you're using
2021-06-12 18:26:48 × dunkeln quits (~dunkeln@94.129.65.28) (Ping timeout: 272 seconds)
2021-06-12 18:28:06 <safinaskar> please, say me some client, that has such feature
2021-06-12 18:28:57 <allbery_b> are you asking for one that saves a backlog, or one which keeps activity from when you aren't connected?
2021-06-12 18:29:10 allbery_b is now known as geekosaur
2021-06-12 18:29:10 <safinaskar> allbery_b: no
2021-06-12 18:29:10 <maerwald> weechat has it all
2021-06-12 18:29:17 <safinaskar> geekosaur: no
2021-06-12 18:29:36 <safinaskar> i want to somehow mark last read message
2021-06-12 18:29:50 <tomsmeding> almost every client does that
2021-06-12 18:30:00 <tomsmeding> I'm surprised if the web client doesn't
2021-06-12 18:30:07 <safinaskar> it doesn't
2021-06-12 18:30:13 tomsmeding is surprised
2021-06-12 18:30:15 <geekosaur> the web client does but only until you touch the window
2021-06-12 18:30:39 <safinaskar> web client allows me to mark messages, but this marks are lost when i select some text using normal browser selection
2021-06-12 18:30:58 abhixec joins (~abhixec@c-67-169-139-16.hsd1.ca.comcast.net)
2021-06-12 18:30:59 <tomsmeding> oh you want _manual_ marking
2021-06-12 18:31:10 <safinaskar> yes!
2021-06-12 18:31:28 <safinaskar> so does any client have this feature?
2021-06-12 18:31:32 <tomsmeding> ¯\_(ツ)_/¯
2021-06-12 18:32:25 <tomsmeding> there's an emacs irc plugin; if that's anything like emacs style, it probably has every feature ever
2021-06-12 18:32:32 <tomsmeding> but I'm not an emacs user so I wouldn't know :p
2021-06-12 18:33:06 <geekosaur> there's at least two emacs irc modes; erc seems to be most popular
2021-06-12 18:34:01 Crypt9a2e-1 joins (~Crypt9a2e@157.51.116.113)
2021-06-12 18:35:39 × Crypt9a2e quits (~Crypt9a2e@157.51.21.53) (Ping timeout: 252 seconds)
2021-06-12 18:36:59 × ikex quits (~ash@user/ikex) (Ping timeout: 272 seconds)
2021-06-12 18:37:33 × sekun quits (~sekun@180.190.221.56) (Ping timeout: 264 seconds)
2021-06-12 18:39:30 × xff0x quits (~xff0x@185.65.135.235) (Ping timeout: 252 seconds)
2021-06-12 18:41:17 xff0x joins (~xff0x@2001:1a81:5382:9400:bf95:26e2:74b9:5674)
2021-06-12 18:41:57 dunkeln joins (~dunkeln@94.129.65.28)
2021-06-12 18:42:30 jakalx parts (~jakalx@base.jakalx.net) (Error from remote client)
2021-06-12 18:44:30 <vaibhavsagar[m]> safinaskar: I use element.io which has this feature IIUC
2021-06-12 18:44:59 <safinaskar> vaibhavsagar[m]: thanks, i will try
2021-06-12 18:45:10 <dminuoso> tomsmeding: From experience, this "has every feature ever" definitely does not apply to every emacs package out there.
2021-06-12 18:45:39 <dminuoso> Id argue, it only applies to a select few packages. But those tend to be the reasons why emacs is liked by its users, like magit.
2021-06-12 18:46:04 <qrpnxz> hmm, what do i do about "`unexpected Unknown SPDX license identifier`" from stack
2021-06-12 18:47:07 <tomsmeding> dminuoso: makes sense, it hardly _can_ apply to most packages by sheer lack of manpower
2021-06-12 18:47:20 <tomsmeding> qrpnxz: what's the value of the 'license:' key in your cabal file
2021-06-12 18:47:32 <tomsmeding> or, I guess, package.yaml if applicable
2021-06-12 18:47:37 <qrpnxz> BlueOak-1.0.0

All times are in UTC.