Logs: freenode/#haskell
| 2020-10-20 17:58:16 | tomsmeding | neither |
| 2020-10-20 17:58:18 | × | GyroW quits (~GyroW@unaffiliated/gyrow) (Remote host closed the connection) |
| 2020-10-20 17:58:35 | → | GyroW joins (~GyroW@ptr-48ujrfd1ztq5fjywfw3.18120a2.ip6.access.telenet.be) |
| 2020-10-20 17:58:35 | × | GyroW quits (~GyroW@ptr-48ujrfd1ztq5fjywfw3.18120a2.ip6.access.telenet.be) (Changing host) |
| 2020-10-20 17:58:35 | → | GyroW joins (~GyroW@unaffiliated/gyrow) |
| 2020-10-20 18:00:01 | × | grafa quits (~grafa@185.163.110.116) () |
| 2020-10-20 18:02:01 | → | geekosaur joins (ac3a3b11@172.58.59.17) |
| 2020-10-20 18:04:42 | × | brettgilio_ quits (~brettgili@brettgilio.com) (Quit: Long live IRC! <https://brettgilio.com>) |
| 2020-10-20 18:04:44 | × | christo quits (~chris@81.96.113.213) (Remote host closed the connection) |
| 2020-10-20 18:08:49 | → | thir joins (~thir@p200300f27f0b040039cda3b6fce8e5af.dip0.t-ipconnect.de) |
| 2020-10-20 18:09:52 | → | brettgilio joins (~brettgili@brettgilio.com) |
| 2020-10-20 18:10:31 | → | ryjm_matrix joins (~matrixirc@2600:4040:a009:6100:3adc:615b:70b5:b0c) |
| 2020-10-20 18:11:58 | → | invaser joins (~Thunderbi@31.148.23.125) |
| 2020-10-20 18:12:30 | × | wroathe quits (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) (Ping timeout: 256 seconds) |
| 2020-10-20 18:14:56 | × | evanjs quits (~evanjs@075-129-188-019.res.spectrum.com) (Quit: ZNC 1.8.1 - https://znc.in) |
| 2020-10-20 18:15:23 | → | conal joins (~conal@64.71.133.70) |
| 2020-10-20 18:16:09 | → | evanjs joins (~evanjs@075-129-188-019.res.spectrum.com) |
| 2020-10-20 18:16:18 | × | falafel quits (~falafel@71-34-132-121.clsp.qwest.net) (Ping timeout: 256 seconds) |
| 2020-10-20 18:18:10 | × | conal quits (~conal@64.71.133.70) (Client Quit) |
| 2020-10-20 18:18:23 | → | christo joins (~chris@81.96.113.213) |
| 2020-10-20 18:20:28 | → | conal joins (~conal@64.71.133.70) |
| 2020-10-20 18:20:51 | × | conal quits (~conal@64.71.133.70) (Client Quit) |
| 2020-10-20 18:20:55 | → | frdg joins (47b88ff9@pool-71-184-143-249.bstnma.fios.verizon.net) |
| 2020-10-20 18:21:24 | → | conal joins (~conal@64.71.133.70) |
| 2020-10-20 18:21:39 | × | conal quits (~conal@64.71.133.70) (Client Quit) |
| 2020-10-20 18:21:43 | → | chaosmasttter joins (~chaosmast@p200300c4a70942019022135e51598bcd.dip0.t-ipconnect.de) |
| 2020-10-20 18:21:54 | <frdg> | is `monotonicity` a relevant concept in Haskell? |
| 2020-10-20 18:22:25 | <monochrom> | Depends on context. But probably yes. |
| 2020-10-20 18:23:05 | <monochrom> | Depends on context, but monotonicity could be relevant to all computing. All computable functions are monotonic. |
| 2020-10-20 18:23:28 | hackage | versions 4.0.0 - Types and parsers for software version numbers. https://hackage.haskell.org/package/versions-4.0.0 (fosskers) |
| 2020-10-20 18:23:31 | <frdg> | The context I am thinking of is if I can benefit by ensuring all of my functions are monotonic. |
| 2020-10-20 18:23:56 | <frdg> | or does Haskell ensure that implicitly? |
| 2020-10-20 18:23:58 | <koz_> | frdg: mapMonotonic et al in Data.Map maybe? |
| 2020-10-20 18:24:06 | <monochrom> | The context determines which "monotonic" we're talking about. |
| 2020-10-20 18:24:11 | <koz_> | I don't think Haskell can ensure something like monotonicity. |
| 2020-10-20 18:24:19 | <koz_> | (of any stripe) |
| 2020-10-20 18:24:41 | <monochrom> | In other words, which partial order you have in mind. |
| 2020-10-20 18:24:58 | × | tromp quits (~tromp@dhcp-077-249-230-040.chello.nl) (Remote host closed the connection) |
| 2020-10-20 18:25:05 | <frdg> | I know of monotonicity through learning Prolog |
| 2020-10-20 18:25:11 | → | tromp joins (~tromp@dhcp-077-249-230-040.chello.nl) |
| 2020-10-20 18:25:24 | × | shafox quits (~shafox@106.51.234.111) (Remote host closed the connection) |
| 2020-10-20 18:25:26 | <frdg> | so whatever the context is in Prolog I guess. |
| 2020-10-20 18:25:26 | <koz_> | Wait, are we talking about monotonicity of entailment? |
| 2020-10-20 18:25:49 | <frdg> | koz_: yes just found that |
| 2020-10-20 18:25:50 | <monochrom> | https://en.wikibooks.org/wiki/Haskell/Denotational_semantics |
| 2020-10-20 18:26:13 | × | geekosaur quits (ac3a3b11@172.58.59.17) (Remote host closed the connection) |
| 2020-10-20 18:26:14 | <frdg> | Ill read this |
| 2020-10-20 18:26:36 | <monochrom> | I don't know Prolog's monotonicity of entailment. |
| 2020-10-20 18:27:00 | <monochrom> | TLDR ctrl-f for "semantic approximation order" |
| 2020-10-20 18:27:00 | → | shafox joins (~shafox@106.51.234.111) |
| 2020-10-20 18:27:00 | <koz_> | monochrom: It's a property of some logics. |
| 2020-10-20 18:27:18 | × | shafox quits (~shafox@106.51.234.111) (Remote host closed the connection) |
| 2020-10-20 18:27:24 | <dolio> | Naturally computable functions are monotone with respect to a specific partial order, not every possible partial order. |
| 2020-10-20 18:27:28 | hackage | lp-diagrams 2.1.3 - An EDSL for diagrams based based on linear constraints https://hackage.haskell.org/package/lp-diagrams-2.1.3 (JeanPhilippeBernardy) |
| 2020-10-20 18:27:30 | <frdg> | This post has a nice answer: https://stackoverflow.com/questions/43314658/what-are-the-requirements-a-computer-function-must-meet-to-be-considered-monoto |
| 2020-10-20 18:27:37 | <dolio> | Some of which may disagree with each other. :) |
| 2020-10-20 18:28:24 | → | shafox joins (~shafox@106.51.234.111) |
| 2020-10-20 18:28:36 | → | conal joins (~conal@64.71.133.70) |
| 2020-10-20 18:29:25 | × | thc202 quits (~thc202@unaffiliated/thc202) (Ping timeout: 240 seconds) |
| 2020-10-20 18:29:54 | × | conal quits (~conal@64.71.133.70) (Client Quit) |
| 2020-10-20 18:29:54 | → | elliott__ joins (~elliott@pool-108-51-141-12.washdc.fios.verizon.net) |
| 2020-10-20 18:30:13 | × | taurux quits (~taurux@net-188-152-14-24.cust.vodafonedsl.it) (Read error: Connection reset by peer) |
| 2020-10-20 18:30:27 | <tomsmeding> | frdg: the monotonicity of entailment as described in that SO answer is specific to logical derivation; what would you then mean with "ensuring all of my functions are monotonic" in haskell? |
| 2020-10-20 18:30:28 | hackage | gasp 1.3.0.0 - A framework of algebraic classes https://hackage.haskell.org/package/gasp-1.3.0.0 (JeanPhilippeBernardy) |
| 2020-10-20 18:30:51 | → | taurux joins (~taurux@net-109-115-33-227.cust.vodafonedsl.it) |
| 2020-10-20 18:31:06 | × | shafox quits (~shafox@106.51.234.111) (Remote host closed the connection) |
| 2020-10-20 18:31:36 | <frdg> | tomsmeding: that question doesn't make sense does it? |
| 2020-10-20 18:31:38 | → | shafox joins (~shafox@106.51.234.111) |
| 2020-10-20 18:31:54 | <monochrom> | It makes sense iff you can give examples and counterexamples. |
| 2020-10-20 18:32:32 | <tomsmeding> | in other words: strictly that definition of monotonicity doesn't really apply, but that doesn't mean there is not another definition that you have in mind that _is_ relevant :) |
| 2020-10-20 18:34:47 | <frdg> | say you had a pipeline of composed functions. A function could be "monotonic" if it's addition to the pipeline restricts the size of the codomain. If it enlarges the size then it is not monotonic. |
| 2020-10-20 18:35:05 | × | taurux quits (~taurux@net-109-115-33-227.cust.vodafonedsl.it) (Ping timeout: 240 seconds) |
| 2020-10-20 18:36:02 | → | alp joins (~alp@2a01:e0a:58b:4920:b909:f1ee:7d69:ad6b) |
| 2020-10-20 18:36:09 | × | heatsink quits (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) (Remote host closed the connection) |
| 2020-10-20 18:36:37 | <frdg> | though I cannot think of any pure function that would be "non-monotonic" in this definition. |
| 2020-10-20 18:37:07 | → | taurux joins (~taurux@net-188-152-111-146.cust.dsl.teletu.it) |
| 2020-10-20 18:37:17 | → | conal joins (~conal@64.71.133.70) |
| 2020-10-20 18:38:28 | <ski> | what about `(>= 0) . abs' vs. `(>= 0) . subtract 1 . abs' ? |
| 2020-10-20 18:38:30 | × | wallacer3 quits (~quassel@ns3134113.ip-37-187-4.eu) (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.) |
| 2020-10-20 18:38:45 | <frdg> | restricts the size of the range not codomain. |
| 2020-10-20 18:39:00 | <ski> | what does "restricts the size of the codomain" mean ? |
| 2020-10-20 18:39:01 | × | Saukk quits (~Saukk@2001:998:f9:2914:1c59:9bb5:b94c:4) (Remote host closed the connection) |
| 2020-10-20 18:40:10 | → | wallacer3 joins (~quassel@ns3134113.ip-37-187-4.eu) |
| 2020-10-20 18:40:11 | × | wallacer3 quits (~quassel@ns3134113.ip-37-187-4.eu) (Max SendQ exceeded) |
| 2020-10-20 18:40:20 | → | wallacer3 joins (~quassel@ns3134113.ip-37-187-4.eu) |
| 2020-10-20 18:41:25 | × | taurux quits (~taurux@net-188-152-111-146.cust.dsl.teletu.it) (Ping timeout: 240 seconds) |
| 2020-10-20 18:41:38 | → | taurux joins (~taurux@net-130-25-120-210.cust.vodafonedsl.it) |
| 2020-10-20 18:41:42 | → | conal_ joins (~conal@66.115.157.40) |
| 2020-10-20 18:42:41 | <frdg> | ski: I believe that both these function would fit this definition of monotonic if we added a rule that the function could at most preserve the size of the functions range. |
| 2020-10-20 18:43:03 | × | wallacer3 quits (~quassel@ns3134113.ip-37-187-4.eu) (Read error: Connection reset by peer) |
| 2020-10-20 18:44:32 | × | conal quits (~conal@64.71.133.70) (Ping timeout: 272 seconds) |
| 2020-10-20 18:44:56 | → | kritzefitz joins (~kritzefit@212.86.56.80) |
| 2020-10-20 18:45:13 | → | Tene joins (~tene@poipu/supporter/slacker/tene) |
| 2020-10-20 18:45:36 | <ski> | "monotonic" usually refers to some partial order. what is the partial order, in your case ? |
| 2020-10-20 18:46:27 | hackage | lp-diagrams 2.1.4 - An EDSL for diagrams based based on linear constraints https://hackage.haskell.org/package/lp-diagrams-2.1.4 (JeanPhilippeBernardy) |
| 2020-10-20 18:47:12 | → | coot joins (~coot@37.30.52.239.nat.umts.dynamic.t-mobile.pl) |
| 2020-10-20 18:47:28 | hackage | beam-postgres 0.5.0.0 - Connection layer between beam and postgres https://hackage.haskell.org/package/beam-postgres-0.5.0.0 (TravisAthougies) |
| 2020-10-20 18:47:40 | <frdg> | skit: the size of the range. |
| 2020-10-20 18:47:57 | <frdg> | ski |
| 2020-10-20 18:48:20 | × | GyroW quits (~GyroW@unaffiliated/gyrow) (Quit: Someone ate my pie) |
All times are in UTC.