Home freenode/#haskell: Logs Calendar

Logs: freenode/#haskell

←Prev  Next→
Page 1 .. 714 715 716 717 718 719 720 721 722 723 724 .. 5022
502,152 events total
2020-10-18 15:55:47 jchia__ joins (~jchia@58.32.37.146)
2020-10-18 15:56:47 heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net)
2020-10-18 15:57:58 hackage hadolint 1.18.1 - Dockerfile Linter JavaScript API https://hackage.haskell.org/package/hadolint-1.18.1 (lorenzo)
2020-10-18 15:58:03 theelous3 joins (~theelous3@unaffiliated/theelous3)
2020-10-18 15:59:49 GyroW_ joins (~GyroW@ptr-48ujrfd1ztq5fjywfw3.18120a2.ip6.access.telenet.be)
2020-10-18 15:59:49 × GyroW_ quits (~GyroW@ptr-48ujrfd1ztq5fjywfw3.18120a2.ip6.access.telenet.be) (Changing host)
2020-10-18 15:59:49 GyroW_ joins (~GyroW@unaffiliated/gyrow)
2020-10-18 16:00:44 × Gerula quits (~Gerula@unaffiliated/gerula) (Quit: Leaving)
2020-10-18 16:01:21 isovector1 joins (~isovector@172.103.216.166.cable.tpia.cipherkey.com)
2020-10-18 16:01:22 × GyroW quits (~GyroW@unaffiliated/gyrow) (Ping timeout: 272 seconds)
2020-10-18 16:01:34 × heatsink quits (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 260 seconds)
2020-10-18 16:02:07 ddellacosta joins (~dd@86.106.121.168)
2020-10-18 16:03:58 scratchy_beard joins (~doug@cpc110383-king13-2-0-cust408.19-1.cable.virginm.net)
2020-10-18 16:04:50 frdg joins (47b88ff9@pool-71-184-143-249.bstnma.fios.verizon.net)
2020-10-18 16:06:57 kupi joins (uid212005@gateway/web/irccloud.com/x-gbjfbdizrnfenkgr)
2020-10-18 16:07:20 Gurkenglas_ is now known as Gurkenglas
2020-10-18 16:07:30 <koz_> merijn: Yeah, both C and C++ _force_ you to become a lawyer in fairly short order.
2020-10-18 16:08:02 × fendor quits (~fendor@77.119.130.12.wireless.dyn.drei.com) (Remote host closed the connection)
2020-10-18 16:10:28 hackage cabal-plan 0.7.2.0 - Library and utility for processing cabal's plan.json file https://hackage.haskell.org/package/cabal-plan-0.7.2.0 (phadej)
2020-10-18 16:12:09 heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net)
2020-10-18 16:13:35 texasmynsted joins (688c35c3@104.140.53.195)
2020-10-18 16:14:14 <texasmynsted> When I look at tutorials for Template Haskell, they often say "use ghci like this . . ."
2020-10-18 16:14:38 <texasmynsted> oh. hmm. Going to try something before I finish my quesiton
2020-10-18 16:14:46 djellemah joins (~djellemah@2601:5c2:100:96c:e008:b638:39fe:6a54)
2020-10-18 16:16:10 <phadej> oh, when time-1.11 got released
2020-10-18 16:16:20 <phadej> something to spend the rest of this weekend with
2020-10-18 16:17:20 aweinstock joins (~aweinstoc@cpe-67-248-65-250.nycap.res.rr.com)
2020-10-18 16:17:57 <monochrom> "timely release"
2020-10-18 16:18:30 × stefan-__ quits (~cri@42dots.de) (Read error: Connection reset by peer)
2020-10-18 16:18:35 <phadej> 4 days ago already!
2020-10-18 16:18:41 stefan-__ joins (~cri@42dots.de)
2020-10-18 16:18:59 × Kaiepi quits (~Kaiepi@nwcsnbsc03w-47-55-225-82.dhcp-dynamic.fibreop.nb.bellaliant.net) (Remote host closed the connection)
2020-10-18 16:20:29 Kaiepi joins (~Kaiepi@nwcsnbsc03w-47-55-225-82.dhcp-dynamic.fibreop.nb.bellaliant.net)
2020-10-18 16:21:27 <texasmynsted> Okay. I have the TemplateHaskell extension loaded in my cabal file. When I do `cabal repl` I can then do `:m + Language.Haskell.TH` w/o error.
2020-10-18 16:21:41 <texasmynsted> But then QuasiQuotes are not understood in the REPL.
2020-10-18 16:21:44 <texasmynsted> I get an error.
2020-10-18 16:21:49 × contiver quits (~contiver@84-115-64-51.wifi.dynamic.surfer.at) (Ping timeout: 264 seconds)
2020-10-18 16:21:53 <texasmynsted> <interactive>:2:7: error: parse error on input ‘|’
2020-10-18 16:22:30 <monochrom> QuasiQuotes is a different extension.
2020-10-18 16:22:33 <texasmynsted> Here is an example https://gist.github.com/mmynsted/2056ad4a2b2960dab3808588cca12607
2020-10-18 16:23:06 × knupfer quits (~Thunderbi@i59F7FFD6.versanet.de) (Ping timeout: 256 seconds)
2020-10-18 16:23:11 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 260 seconds)
2020-10-18 16:23:42 <monochrom> Oh, we call that quote, not quasiquote. Quasiquotes are user-defined, e.g., [myfunc| abc |]
2020-10-18 16:23:44 <c_wraith> texasmynsted: in general, ghci doesn't enable an extension just because you loaded a file that has it enabled
2020-10-18 16:24:17 <c_wraith> actually, I can't think of any cases where it does so
2020-10-18 16:25:06 <geekosaur> it doesn't that I know of. ":showi language" iirc shows what extensions are active
2020-10-18 16:25:19 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
2020-10-18 16:25:20 <texasmynsted> okay
2020-10-18 16:26:00 × boristheblade quits (~boristheb@37-219-58-2.nat.bb.dnainternet.fi) (Quit: Lost terminal)
2020-10-18 16:26:07 <texasmynsted> so it is ignoring my project.cabal file with the language extensions defined
2020-10-18 16:26:48 <davean> If you wanted it to respect that, use cabal repl
2020-10-18 16:27:13 christo joins (~chris@81.96.113.213)
2020-10-18 16:27:27 <geekosaur> "When I do `cabal repl`"
2020-10-18 16:28:06 <texasmynsted> Okay, inside of the REPL, if I explicitly do `:set -XTemplateHaskell` then it works as I expect.
2020-10-18 16:28:43 <texasmynsted> I guess I need to read up on cabal to see why it is not reading the language extensions from the .cabal file.
2020-10-18 16:29:08 <monochrom> It is certainly honoured in build mode.
2020-10-18 16:29:18 <texasmynsted> davean, I did use cabal repl
2020-10-18 16:29:50 fendor joins (~fendor@046125249052.public.t-mobile.at)
2020-10-18 16:30:06 <texasmynsted> Yes, when I build my project the .cabal file is used as I expect. When I just run `cabal repl` is does not
2020-10-18 16:31:30 <texasmynsted> hmm. Also did not seem to read it when I did `cabal real --cabal-file thask.cabal`
2020-10-18 16:31:37 <maerwald> texasmynsted: did you specifiy the library component?
2020-10-18 16:32:13 <maerwald> cabal repl lib:<component>
2020-10-18 16:32:21 <texasmynsted> no
2020-10-18 16:32:30 fendor_ joins (~fendor@212095005159.public.telering.at)
2020-10-18 16:33:42 texasmynsted shrug
2020-10-18 16:35:04 × fendor quits (~fendor@046125249052.public.t-mobile.at) (Ping timeout: 256 seconds)
2020-10-18 16:37:20 Rudd0^ joins (~Rudd0@185.189.115.98)
2020-10-18 16:38:21 Gerula joins (~Gerula@unaffiliated/gerula)
2020-10-18 16:38:28 <texasmynsted> okay
2020-10-18 16:38:54 <texasmynsted> At least I can set the extensions directly in the REPL.
2020-10-18 16:39:16 <texasmynsted> I can worry about why it is not loading as I expect another time
2020-10-18 16:40:27 <texasmynsted> I am trying to see if it is worth the TH learning curve to use it to read a file of lines where each line has two words, into a list of pairs.
2020-10-18 16:40:43 × Rudd0 quits (~Rudd0@185.189.115.103) (Ping timeout: 258 seconds)
2020-10-18 16:41:21 <texasmynsted> The reason I would want to use TH is because it could learn how TH works, and I would rather read these at compile time anyway.
2020-10-18 16:42:42 conal joins (~conal@172.255.125.154)
2020-10-18 16:45:18 justache joins (~justache@unaffiliated/justache)
2020-10-18 16:45:19 × acidjnk_new quits (~acidjnk@p200300d0c7237829089b089ef2235b8a.dip0.t-ipconnect.de) (Read error: Connection reset by peer)
2020-10-18 16:49:11 × frdg quits (47b88ff9@pool-71-184-143-249.bstnma.fios.verizon.net) (Remote host closed the connection)
2020-10-18 16:50:00 × immanuel32 quits (9d617a12@157.97.122.18) (Remote host closed the connection)
2020-10-18 16:50:51 <merijn> texasmynsted: Also, note that ghci distinguishes "extensions in loaded files" and "extensions in the interactive session"
2020-10-18 16:51:03 <merijn> :set and :seti respectively
2020-10-18 16:51:39 × fendor_ quits (~fendor@212095005159.public.telering.at) (Remote host closed the connection)
2020-10-18 16:51:49 × GyroW_ quits (~GyroW@unaffiliated/gyrow) (Quit: Someone ate my pie)
2020-10-18 16:52:04 GyroW joins (~GyroW@ptr-48ujrfd1ztq5fjywfw3.18120a2.ip6.access.telenet.be)
2020-10-18 16:52:05 × GyroW quits (~GyroW@ptr-48ujrfd1ztq5fjywfw3.18120a2.ip6.access.telenet.be) (Changing host)
2020-10-18 16:52:05 GyroW joins (~GyroW@unaffiliated/gyrow)
2020-10-18 16:54:35 × nyd quits (~lpy@unaffiliated/elysian) (Quit: nyd)
2020-10-18 16:55:25 × dwt quits (~dwt@c-98-200-58-177.hsd1.tx.comcast.net) (Ping timeout: 264 seconds)
2020-10-18 16:55:37 tungki joins (uid469991@gateway/web/irccloud.com/x-eyynitaofwtlmrqb)
2020-10-18 16:56:47 × heatsink quits (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) (Remote host closed the connection)
2020-10-18 16:59:05 × nbloomf quits (~nbloomf@2600:1700:ad14:3020:14e9:97cc:5d44:8325) (Quit: My MacBook has gone to sleep. ZZZzzz…)
2020-10-18 17:00:49 heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net)
2020-10-18 17:04:12 <monochrom> You know what, I can't reproduce the problem.
2020-10-18 17:04:49 <monochrom> "default-extensions: TemplateHaskell" allows me to use quotes in cabal repl.
2020-10-18 17:07:23 dmc00 parts (~dmc@unaffiliated/dmc00) ()
2020-10-18 17:07:34 × bitmapper quits (uid464869@gateway/web/irccloud.com/x-hxsutijujpqeyumd) (Quit: Connection closed for inactivity)
2020-10-18 17:08:38 cole-h joins (~cole-h@c-73-48-197-220.hsd1.ca.comcast.net)
2020-10-18 17:10:08 × toorevitimirp quits (~tooreviti@117.182.180.0) (Remote host closed the connection)
2020-10-18 17:10:44 <texasmynsted> merijn oh thankyou
2020-10-18 17:11:03 <texasmynsted> hm

All times are in UTC.