Logs: freenode/#haskell
| 2021-04-02 12:05:11 | × | royal_screwup21 quits (52254809@gateway/web/cgi-irc/kiwiirc.com/ip.82.37.72.9) (Ping timeout: 240 seconds) |
| 2021-04-02 12:05:16 | → | slack1256 joins (~slack1256@dvc-186-186-101-190.movil.vtr.net) |
| 2021-04-02 12:05:45 | → | geekosaur joins (82650c7a@130.101.12.122) |
| 2021-04-02 12:06:06 | × | Guest_1 quits (50e9336c@80.233.51.108) (Quit: Connection closed) |
| 2021-04-02 12:07:06 | <siers> | I have noticed this tendency for functions to become singular, i.e. traverses/folds to move out of the top level of definition of functions... |
| 2021-04-02 12:10:09 | → | vilpan joins (~0@212.117.1.172) |
| 2021-04-02 12:10:09 | → | Franciman joins (~francesco@host-87-20-23-243.retail.telecomitalia.it) |
| 2021-04-02 12:10:59 | → | v01d4lph4 joins (~v01d4lph4@223.190.20.92) |
| 2021-04-02 12:11:40 | → | heatsink joins (~heatsink@108-201-191-115.lightspeed.sntcca.sbcglobal.net) |
| 2021-04-02 12:12:53 | → | frozenErebus joins (~frozenEre@37.231.244.249) |
| 2021-04-02 12:13:46 | × | gnumonic quits (~gnumonic@c-73-170-91-210.hsd1.ca.comcast.net) (Ping timeout: 260 seconds) |
| 2021-04-02 12:14:04 | → | codygman` joins (~user@209.251.131.98) |
| 2021-04-02 12:15:32 | → | dincio joins (~dincio@5.170.24.21) |
| 2021-04-02 12:16:11 | × | heatsink quits (~heatsink@108-201-191-115.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 240 seconds) |
| 2021-04-02 12:16:38 | <dincio> | q |
| 2021-04-02 12:16:41 | × | dincio quits (~dincio@5.170.24.21) (Client Quit) |
| 2021-04-02 12:16:57 | → | dincio joins (~dincio@5.170.24.21) |
| 2021-04-02 12:17:19 | × | dincio quits (~dincio@5.170.24.21) (Client Quit) |
| 2021-04-02 12:17:50 | × | frozenErebus quits (~frozenEre@37.231.244.249) (Ping timeout: 265 seconds) |
| 2021-04-02 12:17:56 | → | idhugo joins (~idhugo@87-49-147-45-mobile.dk.customer.tdc.net) |
| 2021-04-02 12:19:11 | × | stree quits (~stree@68.36.8.116) (Ping timeout: 240 seconds) |
| 2021-04-02 12:19:47 | <peanut_> | error: Variable not in scope: q |
| 2021-04-02 12:21:14 | × | v01d4lph4 quits (~v01d4lph4@223.190.20.92) (Ping timeout: 246 seconds) |
| 2021-04-02 12:21:27 | <xsperry> | + |
| 2021-04-02 12:21:27 | <xsperry> | + |
| 2021-04-02 12:21:27 | <xsperry> | + |
| 2021-04-02 12:21:27 | <xsperry> | + |
| 2021-04-02 12:21:27 | <xsperry> | + |
| 2021-04-02 12:21:27 | <xsperry> | + |
| 2021-04-02 12:21:27 | <xsperry> | + |
| 2021-04-02 12:21:28 | <xsperry> | + |
| 2021-04-02 12:22:23 | <geekosaur> | adding a bunch of blank lines? |
| 2021-04-02 12:22:58 | <peanut_> | error: parse error on input ‘+’ |
| 2021-04-02 12:23:10 | <peanut_> | 🤔 |
| 2021-04-02 12:23:36 | → | solvr joins (57e3c46d@87.227.196.109) |
| 2021-04-02 12:23:41 | → | Achylles joins (~Achylles@2804:431:d725:7a65:e4bb:fb4:b1ea:8d3b) |
| 2021-04-02 12:24:02 | <[exa]> | what an additive contribution |
| 2021-04-02 12:24:41 | × | raehik quits (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net) (Ping timeout: 240 seconds) |
| 2021-04-02 12:26:56 | → | raehik joins (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net) |
| 2021-04-02 12:26:56 | <peanut_> | that just about sums it up |
| 2021-04-02 12:27:06 | <ADG1089> | how can I include profiling libraries to this command: `stack ghc -- -outputdir bin -o test src/test.hs -prof -fprof-auto -isrc/util -threaded -O2 -fllvm -fwarn-tabs -Wall -Wno-type-defaults -Wno-incomplete-patterns -Wno-missing-signatures -Wno-name-shadowing -main-is Test` |
| 2021-04-02 12:27:49 | <merijn> | ADG1089: Why use "stack ghc" rather than building with stack? |
| 2021-04-02 12:28:07 | → | machinedgod joins (~machinedg@24.105.81.50) |
| 2021-04-02 12:28:35 | <geekosaur> | it should be automatic since you specified -prof. but it won't build profiling libraries for any dependencies because you're going behind stack's back |
| 2021-04-02 12:28:54 | <ADG1089> | stack/cabal are not suitable for my project that's why I am using ghc directly |
| 2021-04-02 12:29:10 | <merijn> | ADG1089: Then you will have to build profiling libraries manually too |
| 2021-04-02 12:29:12 | <ADG1089> | I tries installing using `cabal install --reinstall -p --enable-library-profiling xyz-1.2.3` |
| 2021-04-02 12:29:25 | → | Pickchea joins (~private@unaffiliated/pickchea) |
| 2021-04-02 12:29:25 | <ADG1089> | yeah what steps to follow for that merijn? |
| 2021-04-02 12:29:37 | <merijn> | ADG1089: If you have cabal 3.x that's not going to work |
| 2021-04-02 12:29:44 | <ADG1089> | but stack wasn't able to detect those |
| 2021-04-02 12:29:53 | <merijn> | ADG1089: No clue, because that's a massive pain, so I haven't done that in 10 years |
| 2021-04-02 12:31:07 | → | frozenErebus joins (~frozenEre@37.231.244.249) |
| 2021-04-02 12:31:36 | <geekosaur> | something similar but with stack install. don't need anything like --reinstall though |
| 2021-04-02 12:31:48 | <geekosaur> | I don't know what options stack uses to specify a profiling build |
| 2021-04-02 12:32:20 | <ADG1089> | tried using `stack build --profile` but `stack ghc` also couldn't detect those |
| 2021-04-02 12:32:45 | → | stree joins (~stree@68.36.8.116) |
| 2021-04-02 12:33:48 | <merijn> | Because ghc just uses the global package database which will probably be empty |
| 2021-04-02 12:34:02 | × | solvr quits (57e3c46d@87.227.196.109) (Quit: Connection closed) |
| 2021-04-02 12:34:08 | <merijn> | cabal-install and stack maintain their own internal package databases that they selectively expose to GHC |
| 2021-04-02 12:34:32 | → | fosterite joins (~fosterite@2600:6c46:7800:fecf:3809:4508:89fd:f03b) |
| 2021-04-02 12:34:38 | <ADG1089> | maybe i can select package-env using cabal flags |
| 2021-04-02 12:35:17 | <merijn> | Why can't you just use cabal/stack for this? |
| 2021-04-02 12:35:26 | × | Major_Biscuit quits (~Major_Bis@82-169-100-198.biz.kpn.net) (Ping timeout: 240 seconds) |
| 2021-04-02 12:35:31 | <geekosaur> | I think there's a --package option to expose specific packages |
| 2021-04-02 12:35:32 | → | royal_screwup21 joins (52254809@gateway/web/cgi-irc/kiwiirc.com/ip.82.37.72.9) |
| 2021-04-02 12:35:55 | × | frozenErebus quits (~frozenEre@37.231.244.249) (Ping timeout: 252 seconds) |
| 2021-04-02 12:36:04 | <geekosaur> | don';t try to mix cabal and stack, they don't play together (they're both trying to manipulate what ghc can see and will interfere with each other) |
| 2021-04-02 12:36:17 | × | slack1256 quits (~slack1256@dvc-186-186-101-190.movil.vtr.net) (Remote host closed the connection) |
| 2021-04-02 12:36:18 | → | nbloomf joins (~nbloomf@2600:1700:ad14:3020:19ea:b9f5:eddc:3033) |
| 2021-04-02 12:36:48 | × | nbloomf quits (~nbloomf@2600:1700:ad14:3020:19ea:b9f5:eddc:3033) (Client Quit) |
| 2021-04-02 12:37:35 | <ADG1089> | merijn: https://github.com/haskell/cabal/issues/7325 and also working with 100s of executables is a mess with cabal and stack |
| 2021-04-02 12:37:57 | → | LKoen joins (~LKoen@65.250.88.92.rev.sfr.net) |
| 2021-04-02 12:38:09 | <ADG1089> | a makefile is easier to build using globbing |
| 2021-04-02 12:38:13 | → | haritz joins (~hrtz@2a02:8010:65b5:0:6009:6384:e3cb:2220) |
| 2021-04-02 12:38:13 | × | haritz quits (~hrtz@2a02:8010:65b5:0:6009:6384:e3cb:2220) (Changing host) |
| 2021-04-02 12:38:13 | → | haritz joins (~hrtz@unaffiliated/haritz) |
| 2021-04-02 12:38:18 | <ADG1089> | until cabal/stack start supporting this |
| 2021-04-02 12:38:32 | <merijn> | ADG1089: As commented by fgaz that's not "not working" |
| 2021-04-02 12:38:42 | <merijn> | The output is just slightly confusing for what it's doing |
| 2021-04-02 12:39:04 | <ADG1089> | but it's building all executables when I only want one. |
| 2021-04-02 12:39:14 | × | s00pcan quits (~chris@075-133-056-178.res.spectrum.com) (Remote host closed the connection) |
| 2021-04-02 12:39:17 | × | fosterite quits (~fosterite@2600:6c46:7800:fecf:3809:4508:89fd:f03b) (Ping timeout: 258 seconds) |
| 2021-04-02 12:39:30 | <geekosaur> | you can tell both to only build one |
| 2021-04-02 12:39:32 | <ADG1089> | and it's problematic to write out 100-200s of executables in either euler.cabal or stack.yaml |
| 2021-04-02 12:39:44 | <merijn> | Ah, you can't install single executables, no |
| 2021-04-02 12:39:46 | <geekosaur> | for cabal, the syntax is something like exe:foo |
| 2021-04-02 12:39:50 | <merijn> | geekosaur: You can, but he's using install |
| 2021-04-02 12:40:00 | <merijn> | And you can't install single components |
| 2021-04-02 12:40:01 | <geekosaur> | cabal install exe:foo works fine |
| 2021-04-02 12:40:07 | <merijn> | geekosaur: It does? |
| 2021-04-02 12:40:10 | <geekosaur> | I use it |
| 2021-04-02 12:40:13 | <ADG1089> | have attached the output it build both for me |
| 2021-04-02 12:41:08 | <ADG1089> | s/both/all binaries/ |
| 2021-04-02 12:43:19 | → | heatsink joins (~heatsink@108-201-191-115.lightspeed.sntcca.sbcglobal.net) |
| 2021-04-02 12:44:41 | × | mkDoku quits (~TheMule@aftr-37-201-195-134.unity-media.net) (Ping timeout: 240 seconds) |
| 2021-04-02 12:45:05 | × | idhugo quits (~idhugo@87-49-147-45-mobile.dk.customer.tdc.net) (Ping timeout: 252 seconds) |
| 2021-04-02 12:46:04 | → | CaptainIRS joins (9d3385f2@157.51.133.242) |
| 2021-04-02 12:46:44 | → | ajc joins (~ajc@69.231.232.79) |
| 2021-04-02 12:47:24 | <geekosaur> | in any case, if you're going to micromanage everything anyway, I'd recommend ditching stack and using ghcup to install ghc directly |
All times are in UTC.