Logs: freenode/#haskell
| 2021-04-14 14:59:06 | × | jamm_ quits (~jamm@unaffiliated/jamm) (Ping timeout: 258 seconds) |
| 2021-04-14 14:59:56 | × | xff0x quits (~xff0x@2001:1a81:53de:e800:f134:1482:73e7:cb45) (Ping timeout: 245 seconds) |
| 2021-04-14 15:00:58 | → | xff0x joins (~xff0x@2001:1a81:53de:e800:d3b4:413a:5958:6939) |
| 2021-04-14 15:01:02 | × | elfets quits (~elfets@ip-37-201-23-96.hsi13.unitymediagroup.de) (Ping timeout: 246 seconds) |
| 2021-04-14 15:01:51 | → | name joins (5847aff9@dslb-088-071-175-249.088.071.pools.vodafone-ip.de) |
| 2021-04-14 15:06:12 | × | hypercube quits (hypercube@gateway/vpn/protonvpn/hypercube) (Ping timeout: 240 seconds) |
| 2021-04-14 15:06:57 | <vfaronov> | in that case, is it possible to force Cabal/GHC to recompile (only) a particular file (the one that does embedFile) without actually changing it? I probably need to remove something from under dist-newstyle/build, but what exactly? |
| 2021-04-14 15:07:38 | → | wroathe joins (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) |
| 2021-04-14 15:08:11 | × | name quits (5847aff9@dslb-088-071-175-249.088.071.pools.vodafone-ip.de) (Quit: Connection closed) |
| 2021-04-14 15:08:38 | <merijn> | "not really" https://github.com/haskell/cabal/issues/5300 |
| 2021-04-14 15:10:11 | → | dyeplexer joins (~lol@unaffiliated/terpin) |
| 2021-04-14 15:14:06 | × | curlybangs quits (185a6b4e@cpe-24-90-107-78.nyc.res.rr.com) (Quit: Ping timeout (120 seconds)) |
| 2021-04-14 15:14:16 | → | star_cloud joins (~star_clou@ec2-34-220-44-120.us-west-2.compute.amazonaws.com) |
| 2021-04-14 15:14:56 | → | heatsink joins (~heatsink@108-201-191-115.lightspeed.sntcca.sbcglobal.net) |
| 2021-04-14 15:15:47 | → | lambdaman joins (~lambdaman@s66-183-152-156.bc.hsia.telus.net) |
| 2021-04-14 15:16:00 | × | dcbdan quits (~dcbdan@c-73-76-129-120.hsd1.tx.comcast.net) (Ping timeout: 268 seconds) |
| 2021-04-14 15:16:29 | × | chele quits (~chele@78.128.94.174) (Remote host closed the connection) |
| 2021-04-14 15:19:22 | × | heatsink quits (~heatsink@108-201-191-115.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 252 seconds) |
| 2021-04-14 15:19:58 | × | lambdaman quits (~lambdaman@s66-183-152-156.bc.hsia.telus.net) (Ping timeout: 240 seconds) |
| 2021-04-14 15:20:10 | ddellaco_ | is now known as ddellacosta_ |
| 2021-04-14 15:22:25 | → | heatsink joins (~heatsink@108-201-191-115.lightspeed.sntcca.sbcglobal.net) |
| 2021-04-14 15:22:39 | → | s00pcan joins (~chris@107.181.165.217) |
| 2021-04-14 15:26:45 | × | rj quits (~x@gateway/tor-sasl/rj) (Ping timeout: 240 seconds) |
| 2021-04-14 15:26:45 | × | dariof4 quits (~dario@5.11.121.66) (Ping timeout: 260 seconds) |
| 2021-04-14 15:29:36 | → | hexfive joins (~hexfive@50.35.83.177) |
| 2021-04-14 15:29:39 | → | kilolympus joins (~kilolympu@5.151.5.180) |
| 2021-04-14 15:31:02 | → | rj joins (~x@gateway/tor-sasl/rj) |
| 2021-04-14 15:32:02 | → | bienjensu joins (~bienjensu@unaffiliated/bienjensu) |
| 2021-04-14 15:33:10 | → | myShoggoth joins (~myShoggot@97-120-72-12.ptld.qwest.net) |
| 2021-04-14 15:33:33 | × | Unhammer quits (~Unhammer@gateway/tor-sasl/unhammer) (Ping timeout: 240 seconds) |
| 2021-04-14 15:35:06 | → | Unhammer joins (~Unhammer@gateway/tor-sasl/unhammer) |
| 2021-04-14 15:36:50 | → | LKoen joins (~LKoen@65.250.88.92.rev.sfr.net) |
| 2021-04-14 15:38:31 | × | nbloomf quits (~nbloomf@2600:1700:ad14:3020:49a9:cf03:7849:ab6b) (Quit: My MacBook has gone to sleep. ZZZzzz…) |
| 2021-04-14 15:40:57 | × | alias quits (790c93fc@121.12.147.252) (Quit: Connection closed) |
| 2021-04-14 15:41:19 | → | jamm_ joins (~jamm@unaffiliated/jamm) |
| 2021-04-14 15:41:32 | × | geekosaur quits (930099da@rrcs-147-0-153-218.central.biz.rr.com) (Quit: Connection closed) |
| 2021-04-14 15:41:51 | → | geekosaur joins (930099da@rrcs-147-0-153-218.central.biz.rr.com) |
| 2021-04-14 15:43:21 | → | nbloomf joins (~nbloomf@2600:1700:ad14:3020:49a9:cf03:7849:ab6b) |
| 2021-04-14 15:44:22 | → | falafel joins (~falafel@pool-96-255-70-50.washdc.fios.verizon.net) |
| 2021-04-14 15:48:03 | × | nbloomf quits (~nbloomf@2600:1700:ad14:3020:49a9:cf03:7849:ab6b) (Client Quit) |
| 2021-04-14 15:49:12 | → | dariof4 joins (~dario@5.11.121.66) |
| 2021-04-14 15:50:13 | × | jamm_ quits (~jamm@unaffiliated/jamm) (Remote host closed the connection) |
| 2021-04-14 15:50:26 | → | nbloomf joins (~nbloomf@2600:1700:ad14:3020:49a9:cf03:7849:ab6b) |
| 2021-04-14 15:50:56 | → | jamm_ joins (~jamm@unaffiliated/jamm) |
| 2021-04-14 15:52:23 | × | bienjensu quits (~bienjensu@unaffiliated/bienjensu) (Ping timeout: 268 seconds) |
| 2021-04-14 15:54:04 | → | rond_ joins (5940206b@89-64-32-107.dynamic.chello.pl) |
| 2021-04-14 15:55:14 | → | rmk236 joins (~lcampos@2a02:908:3616:b100:32db:6142:a17f:785a) |
| 2021-04-14 15:55:27 | × | jamm_ quits (~jamm@unaffiliated/jamm) (Ping timeout: 258 seconds) |
| 2021-04-14 15:56:34 | → | tzh joins (~tzh@c-24-21-73-154.hsd1.or.comcast.net) |
| 2021-04-14 15:57:05 | → | horatiohb joins (~horatiohb@104.236.208.44) |
| 2021-04-14 15:57:54 | → | ep1ctetus joins (~epictetus@ip72-194-54-201.sb.sd.cox.net) |
| 2021-04-14 15:59:08 | → | eacameron joins (uid256985@gateway/web/irccloud.com/x-rzlatralzulvgovn) |
| 2021-04-14 16:00:24 | × | falafel quits (~falafel@pool-96-255-70-50.washdc.fios.verizon.net) (Ping timeout: 252 seconds) |
| 2021-04-14 16:00:39 | → | Rudd0 joins (~Rudd0@185.189.115.103) |
| 2021-04-14 16:00:45 | × | geekosaur quits (930099da@rrcs-147-0-153-218.central.biz.rr.com) (Quit: Connection closed) |
| 2021-04-14 16:01:31 | → | geekosaur joins (930099da@rrcs-147-0-153-218.central.biz.rr.com) |
| 2021-04-14 16:03:19 | → | taleb_sabina joins (~taleb_sab@2601:285:100:6430::1) |
| 2021-04-14 16:03:41 | <taleb_sabina> | How can I have my ghci prompt output the type signature like it does on haskell.org? |
| 2021-04-14 16:05:28 | <geekosaur> | :t fmap -- this? |
| 2021-04-14 16:05:29 | <lambdabot> | Functor f => (a -> b) -> f a -> f b |
| 2021-04-14 16:05:51 | → | Tuplanolla joins (~Tuplanoll@91-159-68-239.elisa-laajakaista.fi) |
| 2021-04-14 16:06:02 | <thblt> | taleb_sabina: :set +t |
| 2021-04-14 16:06:37 | <geekosaur> | that was the other thing I was thinking of |
| 2021-04-14 16:07:15 | <taleb_sabina> | thblt, that looks like this: λ> 5 |
| 2021-04-14 16:07:15 | <taleb_sabina> | 5 |
| 2021-04-14 16:07:15 | <taleb_sabina> | it :: Num p => p |
| 2021-04-14 16:07:15 | <taleb_sabina> | while the website as λ 5 |
| 2021-04-14 16:07:15 | <taleb_sabina> | 5 |
| 2021-04-14 16:07:17 | <taleb_sabina> | :: Num a => a |
| 2021-04-14 16:07:30 | <taleb_sabina> | oops. Sorry about the spam. I forgot how to use IRCs |
| 2021-04-14 16:08:15 | <edwardk> | vfaronov: when you embedded the file with template haskell or whatever did you make sure to add a dependency on that file? |
| 2021-04-14 16:08:35 | <edwardk> | oh i just saw that you mentioned addDependentFile |
| 2021-04-14 16:09:14 | <edwardk> | and oooof. that kinda hurts re cabal i hadn't considered that part |
| 2021-04-14 16:10:08 | <thblt> | taleb_sabina: enter :set +t at the ghci prompt to get that effect |
| 2021-04-14 16:11:16 | → | waleee-cl joins (uid373333@gateway/web/irccloud.com/x-cwhemzwwgbboniwh) |
| 2021-04-14 16:11:38 | × | rond_ quits (5940206b@89-64-32-107.dynamic.chello.pl) (Quit: Connection closed) |
| 2021-04-14 16:11:56 | <taleb_sabina> | thblt, I don't want to have the signature on a separate line. Like haskell.org, it's the result followed by the type sigature. For example: `5 :: Num p => p` rather than `5 \n it :: Num p => p`. Does that make sense? |
| 2021-04-14 16:11:57 | × | rj quits (~x@gateway/tor-sasl/rj) (Ping timeout: 240 seconds) |
| 2021-04-14 16:12:37 | → | ram19890 joins (~ram@49.207.130.109) |
| 2021-04-14 16:12:48 | <sm[m]> | g'day all. lookupEnv reads the environment variables as they were at program startup, am I right ? |
| 2021-04-14 16:13:17 | <sm[m]> | I don't think there's a way to alter the env vars seen by a program while it's running, from outside the program |
| 2021-04-14 16:14:56 | → | rj joins (~x@gateway/tor-sasl/rj) |
| 2021-04-14 16:15:23 | × | vfaronov quits (~Srain@broadband-95-84-210-78.ip.moscow.rt.ru) (Remote host closed the connection) |
| 2021-04-14 16:15:58 | → | slack1256 joins (~slack1256@191.113.234.51) |
| 2021-04-14 16:16:08 | <geekosaur> | there is not |
| 2021-04-14 16:16:11 | × | wroathe quits (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) (Ping timeout: 240 seconds) |
| 2021-04-14 16:16:23 | <geekosaur> | and couldn't be, as they are implemented |
| 2021-04-14 16:17:32 | <sm[m]> | cool. Context: I'm using unsafePerformIO to check whether NO_COLOR is defined, whether --color=X was used on command line, and whether stdout (or stderr) support ANSI color |
| 2021-04-14 16:17:47 | <sm[m]> | which I think is safe and reliable enough |
| 2021-04-14 16:18:01 | <geekosaur> | well, hypothetically you could use a debugger to pause the program and edit its memory image, but then you have to deal with e.g. caching (for example time-related stuff calls tzset() once and uses what's computed for the life of the program, never looking at $TZ again) |
| 2021-04-14 16:19:06 | → | nut joins (~user@roc37-h01-176-170-197-243.dsl.sta.abo.bbox.fr) |
| 2021-04-14 16:19:24 | → | gitgood joins (~gitgood@80-44-9-246.dynamic.dsl.as9105.com) |
| 2021-04-14 16:19:57 | × | kritzefitz quits (~kritzefit@2003:5b:203b:200::10:49) (Remote host closed the connection) |
| 2021-04-14 16:20:08 | <sm[m]> | nice example: https://unix.stackexchange.com/a/38212 |
| 2021-04-14 16:20:41 | ski | . o O ( PCLSRing <http://fare.tunes.org/tmp/emergent/pclsr.htm>,<https://existentialtype.wordpress.com/2016/07/11/pclsring-in-semantics/> ) |
| 2021-04-14 16:20:50 | → | lambdaman joins (~lambdaman@s66-183-152-156.bc.hsia.telus.net) |
| 2021-04-14 16:21:38 | → | wroathe joins (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) |
| 2021-04-14 16:22:30 | → | jamm_ joins (~jamm@unaffiliated/jamm) |
| 2021-04-14 16:24:01 | × | st8less quits (~st8less@2603:a060:11fd::bf1) (Ping timeout: 250 seconds) |
| 2021-04-14 16:25:58 | → | st8less joins (~st8less@inet-167-224-197-181.isp.ozarksgo.net) |
All times are in UTC.