Logs: freenode/#haskell
| 2020-10-01 16:03:55 | × | chappi quits (~swaroop@157.49.85.251) (Client Quit) |
| 2020-10-01 16:03:56 | <davean> | AWizzArd: it would be used and it should be the first line. |
| 2020-10-01 16:04:10 | <davean> | AWizzArd: it tells Cabal what file format the file is in |
| 2020-10-01 16:04:28 | hackage | rerebase 1.10 - Reexports from "base" with a bunch of other standard libraries https://hackage.haskell.org/package/rerebase-1.10 (NikitaVolkov) |
| 2020-10-01 16:04:41 | → | chappi joins (~swaroop@157.49.85.251) |
| 2020-10-01 16:04:56 | <monochrom> | https://cabal.readthedocs.io/en/3.4/file-format-changelog.html#cabal-version-2-2 So any number from 2.2 or higher is fine. |
| 2020-10-01 16:05:19 | × | chappi quits (~swaroop@157.49.85.251) (Client Quit) |
| 2020-10-01 16:05:41 | → | chappi joins (~swaroop@157.49.85.251) |
| 2020-10-01 16:05:56 | <AWizzArd> | And instead of using >= I would specify the exact Cabal version that is being used, for example 3.2, right? |
| 2020-10-01 16:06:11 | <monochrom> | yes |
| 2020-10-01 16:06:24 | × | heatsink quits (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) (Remote host closed the connection) |
| 2020-10-01 16:06:47 | <AWizzArd> | Right now, in a Nix project where I am using an older Cabal version, I need to prefix my commands with `new-`. Is this different in 3.2? Can I there omit that prefix? |
| 2020-10-01 16:07:03 | <monochrom> | Yes |
| 2020-10-01 16:07:59 | × | coot quits (~coot@37.30.49.34.nat.umts.dynamic.t-mobile.pl) (Quit: coot) |
| 2020-10-01 16:08:47 | × | tzh quits (~tzh@c-73-94-222-143.hsd1.mn.comcast.net) (Remote host closed the connection) |
| 2020-10-01 16:09:12 | → | tzh joins (~tzh@2601:448:c500:5300::143b) |
| 2020-10-01 16:09:32 | → | wroathe joins (~wroathe@c-73-24-27-54.hsd1.mn.comcast.net) |
| 2020-10-01 16:09:57 | hackage | brick 0.57 - A declarative terminal user interface library https://hackage.haskell.org/package/brick-0.57 (JonathanDaugherty) |
| 2020-10-01 16:10:22 | × | conal quits (~conal@64.71.133.70) (Quit: Computer has gone to sleep.) |
| 2020-10-01 16:15:20 | <maerwald> | phadej: stack has a "$targets" thing for ghc-options... the closes cabal has is local packages I think. Is there a way in cabal.project to have stuff apply only for targets? |
| 2020-10-01 16:15:42 | <maerwald> | https://docs.haskellstack.org/en/stable/yaml_configuration/#ghc-options |
| 2020-10-01 16:16:26 | <maerwald> | top-level in cabal is "locals" afair... except that ghc-options currently can't be top-level |
| 2020-10-01 16:16:28 | hackage | string-interpolate 0.3.0.2 - Haskell string/text/bytestring interpolation that just works https://hackage.haskell.org/package/string-interpolate-0.3.0.2 (williamyaoh) |
| 2020-10-01 16:17:37 | → | conal joins (~conal@64.71.133.70) |
| 2020-10-01 16:19:58 | hackage | polysemy-time 0.1.0.0 - Polysemy effect for time https://hackage.haskell.org/package/polysemy-time-0.1.0.0 (tek) |
| 2020-10-01 16:20:58 | hackage | polysemy-chronos 0.1.0.0 - Polysemy effect for chronos https://hackage.haskell.org/package/polysemy-chronos-0.1.0.0 (tek) |
| 2020-10-01 16:21:16 | → | merijn joins (~merijn@83-160-49-249.ip.xs4all.nl) |
| 2020-10-01 16:21:20 | <monochrom> | maerwald: In cabal.project and/or cabal.project.local, you can name individual packages and give them tailor-made ghc-options. |
| 2020-10-01 16:21:42 | <maerwald> | yes, but that doesn't give me *targets* |
| 2020-10-01 16:22:03 | <maerwald> | context https://github.com/hasufell/stack2cabal/pull/13 |
| 2020-10-01 16:22:12 | <monochrom> | Right, you have to manually expand "targets" to package names and also duplicate. |
| 2020-10-01 16:22:15 | <monochrom> | https://cabal.readthedocs.io/en/3.4/cabal-project.html |
| 2020-10-01 16:22:45 | <maerwald> | the problem is that it's not statically known info |
| 2020-10-01 16:23:08 | <monochrom> | Ah OK, cabal does not have an equivalent. |
| 2020-10-01 16:23:26 | → | geekosaur joins (42d52102@66.213.33.2) |
| 2020-10-01 16:23:58 | hackage | quickjs-hs 0.1.2.2 - Wrapper for the QuickJS Javascript Engine https://hackage.haskell.org/package/quickjs-hs-0.1.2.2 (goodlyrottenapple) |
| 2020-10-01 16:26:34 | × | merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 260 seconds) |
| 2020-10-01 16:26:46 | <monochrom> | If you are OK with writing --ghc-options on the command line, then it applies to all local packages. |
| 2020-10-01 16:26:59 | × | alp quits (~alp@2a01:e0a:58b:4920:a0d1:174f:c86a:a9d0) (Ping timeout: 272 seconds) |
| 2020-10-01 16:27:28 | <maerwald> | I just don't know how to convert this stack-ism to cabal |
| 2020-10-01 16:27:38 | × | roconnor quits (~roconnor@host-104-157-196-197.dyn.295.ca) (Ping timeout: 260 seconds) |
| 2020-10-01 16:27:51 | <monochrom> | I think it isn't convertable. |
| 2020-10-01 16:29:10 | → | mirrorbird joins (~psutcliff@2a00:801:42a:82eb:6edc:4c78:a574:2a8f) |
| 2020-10-01 16:30:50 | → | borne joins (~fritjof@200116b864e6dd0007933c164a08810c.dip.versatel-1u1.de) |
| 2020-10-01 16:31:38 | → | bobey88 joins (~bobey@72-172-218-188.fidnet.com) |
| 2020-10-01 16:33:46 | → | Lycurgus joins (~niemand@98.4.96.130) |
| 2020-10-01 16:35:11 | → | heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) |
| 2020-10-01 16:40:25 | × | snakemasterflex quits (~snakemast@213.100.206.23) (Ping timeout: 264 seconds) |
| 2020-10-01 16:42:57 | → | Gurkenglas joins (~Gurkengla@unaffiliated/gurkenglas) |
| 2020-10-01 16:44:16 | <AWizzArd> | What might this `%` be in `manage p $ formatQuery ("CREATE DATABASE "%F.database) db` as seen here: https://hackage.haskell.org/package/influxdb-1.9.0/docs/Database-InfluxDB.html |
| 2020-10-01 16:44:25 | <AWizzArd> | Could this have anything to do with Lens? |
| 2020-10-01 16:44:40 | × | conal quits (~conal@64.71.133.70) (Quit: Computer has gone to sleep.) |
| 2020-10-01 16:46:20 | <yushyin> | https://hackage.haskell.org/package/influxdb-1.9.0/docs/Database-InfluxDB-Format.html#v:-37- |
| 2020-10-01 16:46:24 | × | Franciman quits (~francesco@host-212-171-42-250.retail.telecomitalia.it) (Quit: Leaving) |
| 2020-10-01 16:46:52 | → | thir joins (~thir@p200300f27f0fc60004d129737887aa72.dip0.t-ipconnect.de) |
| 2020-10-01 16:47:57 | <AWizzArd> | yushyin: but wasn’t this Module get imported via import qualified Database.InfluxDB.Format as F ? |
| 2020-10-01 16:48:07 | <AWizzArd> | So the % would have to get qualified with `F.` no? |
| 2020-10-01 16:48:56 | <geekosaur> | it's in a string |
| 2020-10-01 16:49:23 | <AWizzArd> | geekosaur: The String ends directly beforet he % char |
| 2020-10-01 16:49:36 | <AWizzArd> | There is no space after the closing double quote. |
| 2020-10-01 16:49:40 | <geekosaur> | hm, right, my client wraps right there so I missed it |
| 2020-10-01 16:49:44 | × | thir quits (~thir@p200300f27f0fc60004d129737887aa72.dip0.t-ipconnect.de) (Remote host closed the connection) |
| 2020-10-01 16:49:51 | → | thir joins (~thir@p200300f27f0fc60004d129737887aa72.dip0.t-ipconnect.de) |
| 2020-10-01 16:49:55 | <yushyin> | AWizzArd: Database.InfluxDB reexports (%) |
| 2020-10-01 16:49:58 | → | snakemasterflex joins (~snakemast@213.100.206.23) |
| 2020-10-01 16:50:02 | × | avdb quits (~avdb@ip-62-235-13-127.dsl.scarlet.be) (Quit: WeeChat 2.9) |
| 2020-10-01 16:50:57 | × | cheater quits (~user@unaffiliated/cheater) (Remote host closed the connection) |
| 2020-10-01 16:51:02 | <yushyin> | https://hackage.haskell.org/package/influxdb-1.9.0/docs/Database-InfluxDB.html#v:-37- |
| 2020-10-01 16:51:09 | × | carlomagno1 quits (~cararell@inet-hqmc02-o.oracle.com) (Remote host closed the connection) |
| 2020-10-01 16:51:33 | <AWizzArd> | yushyin: okay that makes sense then, thx. Mystery solved (: |
| 2020-10-01 16:51:58 | <yushyin> | :) |
| 2020-10-01 16:52:40 | → | cheater joins (~user@unaffiliated/cheater) |
| 2020-10-01 16:54:37 | mmynsted[m] | is now known as texasmynsted[m] |
| 2020-10-01 16:54:39 | → | carlomagno joins (~cararell@inet-hqmc02-o.oracle.com) |
| 2020-10-01 16:56:06 | × | nineonine quits (~nineonine@216-19-190-182.dyn.novuscom.net) (Remote host closed the connection) |
| 2020-10-01 16:57:05 | <monochrom> | (: XQuery comments are enclosed in matching smileys :) |
| 2020-10-01 16:58:25 | → | conal joins (~conal@64.71.133.70) |
| 2020-10-01 16:58:55 | × | Silox|_ quits (uid11617@gateway/web/irccloud.com/x-gmrlywdstkzjmwkt) (Quit: Connection closed for inactivity) |
| 2020-10-01 16:59:17 | → | madjestic joins (~madjestic@86-88-72-244.fixed.kpn.net) |
| 2020-10-01 16:59:43 | → | merijn joins (~merijn@83-160-49-249.ip.xs4all.nl) |
| 2020-10-01 17:00:46 | <AWizzArd> | haha yes |
| 2020-10-01 17:02:30 | × | heatsink quits (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) (Remote host closed the connection) |
| 2020-10-01 17:03:47 | → | nineonine joins (~nineonine@216.81.48.202) |
| 2020-10-01 17:04:02 | <Squarism> | I'm pondering the possibility to serialize addresses to a datastructure. A lens if you will. Are there any library doing such things?ä |
| 2020-10-01 17:04:24 | × | thir quits (~thir@p200300f27f0fc60004d129737887aa72.dip0.t-ipconnect.de) (Remote host closed the connection) |
| 2020-10-01 17:04:50 | → | thir joins (~thir@p200300f27f0fc60004d129737887aa72.dip0.t-ipconnect.de) |
| 2020-10-01 17:04:58 | <Squarism> | lev0_field1/1/lev3_field2 so to speak |
| 2020-10-01 17:05:50 | × | zacts quits (~zacts@dragora/developer/zacts) (Quit: leaving) |
| 2020-10-01 17:05:58 | hackage | squeal-postgresql 0.7.0.1 - Squeal PostgreSQL Library https://hackage.haskell.org/package/squeal-postgresql-0.7.0.1 (echatav) |
| 2020-10-01 17:05:58 | × | voyons_calisse quits (~dan@107-190-41-58.cpe.teksavvy.com) (Read error: Connection reset by peer) |
| 2020-10-01 17:05:59 | <Squarism> | but the important thing is that it should be possible to convert to a string |
| 2020-10-01 17:06:08 | <Squarism> | ...and back |
| 2020-10-01 17:06:35 | → | voyons_calisse joins (~dan@107-190-41-58.cpe.teksavvy.com) |
| 2020-10-01 17:07:41 | × | nineonine quits (~nineonine@216.81.48.202) (Remote host closed the connection) |
| 2020-10-01 17:07:57 | → | nineonine joins (~nineonine@216.81.48.202) |
| 2020-10-01 17:08:23 | × | Lycurgus quits (~niemand@98.4.96.130) (Quit: Exeunt) |
| 2020-10-01 17:08:23 | × | gentauro quits (~gentauro@unaffiliated/gentauro) (Read error: Connection reset by peer) |
| 2020-10-01 17:08:48 | → | gentauro joins (~gentauro@unaffiliated/gentauro) |
| 2020-10-01 17:08:52 | → | Lycurgus joins (~niemand@98.4.96.130) |
| 2020-10-01 17:09:08 | → | Turmfalke joins (~user@unaffiliated/siracusa) |
All times are in UTC.