2023-09-06 00:04:36 +0200 | L29Ah | (~L29Ah@wikipedia/L29Ah) (Ping timeout: 245 seconds) |
2023-09-06 00:04:41 +0200 | sm | (~sm@plaintextaccounting/sm) (Quit: sm) |
2023-09-06 00:05:08 +0200 | wroathe | (~wroathe@user/wroathe) |
2023-09-06 00:06:01 +0200 | arahael | (~arahael@119-18-1-27.771201.syd.nbn.aussiebb.net) |
2023-09-06 00:06:51 +0200 | jeetelongname | (~jeet@cpc96970-rdng25-2-0-cust390.15-3.cable.virginm.net) (Ping timeout: 255 seconds) |
2023-09-06 00:09:22 +0200 | eggplant_ | (~Eggplanta@2600:1700:38c5:d800:9c2e:82af:913e:28a3) |
2023-09-06 00:10:48 +0200 | Tuplanolla | (~Tuplanoll@91-159-68-236.elisa-laajakaista.fi) (Quit: Leaving.) |
2023-09-06 00:11:12 +0200 | econo_ | (uid147250@id-147250.tinside.irccloud.com) (Ping timeout: 245 seconds) |
2023-09-06 00:11:43 +0200 | eggplantade | (~Eggplanta@2600:1700:38c5:d800:9c2e:82af:913e:28a3) (Ping timeout: 240 seconds) |
2023-09-06 00:12:35 +0200 | chomwitt | (~chomwitt@2a02:587:7a1b:5800:1ac0:4dff:fedb:a3f1) |
2023-09-06 00:13:04 +0200 | econo_ | (uid147250@id-147250.tinside.irccloud.com) |
2023-09-06 00:13:48 +0200 | arahael | (~arahael@119-18-1-27.771201.syd.nbn.aussiebb.net) (Ping timeout: 255 seconds) |
2023-09-06 00:18:24 +0200 | L29Ah | (~L29Ah@wikipedia/L29Ah) |
2023-09-06 00:19:52 +0200 | whatsupdoc | (uid509081@id-509081.hampstead.irccloud.com) |
2023-09-06 00:25:02 +0200 | Lycurgus | (~juan@user/Lycurgus) (Quit: Tschüss) |
2023-09-06 00:29:39 +0200 | jeetelongname | (~jeet@cpc96970-rdng25-2-0-cust390.15-3.cable.virginm.net) |
2023-09-06 00:29:43 +0200 | waleee | (~waleee@2001:9b0:21c:4000:5bf9:6515:c030:57b7) (Ping timeout: 240 seconds) |
2023-09-06 00:30:01 +0200 | hays | (rootvegeta@fsf/member/hays) |
2023-09-06 00:30:52 +0200 | kjak | (~kjak@pool-108-28-157-148.washdc.fios.verizon.net) (Ping timeout: 258 seconds) |
2023-09-06 00:30:52 +0200 | stites | (~stites@c-71-232-14-73.hsd1.ma.comcast.net) (Read error: Connection reset by peer) |
2023-09-06 00:31:53 +0200 | Patternmaster | (~georg@user/Patternmaster) (Ping timeout: 246 seconds) |
2023-09-06 00:32:08 +0200 | waleee | (~waleee@h-176-10-137-138.NA.cust.bahnhof.se) |
2023-09-06 00:32:25 +0200 | stites | (~stites@c-71-232-14-73.hsd1.ma.comcast.net) |
2023-09-06 00:34:37 +0200 | Vq | (~vq@90-227-195-9-no77.tbcn.telia.com) (Ping timeout: 244 seconds) |
2023-09-06 00:38:38 +0200 | stites | (~stites@c-71-232-14-73.hsd1.ma.comcast.net) (Ping timeout: 246 seconds) |
2023-09-06 00:38:46 +0200 | stites | (~stites@2607:fb90:ad62:84d1:e06:3ee5:5b34:6465) |
2023-09-06 00:41:03 +0200 | jmdaemon | (~jmdaemon@user/jmdaemon) (Ping timeout: 255 seconds) |
2023-09-06 00:41:39 +0200 | Patternmaster | (~georg@li1192-118.members.linode.com) |
2023-09-06 00:41:39 +0200 | Patternmaster | (~georg@li1192-118.members.linode.com) (Changing host) |
2023-09-06 00:41:39 +0200 | Patternmaster | (~georg@user/Patternmaster) |
2023-09-06 00:42:44 +0200 | stites | (~stites@2607:fb90:ad62:84d1:e06:3ee5:5b34:6465) (Read error: Connection reset by peer) |
2023-09-06 00:43:04 +0200 | stites | (~stites@130.44.147.204) |
2023-09-06 00:44:44 +0200 | chomwitt | (~chomwitt@2a02:587:7a1b:5800:1ac0:4dff:fedb:a3f1) (Remote host closed the connection) |
2023-09-06 00:46:01 +0200 | aaronv | (~aaronv@user/aaronv) |
2023-09-06 00:46:27 +0200 | wagle | (~wagle@quassel.wagle.io) (Server closed connection) |
2023-09-06 00:46:43 +0200 | wagle | (~wagle@quassel.wagle.io) |
2023-09-06 00:50:50 +0200 | gatekempt | (~gatekempt@user/gatekempt) (Quit: My MacBook has gone to sleep. ZZZzzz…) |
2023-09-06 00:51:41 +0200 | Vq | (~vq@90-225-115-195-no122.tbcn.telia.com) |
2023-09-06 00:53:08 +0200 | jeetelongname | (~jeet@cpc96970-rdng25-2-0-cust390.15-3.cable.virginm.net) (Remote host closed the connection) |
2023-09-06 00:56:39 +0200 | jmdaemon | (~jmdaemon@user/jmdaemon) |
2023-09-06 00:57:27 +0200 | wroathe | (~wroathe@user/wroathe) (Read error: Connection reset by peer) |
2023-09-06 00:57:36 +0200 | wroathe | (~wroathe@user/wroathe) |
2023-09-06 01:05:00 +0200 | azimut | (~azimut@gateway/tor-sasl/azimut) (Ping timeout: 246 seconds) |
2023-09-06 01:06:48 +0200 | jmdaemon | (~jmdaemon@user/jmdaemon) (Ping timeout: 246 seconds) |
2023-09-06 01:10:35 +0200 | [itchyjunk] | (~itchyjunk@user/itchyjunk/x-7353470) |
2023-09-06 01:13:35 +0200 | caryhartline | (~caryhartl@168.182.58.169) (Quit: caryhartline) |
2023-09-06 01:17:41 +0200 | arahael | (~arahael@119-18-1-27.771201.syd.nbn.aussiebb.net) |
2023-09-06 01:23:17 +0200 | arahael | (~arahael@119-18-1-27.771201.syd.nbn.aussiebb.net) (Ping timeout: 245 seconds) |
2023-09-06 01:23:26 +0200 | nate2 | (~nate@c-98-45-169-16.hsd1.ca.comcast.net) |
2023-09-06 01:27:00 +0200 | geekosaur | (~geekosaur@xmonad/geekosaur) (Quit: Leaving) |
2023-09-06 01:27:08 +0200 | haskellbridge | (~haskellbr@069-135-003-034.biz.spectrum.com) (Remote host closed the connection) |
2023-09-06 01:27:13 +0200 | robobub | (uid248673@id-248673.uxbridge.irccloud.com) (Quit: Connection closed for inactivity) |
2023-09-06 01:27:51 +0200 | wroathe | (~wroathe@user/wroathe) (Ping timeout: 255 seconds) |
2023-09-06 01:28:18 +0200 | nate2 | (~nate@c-98-45-169-16.hsd1.ca.comcast.net) (Ping timeout: 255 seconds) |
2023-09-06 01:29:16 +0200 | jmdaemon | (~jmdaemon@user/jmdaemon) |
2023-09-06 01:29:56 +0200 | geekosaur | (~geekosaur@xmonad/geekosaur) |
2023-09-06 01:31:18 +0200 | haskellbridge | (~haskellbr@069-135-003-034.biz.spectrum.com) |
2023-09-06 01:33:03 +0200 | ezzieyguywuf | (~Unknown@user/ezzieyguywuf) (Ping timeout: 246 seconds) |
2023-09-06 01:34:51 +0200 | ezzieyguywuf | (~Unknown@user/ezzieyguywuf) |
2023-09-06 01:36:51 +0200 | notzmv | (~zmv@user/notzmv) (Ping timeout: 255 seconds) |
2023-09-06 01:37:15 +0200 | gmg | (~user@user/gehmehgeh) (Quit: Leaving) |
2023-09-06 01:38:00 +0200 | Sgeo | (~Sgeo@user/sgeo) |
2023-09-06 01:39:39 +0200 | caryhartline | (~caryhartl@168.182.58.169) |
2023-09-06 01:41:17 +0200 | stites | (~stites@130.44.147.204) (Ping timeout: 246 seconds) |
2023-09-06 01:41:47 +0200 | stites | (~stites@2607:fb90:ad62:84d1:e06:3ee5:5b34:6465) |
2023-09-06 01:42:36 +0200 | aaronv | (~aaronv@user/aaronv) (Ping timeout: 248 seconds) |
2023-09-06 01:47:17 +0200 | mrmr1 | (~mrmr@user/mrmr) |
2023-09-06 01:52:09 +0200 | Lord_of_Life | (~Lord@user/lord-of-life/x-2819915) (Ping timeout: 255 seconds) |
2023-09-06 01:52:22 +0200 | Lord_of_Life_ | (~Lord@user/lord-of-life/x-2819915) |
2023-09-06 01:53:43 +0200 | Lord_of_Life_ | Lord_of_Life |
2023-09-06 01:56:32 +0200 | wroathe | (~wroathe@207-153-38-140.fttp.usinternet.com) |
2023-09-06 01:56:32 +0200 | wroathe | (~wroathe@207-153-38-140.fttp.usinternet.com) (Changing host) |
2023-09-06 01:56:32 +0200 | wroathe | (~wroathe@user/wroathe) |
2023-09-06 02:00:47 +0200 | aaronv | (~aaronv@user/aaronv) |
2023-09-06 02:03:21 +0200 | stites | (~stites@2607:fb90:ad62:84d1:e06:3ee5:5b34:6465) (Read error: Connection reset by peer) |
2023-09-06 02:03:40 +0200 | stites | (~stites@2601:19c:4180:2fa0:b469:c383:de1f:e18d) |
2023-09-06 02:04:45 +0200 | jmdaemon | (~jmdaemon@user/jmdaemon) (Ping timeout: 255 seconds) |
2023-09-06 02:12:47 +0200 | stites | (~stites@2601:19c:4180:2fa0:b469:c383:de1f:e18d) (Ping timeout: 244 seconds) |
2023-09-06 02:13:09 +0200 | stites | (~stites@2607:fb90:ad62:84d1:e06:3ee5:5b34:6465) |
2023-09-06 02:13:13 +0200 | paulpaul1076 | (~textual@95-26-14-70.broadband.corbina.ru) |
2023-09-06 02:13:47 +0200 | bratwurst | (~blaadsfa@2604:3d09:207f:f650:216:3eff:fe5a:a1f8) |
2023-09-06 02:14:35 +0200 | danza | (~francesco@ge-19-98-248.service.infuturo.it) (Read error: Connection reset by peer) |
2023-09-06 02:15:03 +0200 | danza | (~francesco@na-19-91-172.service.infuturo.it) |
2023-09-06 02:20:18 +0200 | jmdaemon | (~jmdaemon@user/jmdaemon) |
2023-09-06 02:21:14 +0200 | ryanbooker | (uid4340@id-4340.hampstead.irccloud.com) |
2023-09-06 02:21:17 +0200 | masterbuilder | (~masterbui@user/masterbuilder) |
2023-09-06 02:27:39 +0200 | bratwurst | (~blaadsfa@2604:3d09:207f:f650:216:3eff:fe5a:a1f8) (Ping timeout: 246 seconds) |
2023-09-06 02:29:34 +0200 | lottaquestions_ | (~nick@2607:fa49:503d:b200:4f8:d092:c79f:e0d6) (*.net *.split) |
2023-09-06 02:29:35 +0200 | astra | (sid289983@id-289983.hampstead.irccloud.com) (*.net *.split) |
2023-09-06 02:29:35 +0200 | TheCoffeMaker_ | (~TheCoffeM@190.245.100.85) (*.net *.split) |
2023-09-06 02:29:35 +0200 | jbalint_ | (~jbalint@071-090-119-177.res.spectrum.com) (*.net *.split) |
2023-09-06 02:29:35 +0200 | bah | (~bah@l1.tel) (*.net *.split) |
2023-09-06 02:29:35 +0200 | danso | (~danso@user/danso) (*.net *.split) |
2023-09-06 02:29:35 +0200 | tomku | (~tomku@user/tomku) (*.net *.split) |
2023-09-06 02:29:36 +0200 | ouroboros | (~ouroboros@user/ouroboros) (*.net *.split) |
2023-09-06 02:29:36 +0200 | jil`` | (~user@vps-15050500.vps.ovh.net) (*.net *.split) |
2023-09-06 02:29:36 +0200 | joeyh_ | (~joeyh@kitenet.net) (*.net *.split) |
2023-09-06 02:29:36 +0200 | hexology | (~hexology@user/hexology) (*.net *.split) |
2023-09-06 02:29:36 +0200 | aspen | (sid449115@id-449115.helmsley.irccloud.com) (*.net *.split) |
2023-09-06 02:29:36 +0200 | mniip | (mniip@libera/staff/mniip) (*.net *.split) |
2023-09-06 02:29:41 +0200 | mniip | (mniip@libera/staff/mniip) |
2023-09-06 02:29:43 +0200 | bah | (~bah@l1.tel) |
2023-09-06 02:29:44 +0200 | jbalint | (~jbalint@2600:6c44:117f:e98a:816a:9488:fb1:7b7) |
2023-09-06 02:29:46 +0200 | jil`` | (~user@vps-15050500.vps.ovh.net) |
2023-09-06 02:29:47 +0200 | joeyh | (joeyh@kitenet.net) |
2023-09-06 02:29:49 +0200 | tomku | (~tomku@141-126-184-057.res.spectrum.com) |
2023-09-06 02:29:55 +0200 | tomku | (~tomku@141-126-184-057.res.spectrum.com) (Changing host) |
2023-09-06 02:29:55 +0200 | tomku | (~tomku@user/tomku) |
2023-09-06 02:29:55 +0200 | danso | (~danso@user/danso) |
2023-09-06 02:29:56 +0200 | aspen | (sid449115@id-449115.helmsley.irccloud.com) |
2023-09-06 02:30:09 +0200 | astra | (sid289983@id-289983.hampstead.irccloud.com) |
2023-09-06 02:30:24 +0200 | hexology | (~hexology@user/hexology) |
2023-09-06 02:30:34 +0200 | lottaquestions_ | (~nick@2607:fa49:503d:b200:2663:b169:e6fe:3201) |
2023-09-06 02:30:39 +0200 | stites | (~stites@2607:fb90:ad62:84d1:e06:3ee5:5b34:6465) (Read error: Connection reset by peer) |
2023-09-06 02:30:43 +0200 | TheCoffeMaker | (~TheCoffeM@user/thecoffemaker) |
2023-09-06 02:30:58 +0200 | stites | (~stites@2601:19c:4180:2fa0:aee7:aa3f:7068:e1bf) |
2023-09-06 02:33:21 +0200 | ouroboros | (~ouroboros@user/ouroboros) |
2023-09-06 02:36:04 +0200 | caryhartline | (~caryhartl@168.182.58.169) (Quit: caryhartline) |
2023-09-06 02:38:21 +0200 | jespada | (~jespada@cpc121308-nmal25-2-0-cust15.19-2.cable.virginm.net) (Ping timeout: 245 seconds) |
2023-09-06 02:39:02 +0200 | aaronv | (~aaronv@user/aaronv) (Ping timeout: 246 seconds) |
2023-09-06 02:39:04 +0200 | bratwurst | (~blaadsfa@2604:3d09:207f:f650:216:3eff:fe5a:a1f8) |
2023-09-06 02:41:48 +0200 | stites | (~stites@2601:19c:4180:2fa0:aee7:aa3f:7068:e1bf) (Ping timeout: 248 seconds) |
2023-09-06 02:42:06 +0200 | stites | (~stites@c-71-232-220-33.hsd1.ma.comcast.net) |
2023-09-06 02:44:39 +0200 | whatsupdoc | (uid509081@id-509081.hampstead.irccloud.com) (Quit: Connection closed for inactivity) |
2023-09-06 02:44:41 +0200 | yosef` | (~yosef`@user/yosef/x-2947716) |
2023-09-06 02:44:41 +0200 | caryhartline | (~caryhartl@168.182.58.169) |
2023-09-06 02:46:33 +0200 | stites | (~stites@c-71-232-220-33.hsd1.ma.comcast.net) (Read error: Connection reset by peer) |
2023-09-06 02:46:45 +0200 | stites | (~stites@c-71-232-220-33.hsd1.ma.comcast.net) |
2023-09-06 02:48:52 +0200 | paulpaul1076 | (~textual@95-26-14-70.broadband.corbina.ru) (Quit: My MacBook has gone to sleep. ZZZzzz…) |
2023-09-06 02:50:21 +0200 | arahael | (~arahael@119-18-1-27.771201.syd.nbn.aussiebb.net) |
2023-09-06 02:51:06 +0200 | stites | (~stites@c-71-232-220-33.hsd1.ma.comcast.net) (Ping timeout: 246 seconds) |
2023-09-06 02:54:32 +0200 | arahael | (~arahael@119-18-1-27.771201.syd.nbn.aussiebb.net) (Ping timeout: 245 seconds) |
2023-09-06 02:56:15 +0200 | stites | (~stites@2607:fb90:ad62:84d1:e06:3ee5:5b34:6465) |
2023-09-06 02:56:52 +0200 | stites | (~stites@2607:fb90:ad62:84d1:e06:3ee5:5b34:6465) (Read error: Connection reset by peer) |
2023-09-06 02:57:25 +0200 | jespada | (~jespada@cpc121308-nmal25-2-0-cust15.19-2.cable.virginm.net) |
2023-09-06 02:58:10 +0200 | <wroathe> | Is there a way to express the class of all types that have a field of type T? |
2023-09-06 02:58:12 +0200 | paulpaul1076 | (~textual@95-26-14-70.broadband.corbina.ru) |
2023-09-06 02:58:34 +0200 | stites | (~stites@2601:19c:4180:2fa0:9fc4:9658:a440:7fc2) |
2023-09-06 02:58:38 +0200 | aaronv | (~aaronv@user/aaronv) |
2023-09-06 02:58:55 +0200 | <c_wraith> | you really shouldn't. Classes should always be opt-in. |
2023-09-06 02:58:59 +0200 | <wroathe> | For example all types with a field of type Text, so data Foo = Foo Int Text Bool would match, but data Bar = Bar Int String Bool would not |
2023-09-06 03:00:01 +0200 | <Axman6> | the HasField class comes close, it has class HasField (x :: k) r a | x r -> a where, but I don't think you can meaningfully do something like: foo :: HasField x r T => x -> Bool |
2023-09-06 03:00:08 +0200 | <EvanR> | Foo Text Int has a field, Bar Int Text has a field, Baz Text Text has TWO fields, even better |
2023-09-06 03:00:16 +0200 | <EvanR> | (but no field names) |
2023-09-06 03:00:38 +0200 | <Axman6> | you could use generics-sop to build that constraint pretty easily though |
2023-09-06 03:01:00 +0200 | <Axman6> | and you could do it in a way that ensures there is exactly one field of that type |
2023-09-06 03:01:02 +0200 | <wroathe> | Well my use case is that I've got types that represent SQL tables where I've got a newtype field wrapper with a phantom type parameter that indicates the field is a primary key. I want to define the class of types that has a PrimaryKey field: data Foo = Foo { foo :: Constrained Text '[PrimaryKey], } |
2023-09-06 03:01:20 +0200 | chromoblob | (~user@37.113.180.113) (Ping timeout: 245 seconds) |
2023-09-06 03:01:23 +0200 | <Axman6> | the generic-lens package has stuff for this actually, IIRC |
2023-09-06 03:01:48 +0200 | <wroathe> | Thanks Axman6. I'll have a look at these. |
2023-09-06 03:02:01 +0200 | <c_wraith> | write your class, give it a default instance that uses genericyuhujikop[]\ |
2023-09-06 03:02:10 +0200 | <c_wraith> | err, sorry about that. cat interference. |
2023-09-06 03:02:23 +0200 | <c_wraith> | But leave the class opt-in |
2023-09-06 03:02:39 +0200 | <c_wraith> | just say "no" to writing classes for all types. |
2023-09-06 03:03:03 +0200 | <wroathe> | The opt-in is given by the fact that only types that have this Constrained newtype with this '[PrimaryKey] parameter will be part of the class |
2023-09-06 03:03:17 +0200 | <c_wraith> | that's not how classes work |
2023-09-06 03:03:19 +0200 | <wroathe> | Also this isn't a library, so I'm free to get up to all kinds of hijinx :P |
2023-09-06 03:03:26 +0200 | <c_wraith> | If you write an instance for all types, it's for all types |
2023-09-06 03:03:44 +0200 | <c_wraith> | Even if not all types can satisfy the additional constraints |
2023-09-06 03:04:49 +0200 | <c_wraith> | It's so much easier in the long term to explicitly opt in. |
2023-09-06 03:05:03 +0200 | <c_wraith> | Like.. things don't break the first time you have a special case. |
2023-09-06 03:06:51 +0200 | Vq | (~vq@90-225-115-195-no122.tbcn.telia.com) (Ping timeout: 246 seconds) |
2023-09-06 03:07:29 +0200 | paulpaul1076 | (~textual@95-26-14-70.broadband.corbina.ru) (Read error: Connection reset by peer) |
2023-09-06 03:09:39 +0200 | <Axman6> | I would defiitely look at generic-lens, there's lots of stuff in there for similar ideas |
2023-09-06 03:11:13 +0200 | albet70 | (~xxx@2400:8902::f03c:92ff:fe60:98d8) (Remote host closed the connection) |
2023-09-06 03:13:50 +0200 | Vq | (~vq@90-225-115-195-no122.tbcn.telia.com) |
2023-09-06 03:17:20 +0200 | albet70 | (~xxx@2400:8902::f03c:92ff:fe60:98d8) |
2023-09-06 03:24:09 +0200 | ft | (~ft@p508db230.dip0.t-ipconnect.de) (Ping timeout: 255 seconds) |
2023-09-06 03:26:00 +0200 | ft | (~ft@p3e9bcdd3.dip0.t-ipconnect.de) |
2023-09-06 03:29:38 +0200 | fr33domlover | (~fr33domlo@towards.vision) (Remote host closed the connection) |
2023-09-06 03:31:36 +0200 | cptaffe | (~cptaffe@2600:1700:f08:111f::18e7) |
2023-09-06 03:33:35 +0200 | bilegeek | (~bilegeek@2600:1008:b0a2:81a2:fbea:6531:4bd9:c24a) |
2023-09-06 03:37:18 +0200 | Vq | (~vq@90-225-115-195-no122.tbcn.telia.com) (Ping timeout: 246 seconds) |
2023-09-06 03:37:45 +0200 | <Axman6> | is there a lensism for making multiple changes to a subsection of a structure? foo & _APrism . _2 .~ True & _APrism . _3 .~ "Hello" --> foo & ._APrism . (_2 .~ True ??? _3 .~ "Hello") |
2023-09-06 03:38:53 +0200 | Unicorn_Princess | (~Unicorn_P@user/Unicorn-Princess/x-3540542) (Remote host closed the connection) |
2023-09-06 03:43:36 +0200 | libertyprime | (~libertypr@203.96.203.44) (Ping timeout: 246 seconds) |
2023-09-06 03:44:13 +0200 | Vq | (~vq@90-227-195-9-no77.tbcn.telia.com) |
2023-09-06 03:47:24 +0200 | bratwurst | (~blaadsfa@2604:3d09:207f:f650:216:3eff:fe5a:a1f8) (Remote host closed the connection) |
2023-09-06 03:47:28 +0200 | caryhartline | (~caryhartl@168.182.58.169) (Quit: caryhartline) |
2023-09-06 03:47:47 +0200 | bratwurst | (~blaadsfa@2604:3d09:207f:f650:216:3eff:fe5a:a1f8) |
2023-09-06 03:48:21 +0200 | jmdaemon | (~jmdaemon@user/jmdaemon) (Ping timeout: 245 seconds) |
2023-09-06 03:48:51 +0200 | otto_s | (~user@p5de2f6ce.dip0.t-ipconnect.de) (Ping timeout: 246 seconds) |
2023-09-06 03:49:15 +0200 | <probie> | Axman6: What would be the intended semantics if both lenses modified the same part of the structure? |
2023-09-06 03:49:34 +0200 | <jackdk> | Axman6: `foo & _APrism %~ (lensProduct _2 _3 .~ (True, "Hello"))`, but `Control.Lens.Unsound.lensProduct` must be given disjoint lenses |
2023-09-06 03:50:15 +0200 | <c_wraith> | > [(1,2), (3,4), (5,6)] &~ zoom (ix 1) (do _1 .= 7 ; _2 .= 9) -- Axman6: alternatively, you can get nice concrete semantics with something like this |
2023-09-06 03:50:17 +0200 | <lambdabot> | [(1,2),(7,9),(5,6)] |
2023-09-06 03:50:30 +0200 | machinedgod | (~machinedg@d198-53-218-113.abhsia.telus.net) (Ping timeout: 255 seconds) |
2023-09-06 03:50:37 +0200 | otto_s | (~user@p5de2f2f3.dip0.t-ipconnect.de) |
2023-09-06 03:54:04 +0200 | <c_wraith> | ok, you can do it with less complexity: |
2023-09-06 03:54:05 +0200 | <c_wraith> | > [(1,2), (3,4), (5,6)] & ix 1 %~ (_1 .~ 7) . (_2 .~ 9) |
2023-09-06 03:54:05 +0200 | arahael | (~arahael@119-18-1-27.771201.syd.nbn.aussiebb.net) |
2023-09-06 03:54:06 +0200 | <lambdabot> | [(1,2),(7,9),(5,6)] |
2023-09-06 03:55:20 +0200 | aaronv | (~aaronv@user/aaronv) (Ping timeout: 246 seconds) |
2023-09-06 03:57:36 +0200 | bratwurst | (~blaadsfa@2604:3d09:207f:f650:216:3eff:fe5a:a1f8) (Ping timeout: 246 seconds) |
2023-09-06 03:57:37 +0200 | chromoblob | (~user@37.113.180.113) |
2023-09-06 04:01:58 +0200 | chromoblob | (~user@37.113.180.113) (Ping timeout: 258 seconds) |
2023-09-06 04:03:07 +0200 | arahael | (~arahael@119-18-1-27.771201.syd.nbn.aussiebb.net) (Ping timeout: 258 seconds) |
2023-09-06 04:04:12 +0200 | <jackdk> | Oh yeah the operator Axman6 is looking for is actually `(.)`. Because everything in lens is secretly `(.)` or `id` |
2023-09-06 04:06:23 +0200 | <c_wraith> | well, the real trick in what I did was %~ |
2023-09-06 04:06:43 +0200 | <c_wraith> | Which... ok, it's a coerce away from id. (It uses some Identity wrappers) |
2023-09-06 04:09:52 +0200 | EvanR | (~EvanR@user/evanr) (Remote host closed the connection) |
2023-09-06 04:10:13 +0200 | EvanR | (~EvanR@user/evanr) |
2023-09-06 04:14:45 +0200 | td_ | (~td@i53870903.versanet.de) (Ping timeout: 246 seconds) |
2023-09-06 04:15:17 +0200 | nate2 | (~nate@c-98-45-169-16.hsd1.ca.comcast.net) |
2023-09-06 04:16:47 +0200 | td_ | (~td@i53870923.versanet.de) |
2023-09-06 04:17:12 +0200 | xff0x | (~xff0x@2405:6580:b080:900:cdd2:5212:d38a:f71b) (Ping timeout: 246 seconds) |
2023-09-06 04:20:39 +0200 | <Axman6> | probie: definitely perform the left update and then the right (which the lens laws should insure is fine, given that foo .~ x & foo .~ y == foo .~ y |
2023-09-06 04:21:06 +0200 | <Axman6> | hmmm, I guess using %~ works |
2023-09-06 04:23:17 +0200 | <Axman6> | needs something with different fixity than (.) though, because you end up needing to put each setting expression in brackets: _APrism %~ ((_2 .~ True) . (_3 .~ "Hello")) |
2023-09-06 04:23:39 +0200 | <Axman6> | oh I guess the outer ones are unneeded |
2023-09-06 04:31:02 +0200 | ryanbooker | (uid4340@id-4340.hampstead.irccloud.com) (Quit: Connection closed for inactivity) |
2023-09-06 04:32:43 +0200 | eggplant_ | (~Eggplanta@2600:1700:38c5:d800:9c2e:82af:913e:28a3) (Remote host closed the connection) |
2023-09-06 04:32:59 +0200 | eggplantade | (~Eggplanta@2600:1700:38c5:d800:9c2e:82af:913e:28a3) |
2023-09-06 04:39:05 +0200 | arahael | (~arahael@119-18-1-27.771201.syd.nbn.aussiebb.net) |
2023-09-06 04:42:51 +0200 | FinnElija | (~finn_elij@user/finn-elija/x-0085643) (Killed (NickServ (Forcing logout FinnElija -> finn_elija))) |
2023-09-06 04:42:51 +0200 | FinnElija | (~finn_elij@user/finn-elija/x-0085643) |
2023-09-06 04:50:36 +0200 | aaronv | (~aaronv@user/aaronv) |
2023-09-06 04:53:05 +0200 | arahael | (~arahael@119-18-1-27.771201.syd.nbn.aussiebb.net) (Ping timeout: 246 seconds) |
2023-09-06 04:56:56 +0200 | wroathe | (~wroathe@user/wroathe) (Ping timeout: 246 seconds) |
2023-09-06 04:59:28 +0200 | sm | (~sm@plaintextaccounting/sm) |
2023-09-06 05:00:03 +0200 | sm | (~sm@plaintextaccounting/sm) (Client Quit) |
2023-09-06 05:03:24 +0200 | Lycurgus | (~juan@user/Lycurgus) |
2023-09-06 05:07:10 +0200 | xff0x | (~xff0x@125x103x176x34.ap125.ftth.ucom.ne.jp) |
2023-09-06 05:08:25 +0200 | aforemny | (~aforemny@2001:9e8:6cd1:3f00:8007:4d21:194:48dd) (Ping timeout: 245 seconds) |
2023-09-06 05:10:01 +0200 | aforemny | (~aforemny@2001:9e8:6cf9:8d00:b2a:e8e3:c3c0:d6bd) |
2023-09-06 05:10:11 +0200 | bilegeek | (~bilegeek@2600:1008:b0a2:81a2:fbea:6531:4bd9:c24a) (Quit: Leaving) |
2023-09-06 05:15:33 +0200 | [itchyjunk] | (~itchyjunk@user/itchyjunk/x-7353470) (Remote host closed the connection) |
2023-09-06 05:15:59 +0200 | [itchyjunk] | (~itchyjunk@user/itchyjunk/x-7353470) |
2023-09-06 05:16:24 +0200 | jmdaemon | (~jmdaemon@user/jmdaemon) |
2023-09-06 05:18:27 +0200 | nate2 | (~nate@c-98-45-169-16.hsd1.ca.comcast.net) (Ping timeout: 246 seconds) |
2023-09-06 05:22:27 +0200 | rubin55 | (sid175221@id-175221.hampstead.irccloud.com) (Server closed connection) |
2023-09-06 05:22:44 +0200 | rubin55 | (sid175221@id-175221.hampstead.irccloud.com) |
2023-09-06 05:25:24 +0200 | [itchyjunk] | (~itchyjunk@user/itchyjunk/x-7353470) (Remote host closed the connection) |
2023-09-06 05:38:17 +0200 | waleee | (~waleee@h-176-10-137-138.NA.cust.bahnhof.se) (Ping timeout: 245 seconds) |
2023-09-06 05:38:28 +0200 | yosef` | (~yosef`@user/yosef/x-2947716) (Ping timeout: 245 seconds) |
2023-09-06 05:50:47 +0200 | <c_wraith> | Axman6: you can lose the inner brackets if you use set instead of .~ |
2023-09-06 05:51:02 +0200 | pavonia | (~user@user/siracusa) (Quit: Bye!) |
2023-09-06 05:54:09 +0200 | thegeekinside | (~thegeekin@189.180.122.37) (Ping timeout: 246 seconds) |
2023-09-06 06:01:31 +0200 | Feuermagier_ | (~Feuermagi@user/feuermagier) |
2023-09-06 06:01:31 +0200 | Feuermagier | Guest9089 |
2023-09-06 06:01:32 +0200 | Feuermagier_ | Feuermagier |
2023-09-06 06:03:47 +0200 | Guest9089 | (~Feuermagi@user/feuermagier) (Ping timeout: 246 seconds) |
2023-09-06 06:04:23 +0200 | Lycurgus | (~juan@user/Lycurgus) (Quit: Tschüss) |
2023-09-06 06:05:06 +0200 | gatekempt | (~gatekempt@user/gatekempt) |
2023-09-06 06:08:06 +0200 | angerman | (uid209936@id-209936.ilkley.irccloud.com) |
2023-09-06 06:10:28 +0200 | catch22 | (~catch22@204.40.96.58.static.exetel.com.au) (Quit: Leaving) |
2023-09-06 06:10:33 +0200 | _ht | (~Thunderbi@28-52-174-82.ftth.glasoperator.nl) |
2023-09-06 06:14:00 +0200 | whatsupdoc | (uid509081@id-509081.hampstead.irccloud.com) |
2023-09-06 06:14:38 +0200 | danza | (~francesco@na-19-91-172.service.infuturo.it) (Read error: Connection reset by peer) |
2023-09-06 06:15:02 +0200 | danza | (~francesco@151.35.98.106) |
2023-09-06 06:18:43 +0200 | ddellacosta | (~ddellacos@ool-44c738de.dyn.optonline.net) (Ping timeout: 250 seconds) |
2023-09-06 06:20:47 +0200 | ddellacosta | (~ddellacos@ool-44c738de.dyn.optonline.net) |
2023-09-06 06:20:59 +0200 | arahael | (~arahael@119-18-1-27.771201.syd.nbn.aussiebb.net) |
2023-09-06 06:23:49 +0200 | caryhartline | (~caryhartl@168.182.58.169) |
2023-09-06 06:25:18 +0200 | arahael | (~arahael@119-18-1-27.771201.syd.nbn.aussiebb.net) (Ping timeout: 255 seconds) |
2023-09-06 06:31:31 +0200 | gatekempt | (~gatekempt@user/gatekempt) (Quit: My MacBook has gone to sleep. ZZZzzz…) |
2023-09-06 06:32:02 +0200 | <Axman6> | Anyone have opinions on which yaml library to use? |
2023-09-06 06:36:08 +0200 | <probie> | For dealing with yaml in all its glory, or yaml as "JSON with comments and less string quoting"? |
2023-09-06 06:39:15 +0200 | shiraeeshi | (~shiraeesh@46.42.245.170) (Ping timeout: 258 seconds) |
2023-09-06 06:42:21 +0200 | <jackdk> | convert in/out of dhall |
2023-09-06 06:44:23 +0200 | acidjnk | (~acidjnk@p200300d6e7072f3028e66677b5f34067.dip0.t-ipconnect.de) |
2023-09-06 06:45:03 +0200 | <probie> | I've used Snoyman's one which is just named "yaml", and whilst it worked for my use case, it bothered me because it doesn't support yaml 1.2, and because I also don't like Aeson. |
2023-09-06 06:45:06 +0200 | <Axman6> | Possibly YAML in all its glory, I'm definitely planning to have some form of referencing/templating (think: "array: {of: Boolean, size: 8, count: $CHANNEL_COUNT}} |
2023-09-06 06:47:04 +0200 | <probie> | It also explicitly rejects yaml documents with a version other than 1.1, when the spec says they "should be processed with an appropriate warning" |
2023-09-06 06:47:06 +0200 | <Axman6> | I was looking at https://hackage.haskell.org/package/yaml-combinators-1.1.2.1/docs/Data-Yaml-Combinators.html which seems like it does some things I would want. Not sure how well it reports errors though, I would love something that tells me exactly where something went wrong (and possibly gave me the ability to extract location information for everything while parsing, since i'll need to do something to resolve those variables too) |
2023-09-06 06:48:09 +0200 | <Axman6> | Maybe something like Dhall isn't a terrible idea |
2023-09-06 06:48:45 +0200 | <Axman6> | Hmmm, maybe that is actually, in fact, a good idea. |
2023-09-06 06:50:24 +0200 | <probie> | I wonder why so few yaml libraries simultaneously support yaml 1.1 and yaml 1.2? |
2023-09-06 06:59:29 +0200 | takuan | (~takuan@178-116-218-225.access.telenet.be) |
2023-09-06 07:00:56 +0200 | bitdex | (~bitdex@gateway/tor-sasl/bitdex) |
2023-09-06 07:02:55 +0200 | sm | (~sm@plaintextaccounting/sm) |
2023-09-06 07:07:30 +0200 | <Axman6> | Probably because YAML Is Hard^{TM} (https://stackoverflow.com/questions/3790454/how-do-i-break-a-string-in-yaml-over-multiple-lines/21… - I used to work with Steve who wrote that answer, see also https://yaml-multiline.info) |
2023-09-06 07:17:32 +0200 | dtman34 | (~dtman34@c-76-156-89-180.hsd1.mn.comcast.net) (Ping timeout: 248 seconds) |
2023-09-06 07:21:14 +0200 | oo_miguel | (~Thunderbi@78-11-179-96.static.ip.netia.com.pl) |
2023-09-06 07:22:53 +0200 | vglfr | (~vglfr@cli-188-239-233-89.bbn.slav.dn.ua) (Ping timeout: 246 seconds) |
2023-09-06 07:23:19 +0200 | vglfr | (~vglfr@88.155.183.100) |
2023-09-06 07:28:08 +0200 | CiaoSen | (~Jura@2a05:5800:2a2:4400:664b:f0ff:fe37:9ef) |
2023-09-06 07:28:16 +0200 | <probie> | A fun game is seeing if it'll accept something like `? !!int 3.14` and if so what it gives. Yaml itself doesn't require string keys (or even scalar keys for that matter), but it should fail because 3.14 isn't an int |
2023-09-06 07:28:18 +0200 | <Axman6> | Hmmmm, the lack of recursive types might make Dhall a non-starter, but maybe that's workable. I'm specifically looking to define hierarchies, which might have bounded depth, but I don't know what it would be |
2023-09-06 07:31:52 +0200 | michalz | (~michalz@185.246.207.205) |
2023-09-06 07:31:54 +0200 | <Axman6> | ... can you emulate arbitrary recursion by using type level naturals and specifying the maximum height? |
2023-09-06 07:32:21 +0200 | vglfr | (~vglfr@88.155.183.100) (Ping timeout: 255 seconds) |
2023-09-06 07:32:34 +0200 | vglfr | (~vglfr@cli-188-239-233-89.bbn.slav.dn.ua) |
2023-09-06 07:37:33 +0200 | <Lears> | Axman6: Dhall is approximately System F, so you have "recursive" types via least and greatest fixed points of your chosen functor. |
2023-09-06 07:37:51 +0200 | _ht | (~Thunderbi@28-52-174-82.ftth.glasoperator.nl) (Quit: _ht) |
2023-09-06 07:38:28 +0200 | <Lears> | This is in Haskell, but can be translated in principle: https://gist.github.com/LSLeary/98763e62f6fe4a2d629f74b38b9f2e45 |
2023-09-06 07:39:09 +0200 | <Lears> | There should be a library you can use somewhere so you don't actually need to do that translation yourself. |
2023-09-06 07:40:19 +0200 | Square | (~Square@user/square) |
2023-09-06 07:40:23 +0200 | ph88^ | (~ph88@ip5b403cd4.dynamic.kabel-deutschland.de) |
2023-09-06 07:41:07 +0200 | ph88 | (~ph88@ip5b403cd4.dynamic.kabel-deutschland.de) (Read error: Connection reset by peer) |
2023-09-06 07:43:16 +0200 | Square2 | (~Square4@user/square) |
2023-09-06 07:45:56 +0200 | libertyprime | (~libertypr@203.96.203.44) |
2023-09-06 07:46:02 +0200 | <Axman6> | well, that is definitely not going to fly at work, I can't barely follow that, and the rest of the team is python devs |
2023-09-06 07:46:12 +0200 | Square | (~Square@user/square) (Ping timeout: 245 seconds) |
2023-09-06 07:48:51 +0200 | <Lears> | It basically comes down to "use newtype List a = List (forall r. r -> (a -> r -> r) -> r), not data List a = Nil | Cons a (List a)". |
2023-09-06 07:49:07 +0200 | <Lears> | You can hide the complexity inside and write an easy interface. |
2023-09-06 08:01:40 +0200 | echoreply | (~echoreply@2001:19f0:9002:1f3b:5400:ff:fe6f:8b8d) (Quit: WeeChat 2.8) |
2023-09-06 08:02:35 +0200 | echoreply | (~echoreply@45.32.163.16) |
2023-09-06 08:02:37 +0200 | Square2 | (~Square4@user/square) (Remote host closed the connection) |
2023-09-06 08:10:42 +0200 | eggplantade | (~Eggplanta@2600:1700:38c5:d800:9c2e:82af:913e:28a3) (Remote host closed the connection) |
2023-09-06 08:11:30 +0200 | eggplantade | (~Eggplanta@2600:1700:38c5:d800:9c2e:82af:913e:28a3) |
2023-09-06 08:13:22 +0200 | robobub | (uid248673@id-248673.uxbridge.irccloud.com) |
2023-09-06 08:20:39 +0200 | sm | (~sm@plaintextaccounting/sm) (Quit: sm) |
2023-09-06 08:22:19 +0200 | lortabac | (~lortabac@2a01:e0a:541:b8f0:7324:f483:eea:6923) |
2023-09-06 08:22:38 +0200 | yosef` | (~yosef`@user/yosef/x-2947716) |
2023-09-06 08:23:06 +0200 | azimut | (~azimut@gateway/tor-sasl/azimut) |
2023-09-06 08:23:11 +0200 | caryhartline | (~caryhartl@168.182.58.169) (Quit: caryhartline) |
2023-09-06 08:23:53 +0200 | caryhartline | (~caryhartl@168.182.58.169) |
2023-09-06 08:24:13 +0200 | jinsun | (~jinsun@user/jinsun) (Ping timeout: 240 seconds) |
2023-09-06 08:28:11 +0200 | jinsun | (~jinsun@user/jinsun) |
2023-09-06 08:28:52 +0200 | Jackneill_ | (~Jackneill@20014C4E1E04F9007E194C209489FB5F.dsl.pool.telekom.hu) |
2023-09-06 08:31:05 +0200 | arahael | (~arahael@119-18-1-27.771201.syd.nbn.aussiebb.net) |
2023-09-06 08:35:24 +0200 | arahael | (~arahael@119-18-1-27.771201.syd.nbn.aussiebb.net) (Ping timeout: 248 seconds) |
2023-09-06 08:40:00 +0200 | arahael | (~arahael@119-18-1-27.771201.syd.nbn.aussiebb.net) |
2023-09-06 08:42:50 +0200 | sm | (~sm@plaintextaccounting/sm) |
2023-09-06 08:43:24 +0200 | sm | (~sm@plaintextaccounting/sm) (Client Quit) |
2023-09-06 08:45:38 +0200 | arahael | (~arahael@119-18-1-27.771201.syd.nbn.aussiebb.net) (Ping timeout: 258 seconds) |
2023-09-06 08:48:13 +0200 | tromp | (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) |
2023-09-06 08:52:31 +0200 | sord937 | (~sord937@gateway/tor-sasl/sord937) |
2023-09-06 08:57:30 +0200 | mima | (~mmh@net-2-38-141-18.cust.vodafonedsl.it) |
2023-09-06 08:57:31 +0200 | arahael | (~arahael@119-18-1-27.771201.syd.nbn.aussiebb.net) |
2023-09-06 09:01:27 +0200 | mankyKitty | (uid31287@id-31287.helmsley.irccloud.com) (Server closed connection) |
2023-09-06 09:01:37 +0200 | mankyKitty | (sid31287@id-31287.helmsley.irccloud.com) |
2023-09-06 09:02:07 +0200 | arahael | (~arahael@119-18-1-27.771201.syd.nbn.aussiebb.net) (Ping timeout: 258 seconds) |
2023-09-06 09:05:06 +0200 | chromoblob | (~user@37.113.180.113) |
2023-09-06 09:08:31 +0200 | coot | (~coot@89-69-206-216.dynamic.chello.pl) |
2023-09-06 09:09:21 +0200 | eggplantade | (~Eggplanta@2600:1700:38c5:d800:9c2e:82af:913e:28a3) (Remote host closed the connection) |
2023-09-06 09:09:57 +0200 | chromoblob | (~user@37.113.180.113) (Ping timeout: 260 seconds) |
2023-09-06 09:12:11 +0200 | <jackdk> | https://github.com/jcouyang/dhall-aws-cloudformation/blob/master/Fn.dhall Axman6 I only have the vaguest idea of how this works, but I can confidently say that none of us have needed to know or care to be able to use it. (It's an implementation of an AST for the `Fn::*` functions in CloudFormation templates) |
2023-09-06 09:16:26 +0200 | nate2 | (~nate@c-98-45-169-16.hsd1.ca.comcast.net) |
2023-09-06 09:16:32 +0200 | cfricke | (~cfricke@user/cfricke) |
2023-09-06 09:16:52 +0200 | Sgeo | (~Sgeo@user/sgeo) (Read error: Connection reset by peer) |
2023-09-06 09:17:44 +0200 | <Axman6> | I am impressed and disgusted at the same time |
2023-09-06 09:21:20 +0200 | nate2 | (~nate@c-98-45-169-16.hsd1.ca.comcast.net) (Ping timeout: 245 seconds) |
2023-09-06 09:24:38 +0200 | yosef` | (~yosef`@user/yosef/x-2947716) (Quit: Client closed) |
2023-09-06 09:26:04 +0200 | chele | (~chele@user/chele) |
2023-09-06 09:27:27 +0200 | tromp | (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…) |
2023-09-06 09:38:43 +0200 | mysl | (~mysl@user/mysl) (Ping timeout: 240 seconds) |
2023-09-06 09:39:50 +0200 | tromp | (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) |
2023-09-06 09:42:30 +0200 | gmg | (~user@user/gehmehgeh) |
2023-09-06 09:46:46 +0200 | fendor | (~fendor@2a02:8388:1640:be00:c785:45ab:c70:9d3f) |
2023-09-06 09:48:42 +0200 | eggplantade | (~Eggplanta@2600:1700:38c5:d800:9c2e:82af:913e:28a3) |
2023-09-06 09:49:17 +0200 | dtman34 | (~dtman34@2601:447:d000:93c9:e1b8:a026:e3cf:cdd2) |
2023-09-06 09:49:31 +0200 | sinbad | (~sinbad@user/sinbad) |
2023-09-06 09:53:06 +0200 | eggplantade | (~Eggplanta@2600:1700:38c5:d800:9c2e:82af:913e:28a3) (Ping timeout: 258 seconds) |
2023-09-06 09:56:43 +0200 | machinedgod | (~machinedg@d198-53-218-113.abhsia.telus.net) |
2023-09-06 09:57:23 +0200 | arahael | (~arahael@119-18-1-27.771201.syd.nbn.aussiebb.net) |
2023-09-06 09:59:12 +0200 | yosef` | (~yosef`@user/yosef/x-2947716) |
2023-09-06 10:02:41 +0200 | arahael | (~arahael@119-18-1-27.771201.syd.nbn.aussiebb.net) (Ping timeout: 258 seconds) |
2023-09-06 10:05:38 +0200 | Buggys | (Buggys@buggy.shelltalk.net) (Ping timeout: 246 seconds) |
2023-09-06 10:09:01 +0200 | econo_ | (uid147250@id-147250.tinside.irccloud.com) (Quit: Connection closed for inactivity) |
2023-09-06 10:12:12 +0200 | tzh | (~tzh@c-24-21-73-154.hsd1.wa.comcast.net) (Quit: zzz) |
2023-09-06 10:13:25 +0200 | Buggys | (Buggys@shelltalk.net) |
2023-09-06 10:14:39 +0200 | danza | (~francesco@151.35.98.106) (Read error: Connection reset by peer) |
2023-09-06 10:15:03 +0200 | danza | (~francesco@151.43.106.172) |
2023-09-06 10:16:06 +0200 | libertyprime | (~libertypr@203.96.203.44) (Ping timeout: 258 seconds) |
2023-09-06 10:19:13 +0200 | sm | (~sm@plaintextaccounting/sm) |
2023-09-06 10:19:33 +0200 | sm | (~sm@plaintextaccounting/sm) (Client Quit) |
2023-09-06 10:22:34 +0200 | YoungFrog | (~youngfrog@2a02:a03f:ca07:f900:f15e:5a48:ddbc:fdbc) (Quit: ZNC 1.7.x-git-3-96481995 - https://znc.in) |
2023-09-06 10:22:54 +0200 | YoungFrog | (~youngfrog@2a02:a03f:ca07:f900:fffe:2aed:9333:96be) |
2023-09-06 10:29:34 +0200 | Wstfgl0 | (~Me-me@146.102.215.218.dyn.iprimus.net.au) |
2023-09-06 10:29:37 +0200 | Wstfgl0 | (~Me-me@146.102.215.218.dyn.iprimus.net.au) (Excess Flood) |
2023-09-06 10:29:55 +0200 | Wstfgl0 | (~Me-me@146.102.215.218.dyn.iprimus.net.au) |
2023-09-06 10:29:57 +0200 | Wstfgl0 | (~Me-me@146.102.215.218.dyn.iprimus.net.au) (Excess Flood) |
2023-09-06 10:30:22 +0200 | danza | (~francesco@151.43.106.172) (Ping timeout: 245 seconds) |
2023-09-06 10:34:42 +0200 | danse-nr3 | (~francesco@151.43.106.172) |
2023-09-06 10:34:45 +0200 | libertyprime | (~libertypr@203.96.203.44) |
2023-09-06 10:38:14 +0200 | Wstfgl0 | (~Me-me@146.102.215.218.dyn.iprimus.net.au) |
2023-09-06 10:38:14 +0200 | Wstfgl0 | (~Me-me@146.102.215.218.dyn.iprimus.net.au) (Excess Flood) |
2023-09-06 10:41:24 +0200 | libertyprime | (~libertypr@203.96.203.44) (Ping timeout: 258 seconds) |
2023-09-06 10:41:41 +0200 | g | (g@libera/staff/glguy) (Ping timeout: 615 seconds) |
2023-09-06 10:42:25 +0200 | coot | (~coot@89-69-206-216.dynamic.chello.pl) (Quit: coot) |
2023-09-06 10:43:10 +0200 | mmhat | (~mmh@p200300f1c7178a3dee086bfffe095315.dip0.t-ipconnect.de) |
2023-09-06 10:43:56 +0200 | glguy | (g@libera/staff/glguy) (Ping timeout: 620 seconds) |
2023-09-06 10:51:03 +0200 | eggplantade | (~Eggplanta@2600:1700:38c5:d800:2985:35e0:893a:ad44) |
2023-09-06 10:52:02 +0200 | Me-me | (~me-me@2602:ff16:3:0:1:dc:beef:d00d) (Changing host) |
2023-09-06 10:52:02 +0200 | Me-me | (~me-me@user/me-me) |
2023-09-06 10:54:15 +0200 | artem | (~artem@c-73-103-90-145.hsd1.in.comcast.net) |
2023-09-06 10:54:15 +0200 | ulysses4ever | (~artem@c-73-103-90-145.hsd1.in.comcast.net) (Read error: Connection reset by peer) |
2023-09-06 10:56:37 +0200 | tromp | (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…) |
2023-09-06 11:00:42 +0200 | artem | (~artem@c-73-103-90-145.hsd1.in.comcast.net) (Ping timeout: 255 seconds) |
2023-09-06 11:01:10 +0200 | tromp | (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) |
2023-09-06 11:05:06 +0200 | chromoblob | (~user@37.113.180.113) |
2023-09-06 11:07:56 +0200 | ubert | (~Thunderbi@178.115.70.236.wireless.dyn.drei.com) (Ping timeout: 246 seconds) |
2023-09-06 11:08:24 +0200 | ubert | (~Thunderbi@91.141.52.78.wireless.dyn.drei.com) |
2023-09-06 11:11:02 +0200 | [itchyjunk] | (~itchyjunk@user/itchyjunk/x-7353470) |
2023-09-06 11:11:16 +0200 | chromoblob | (~user@37.113.180.113) (Ping timeout: 260 seconds) |
2023-09-06 11:28:19 +0200 | ft | (~ft@p3e9bcdd3.dip0.t-ipconnect.de) (Quit: leaving) |
2023-09-06 11:33:08 +0200 | CiaoSen | (~Jura@2a05:5800:2a2:4400:664b:f0ff:fe37:9ef) (Ping timeout: 246 seconds) |
2023-09-06 11:38:10 +0200 | tromp | (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…) |
2023-09-06 11:40:12 +0200 | yosef` | (~yosef`@user/yosef/x-2947716) (Quit: Client closed) |
2023-09-06 11:40:27 +0200 | kritzefitz | (~kritzefit@debian/kritzefitz) (Server closed connection) |
2023-09-06 11:40:30 +0200 | chromoblob | (~user@37.113.180.113) |
2023-09-06 11:40:40 +0200 | kritzefitz | (~kritzefit@debian/kritzefitz) |
2023-09-06 11:42:59 +0200 | erty | (~user@user/aeroplane) |
2023-09-06 11:48:58 +0200 | chromoblob | (~user@37.113.180.113) () |
2023-09-06 11:58:28 +0200 | tromp | (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) |
2023-09-06 12:07:02 +0200 | Nixkerna- | (~Nixkernal@119.4.193.178.dynamic.wline.res.cust.swisscom.ch) |
2023-09-06 12:07:45 +0200 | xff0x | (~xff0x@125x103x176x34.ap125.ftth.ucom.ne.jp) (Ping timeout: 255 seconds) |
2023-09-06 12:08:29 +0200 | ulysses4ever | (~artem@2601:249:4380:8950:f474:e3f8:9806:671) |
2023-09-06 12:09:36 +0200 | mima | (~mmh@net-2-38-141-18.cust.vodafonedsl.it) (Ping timeout: 260 seconds) |
2023-09-06 12:10:49 +0200 | Nixkerna- | (~Nixkernal@119.4.193.178.dynamic.wline.res.cust.swisscom.ch) (Client Quit) |
2023-09-06 12:19:00 +0200 | L29Ah | (~L29Ah@wikipedia/L29Ah) (Ping timeout: 255 seconds) |
2023-09-06 12:23:01 +0200 | lortabac | (~lortabac@2a01:e0a:541:b8f0:7324:f483:eea:6923) (Ping timeout: 260 seconds) |
2023-09-06 12:31:48 +0200 | Buggys | (Buggys@shelltalk.net) (Ping timeout: 258 seconds) |
2023-09-06 12:39:38 +0200 | stites | (~stites@2601:19c:4180:2fa0:9fc4:9658:a440:7fc2) (Ping timeout: 246 seconds) |
2023-09-06 12:40:19 +0200 | stites | (~stites@2601:19c:4180:2fa0:2c5c:3127:19d0:704a) |
2023-09-06 12:40:31 +0200 | Buggys | (Buggys@shelltalk.net) |
2023-09-06 12:41:18 +0200 | lortabac | (~lortabac@2a01:e0a:541:b8f0:4c6f:d24c:af4b:1ac3) |
2023-09-06 12:48:49 +0200 | phma | (~phma@host-67-44-208-151.hnremote.net) (Read error: Connection reset by peer) |
2023-09-06 12:50:15 +0200 | phma | (~phma@2001:5b0:210f:788:531c:c4e2:b973:9806) |
2023-09-06 12:51:29 +0200 | L29Ah | (~L29Ah@wikipedia/L29Ah) |
2023-09-06 12:53:24 +0200 | waleee | (~waleee@2001:9b0:21c:4000:5bf9:6515:c030:57b7) |
2023-09-06 12:53:44 +0200 | mima | (~mmh@net-93-148-94-242.cust.dsl.teletu.it) |
2023-09-06 12:58:12 +0200 | stiell_ | (~stiell@gateway/tor-sasl/stiell) (Remote host closed the connection) |
2023-09-06 12:58:36 +0200 | stiell_ | (~stiell@gateway/tor-sasl/stiell) |
2023-09-06 13:06:14 +0200 | xff0x | (~xff0x@2405:6580:b080:900:f47d:72e7:1ecd:579d) |
2023-09-06 13:08:18 +0200 | CiaoSen | (~Jura@2a05:5800:2a2:4400:664b:f0ff:fe37:9ef) |
2023-09-06 13:15:03 +0200 | califax | (~califax@user/califx) (Write error: Connection reset by peer) |
2023-09-06 13:15:03 +0200 | stiell_ | (~stiell@gateway/tor-sasl/stiell) (Remote host closed the connection) |
2023-09-06 13:15:03 +0200 | chiselfuse | (~chiselfus@user/chiselfuse) (Write error: Connection reset by peer) |
2023-09-06 13:15:03 +0200 | azimut | (~azimut@gateway/tor-sasl/azimut) (Write error: Connection reset by peer) |
2023-09-06 13:15:23 +0200 | califax | (~califax@user/califx) |
2023-09-06 13:15:31 +0200 | stiell_ | (~stiell@gateway/tor-sasl/stiell) |
2023-09-06 13:15:36 +0200 | azimut | (~azimut@gateway/tor-sasl/azimut) |
2023-09-06 13:15:37 +0200 | chiselfuse | (~chiselfus@user/chiselfuse) |
2023-09-06 13:17:56 +0200 | nate2 | (~nate@c-98-45-169-16.hsd1.ca.comcast.net) |
2023-09-06 13:18:34 +0200 | stites | (~stites@2601:19c:4180:2fa0:2c5c:3127:19d0:704a) (Ping timeout: 258 seconds) |
2023-09-06 13:18:44 +0200 | stites | (~stites@2601:19c:4180:2fa0:1494:4fbd:f1f4:16a7) |
2023-09-06 13:18:50 +0200 | aaronv | (~aaronv@user/aaronv) (Ping timeout: 246 seconds) |
2023-09-06 13:19:39 +0200 | tromp | (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…) |
2023-09-06 13:19:50 +0200 | aaronv | (~aaronv@user/aaronv) |
2023-09-06 13:20:32 +0200 | gmg | (~user@user/gehmehgeh) (Remote host closed the connection) |
2023-09-06 13:21:21 +0200 | gmg | (~user@user/gehmehgeh) |
2023-09-06 13:22:20 +0200 | tromp | (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) |
2023-09-06 13:23:17 +0200 | nate2 | (~nate@c-98-45-169-16.hsd1.ca.comcast.net) (Ping timeout: 246 seconds) |
2023-09-06 13:26:41 +0200 | coot | (~coot@89-69-206-216.dynamic.chello.pl) |
2023-09-06 13:31:10 +0200 | sinbad | (~sinbad@user/sinbad) (Quit: Leaving.) |
2023-09-06 13:33:42 +0200 | danse-nr3 | (~francesco@151.43.106.172) (Ping timeout: 246 seconds) |
2023-09-06 13:34:28 +0200 | phma_ | (phma@2001:5b0:210f:788:531c:c4e2:b973:9806) |
2023-09-06 13:37:27 +0200 | phma | (~phma@2001:5b0:210f:788:531c:c4e2:b973:9806) (Ping timeout: 245 seconds) |
2023-09-06 13:37:49 +0200 | danse-nr3 | (~francesco@151.43.106.172) |
2023-09-06 13:38:44 +0200 | Keinbou | (~Keinbou@78.26.243.100) |
2023-09-06 13:46:21 +0200 | <Keinbou> | Greetings everyone. I have a problem regarding GHCup installation. My Windows cannot open certain file: msys2_shell.cmd. It says it does not exist. Any suggestions? |
2023-09-06 13:50:41 +0200 | <jackdk> | Keinbou: I don't have and have not developed for windows for a very long time, but it appears that file is part of msys2, which is a suite of tools to provide a unix-like shell for running traditional `./configure` scripts |
2023-09-06 13:51:06 +0200 | <jackdk> | Keinbou: https://www.haskell.org/ghcup/install/ has a manual install section which you could try, which talks about installing and setting up msys2? |
2023-09-06 13:51:30 +0200 | <jackdk> | Keinbou: sorry I can't be more help, it's late here and I need to sleep, but I didn't want to leave you hanging |
2023-09-06 13:51:38 +0200 | chexum | (~quassel@gateway/tor-sasl/chexum) (Remote host closed the connection) |
2023-09-06 13:51:55 +0200 | chexum | (~quassel@gateway/tor-sasl/chexum) |
2023-09-06 13:53:06 +0200 | <jackdk> | (The manual windows install instructions are very close to the bottom of that page) |
2023-09-06 13:57:31 +0200 | danse-nr3 | (~francesco@151.43.106.172) (Ping timeout: 244 seconds) |
2023-09-06 13:58:17 +0200 | dcoutts | (~duncan@cpc69402-oxfd27-2-0-cust903.4-3.cable.virginm.net) |
2023-09-06 13:59:17 +0200 | <Keinbou> | Thank you! I'll try. |
2023-09-06 14:02:07 +0200 | Lord_of_Life | (~Lord@user/lord-of-life/x-2819915) (Excess Flood) |
2023-09-06 14:03:09 +0200 | Lord_of_Life | (~Lord@user/lord-of-life/x-2819915) |
2023-09-06 14:11:31 +0200 | Skillkraft | (~Skillkraf@189.172.56.161) |
2023-09-06 14:11:32 +0200 | <Skillkraft> | Read a children's story about diarrhea and empathy on an airplane! ::: he Adventure of Westeastern Flight 194: Emily Goes Poopie |
2023-09-06 14:11:32 +0200 | <Skillkraft> | Delta-India-Alpha-Romeo-Romeo-Hotel-Echo-Alpha! We have a huge fecal mess in the cabin! ::: https://justpaste.it/mile-high-diarrhea-delta-airline |
2023-09-06 14:12:43 +0200 | Skillkraft | Skiltoniano |
2023-09-06 14:12:44 +0200 | Skiltoniano | (~Skillkraf@189.172.56.161) (K-Lined) |
2023-09-06 14:18:19 +0200 | sm | (~sm@plaintextaccounting/sm) |
2023-09-06 14:19:11 +0200 | sm | (~sm@plaintextaccounting/sm) (Client Quit) |
2023-09-06 14:19:27 +0200 | srk | (~sorki@user/srk) (Server closed connection) |
2023-09-06 14:19:46 +0200 | srk | (~sorki@user/srk) |
2023-09-06 14:20:37 +0200 | sm | (~sm@plaintextaccounting/sm) |
2023-09-06 14:21:49 +0200 | danse-nr3 | (~francesco@ge-19-108-43.service.infuturo.it) |
2023-09-06 14:27:20 +0200 | Guest|28 | (~Guest|28@104.28.247.174) |
2023-09-06 14:27:48 +0200 | <Guest|28> | Hi |
2023-09-06 14:28:07 +0200 | <Guest|28> | How to run .hs file after installation |
2023-09-06 14:31:27 +0200 | m1dnight | (~christoph@78-22-4-67.access.telenet.be) (Server closed connection) |
2023-09-06 14:31:59 +0200 | m1dnight | (~christoph@78-22-4-67.access.telenet.be) |
2023-09-06 14:33:07 +0200 | bitdex | (~bitdex@gateway/tor-sasl/bitdex) (Quit: = "") |
2023-09-06 14:34:43 +0200 | Keinbou | (~Keinbou@78.26.243.100) (Quit: Connection closed) |
2023-09-06 14:34:57 +0200 | <danse-nr3> | Guest|28, did you install GHCUp or what? |
2023-09-06 14:45:17 +0200 | Guest|28 | (~Guest|28@104.28.247.174) (Quit: Connection closed) |
2023-09-06 14:57:20 +0200 | arahael | (~arahael@119-18-1-27.771201.syd.nbn.aussiebb.net) |
2023-09-06 14:57:54 +0200 | hgolden | (~hgolden@2603-8000-9d00-3ed1-fc05-5499-f77c-fbe5.res6.spectrum.com) (Remote host closed the connection) |
2023-09-06 14:59:53 +0200 | hgolden | (~hgolden@2603-8000-9d00-3ed1-fc05-5499-f77c-fbe5.res6.spectrum.com) |
2023-09-06 15:01:54 +0200 | arahael | (~arahael@119-18-1-27.771201.syd.nbn.aussiebb.net) (Ping timeout: 255 seconds) |
2023-09-06 15:16:15 +0200 | ystael | (~ystael@user/ystael) (Ping timeout: 246 seconds) |
2023-09-06 15:18:30 +0200 | FinnElija | (~finn_elij@user/finn-elija/x-0085643) (Remote host closed the connection) |
2023-09-06 15:18:59 +0200 | FinnElija | (~finn_elij@user/finn-elija/x-0085643) |
2023-09-06 15:36:47 +0200 | caryhartline | (~caryhartl@168.182.58.169) (Quit: caryhartline) |
2023-09-06 15:37:08 +0200 | ddellacosta | (~ddellacos@ool-44c738de.dyn.optonline.net) (Quit: WeeChat 4.0.3) |
2023-09-06 15:41:07 +0200 | tromp | (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…) |
2023-09-06 15:44:38 +0200 | Qudit | (~user@user/Qudit) (Read error: Connection reset by peer) |
2023-09-06 15:45:08 +0200 | sinbad | (~sinbad@user/sinbad) |
2023-09-06 15:46:21 +0200 | aaronv | (~aaronv@user/aaronv) (Ping timeout: 246 seconds) |
2023-09-06 15:50:37 +0200 | notzmv | (~zmv@user/notzmv) |
2023-09-06 15:54:00 +0200 | chexum | (~quassel@gateway/tor-sasl/chexum) (Ping timeout: 246 seconds) |
2023-09-06 15:58:41 +0200 | ystael | (~ystael@user/ystael) |
2023-09-06 16:00:53 +0200 | shiraeeshi | (~shiraeesh@46.42.244.59) |
2023-09-06 16:02:55 +0200 | tromp | (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) |
2023-09-06 16:04:00 +0200 | glguy | (glguy@libera/staff/glguy) |
2023-09-06 16:07:20 +0200 | arahael | (~arahael@119-18-1-27.771201.syd.nbn.aussiebb.net) |
2023-09-06 16:07:27 +0200 | flukiluke | (~m-7humut@2603:c023:c000:6c7e:8945:ad24:9113:a962) (Server closed connection) |
2023-09-06 16:07:49 +0200 | flukiluke | (~m-7humut@2603:c023:c000:6c7e:8945:ad24:9113:a962) |
2023-09-06 16:08:02 +0200 | chexum | (~quassel@gateway/tor-sasl/chexum) |
2023-09-06 16:09:18 +0200 | g | (g@libera/staff/glguy) |
2023-09-06 16:13:25 +0200 | gatekempt | (~gatekempt@user/gatekempt) |
2023-09-06 16:15:11 +0200 | arahael | (~arahael@119-18-1-27.771201.syd.nbn.aussiebb.net) (Ping timeout: 260 seconds) |
2023-09-06 16:20:36 +0200 | pavonia | (~user@user/siracusa) |
2023-09-06 16:20:49 +0200 | jackneill__ | (~Jackneill@2001:4c4e:1e04:f900:7e19:4c20:9489:fb5f) |
2023-09-06 16:21:25 +0200 | Jackneill_ | (~Jackneill@20014C4E1E04F9007E194C209489FB5F.dsl.pool.telekom.hu) (Ping timeout: 258 seconds) |
2023-09-06 16:22:24 +0200 | CiaoSen | (~Jura@2a05:5800:2a2:4400:664b:f0ff:fe37:9ef) (Ping timeout: 246 seconds) |
2023-09-06 16:22:24 +0200 | jackneill__ | (~Jackneill@2001:4c4e:1e04:f900:7e19:4c20:9489:fb5f) (Excess Flood) |
2023-09-06 16:22:55 +0200 | mikoto-chan | (~mikoto-ch@ip-83-134-209-157.dsl.scarlet.be) |
2023-09-06 16:23:29 +0200 | jackneill__ | (~Jackneill@20014C4E1E04F9007E194C209489FB5F.dsl.pool.telekom.hu) |
2023-09-06 16:25:35 +0200 | thegeekinside | (~thegeekin@189.180.122.37) |
2023-09-06 16:26:44 +0200 | arahael | (~arahael@119-18-1-27.771201.syd.nbn.aussiebb.net) |
2023-09-06 16:27:01 +0200 | caryhartline | (~caryhartl@168.182.58.169) |
2023-09-06 16:31:37 +0200 | arahael | (~arahael@119-18-1-27.771201.syd.nbn.aussiebb.net) (Ping timeout: 245 seconds) |
2023-09-06 16:31:46 +0200 | <haskellbridge> | <jean-paul.> Anyone have any thoughts on how to implement / represent "SHA256d" using cryptonite? Should I define my own "SHA256d" like "SHA256" and then implement all of the classes that SHA256 implements? This sounds a bit tedious :/ A shortcut would be nice ... |
2023-09-06 16:33:15 +0200 | <haskellbridge> | <jean-paul.> I'm also not even _sure_ SHA256d fits into cryptonite's HashAlgorithm class :/ |
2023-09-06 16:34:21 +0200 | fendor | (~fendor@2a02:8388:1640:be00:c785:45ab:c70:9d3f) (Remote host closed the connection) |
2023-09-06 16:34:49 +0200 | <danse-nr3> | is that SHA246 digest? |
2023-09-06 16:35:00 +0200 | cptaffe- | (~cptaffe@2600:1700:f08:111f::18e7) |
2023-09-06 16:35:03 +0200 | erty | (~user@user/aeroplane) (Ping timeout: 255 seconds) |
2023-09-06 16:35:13 +0200 | cptaffe | (~cptaffe@2600:1700:f08:111f::18e7) (Ping timeout: 240 seconds) |
2023-09-06 16:35:30 +0200 | <geekosaur> | I thought everyone was moving to crypton, not that that necessarily changes things |
2023-09-06 16:35:36 +0200 | <haskellbridge> | <jean-paul.> It's SHA256 where the digest is fed through SHA256 again |
2023-09-06 16:35:47 +0200 | <haskellbridge> | <jean-paul.> geekosaur: Yes, I suppose, but I'm not there yet. |
2023-09-06 16:39:31 +0200 | ddellacosta | (~ddellacos@ool-44c738de.dyn.optonline.net) |
2023-09-06 16:39:36 +0200 | coot | (~coot@89-69-206-216.dynamic.chello.pl) (Remote host closed the connection) |
2023-09-06 16:40:02 +0200 | coot | (~coot@89-69-206-216.dynamic.chello.pl) |
2023-09-06 16:44:23 +0200 | mc47 | (~mc47@xmonad/TheMC47) |
2023-09-06 16:44:27 +0200 | ystael | (~ystael@user/ystael) (Read error: Connection reset by peer) |
2023-09-06 16:46:32 +0200 | Feuermagier_ | (~Feuermagi@user/feuermagier) |
2023-09-06 16:46:32 +0200 | Feuermagier | (~Feuermagi@user/feuermagier) (Killed (tungsten.libera.chat (Nickname regained by services))) |
2023-09-06 16:46:32 +0200 | Feuermagier_ | Feuermagier |
2023-09-06 16:47:34 +0200 | cael_ | (~quassel@host109-149-135-250.range109-149.btcentralplus.com) |
2023-09-06 16:50:30 +0200 | erty | (~user@user/aeroplane) |
2023-09-06 16:53:52 +0200 | <cael_> | Hello, I'm new to haskell, whats the haskell community like |
2023-09-06 16:55:15 +0200 | <haskellbridge> | <jean-paul.> a warm summer's day |
2023-09-06 16:56:31 +0200 | <cael_> | glad to hear it |
2023-09-06 16:56:49 +0200 | swistak | (~swistak@185.21.216.141) |
2023-09-06 16:57:52 +0200 | <cael_> | Its in an interesting place as a programming language, being a relativly popular language developed in academia |
2023-09-06 16:59:10 +0200 | <cael_> | functional programming is also quite interesting as a concept, I suppose it would be nice to have another perspective / approach to programming |
2023-09-06 17:00:14 +0200 | <mauke> | what's your background? |
2023-09-06 17:00:22 +0200 | <cael_> | physics |
2023-09-06 17:00:40 +0200 | <cael_> | the only programming language I would call myself profficient in is python |
2023-09-06 17:00:47 +0200 | <mauke> | ah |
2023-09-06 17:01:21 +0200 | <danse-nr3> | i recall some physicists mentioning fortran as a popular language in that field |
2023-09-06 17:02:57 +0200 | <cael_> | I'm currently an undergrad, I havent encounterd it but I have heard that as well |
2023-09-06 17:02:58 +0200 | <haskellbridge> | <jean-paul.> fortran will definitely give you a new perspective if you're coming from python. |
2023-09-06 17:03:33 +0200 | <sinbad> | cael_: here you go with haskell in physics: https://discourse.haskell.org/t/book-learn-physics-with-functional-programming/7533 |
2023-09-06 17:04:28 +0200 | <mauke> | > [ x^2 | x <- [1 .. 10], even x ] -- have some comprehension |
2023-09-06 17:04:29 +0200 | <lambdabot> | [4,16,36,64,100] |
2023-09-06 17:05:24 +0200 | <danse-nr3> | the python-friendly feature i like the most in haskell is doctests |
2023-09-06 17:05:45 +0200 | <mauke> | what's that? |
2023-09-06 17:06:17 +0200 | <cael_> | I've had a brief look through the physics book, I've also started https://book.realworldhaskell.org/ |
2023-09-06 17:06:50 +0200 | jeetelongname | (~jeet@cpc96970-rdng25-2-0-cust390.15-3.cable.virginm.net) |
2023-09-06 17:06:55 +0200 | <cael_> | idk if this is the best resource to learn it from scratch |
2023-09-06 17:07:02 +0200 | hiyori | (~hiyori@user/hiyori) |
2023-09-06 17:07:27 +0200 | arahael | (~arahael@119-18-1-27.771201.syd.nbn.aussiebb.net) |
2023-09-06 17:07:28 +0200 | <danse-nr3> | https://hackage.haskell.org/package/doctest-0.22.1#a-basic-example mauke |
2023-09-06 17:07:32 +0200 | <EvanR> | cael_, here's what I used... https://www.haskell.org/tutorial/ |
2023-09-06 17:08:06 +0200 | <mauke> | huh. I don't even remember how I learned Haskell |
2023-09-06 17:08:09 +0200 | <EvanR> | skip to Values, Types, and Other Goodies to start in media res |
2023-09-06 17:08:49 +0200 | <haskellbridge> | <jean-paul.> I got this far on a `DoubleHash` `HashAlgorithm` but I'm not sure what's going on with `digestPtr` there - https://gist.github.com/exarkun/f0e5f6a1688b72b78b0390ab3c4f08bc |
2023-09-06 17:09:02 +0200 | <mauke> | medias, but now I have to look up the declension of 'res' |
2023-09-06 17:09:44 +0200 | <danse-nr3> | it means "start from the middle" |
2023-09-06 17:10:23 +0200 | <haskellbridge> | <jean-paul.> awww, nevermind, I just put some parens in a silly place. |
2023-09-06 17:10:41 +0200 | <geekosaur> | I don't think I recommend the "Gentle Introduction" to someone who isn't already reasonably well versed in SML/NJ or other functional language; iirc it assumes you understand things like pattern matching already and just covers Haskell's differences in that area |
2023-09-06 17:10:52 +0200 | <geekosaur> | I started from it but I already knew some SML |
2023-09-06 17:10:54 +0200 | <mauke> | ah, accusative plural |
2023-09-06 17:11:40 +0200 | <mauke> | "into the middle things" |
2023-09-06 17:11:57 +0200 | arahael | (~arahael@119-18-1-27.771201.syd.nbn.aussiebb.net) (Ping timeout: 255 seconds) |
2023-09-06 17:12:10 +0200 | <mauke> | right, I already knew OCaml when I started looking at Haskell |
2023-09-06 17:12:31 +0200 | mima | (~mmh@net-93-148-94-242.cust.dsl.teletu.it) (Quit: leaving) |
2023-09-06 17:12:39 +0200 | <EvanR> | section 2 explains pattern matching almost without even explaining it, it's great |
2023-09-06 17:12:43 +0200 | ystael | (~ystael@user/ystael) |
2023-09-06 17:13:06 +0200 | <mauke> | jean-paul. btw, 'do X; pure ()' is 'void X' |
2023-09-06 17:13:29 +0200 | <geekosaur> | anyway for free resources I recommend the wikibook, for paid I recommend Hutton's book |
2023-09-06 17:13:36 +0200 | <geekosaur> | @where wikibook |
2023-09-06 17:13:36 +0200 | <lambdabot> | http://en.wikibooks.org/wiki/Haskell |
2023-09-06 17:13:42 +0200 | <haskellbridge> | <jean-paul.> mauke: indeed, thanks. |
2023-09-06 17:14:08 +0200 | arahael | (~arahael@119-18-1-27.771201.syd.nbn.aussiebb.net) |
2023-09-06 17:14:14 +0200 | <geekosaur> | @where pih |
2023-09-06 17:14:14 +0200 | <lambdabot> | "Programming in Haskell" by Graham Hutton in 2007-01-15,2016-09-01 at <http://www.cs.nott.ac.uk/~pszgmh/pih.html> |
2023-09-06 17:14:37 +0200 | <EvanR> | also you can read a pamphlet sized awful-looking free page at an easily remembered URL while also buying 100 dollars worth of textbooks for later |
2023-09-06 17:14:52 +0200 | <danse-nr3> | @where doctest |
2023-09-06 17:14:52 +0200 | <lambdabot> | I know nothing about doctest. |
2023-09-06 17:15:01 +0200 | <geekosaur> | @hackage doctest |
2023-09-06 17:15:01 +0200 | <lambdabot> | https://hackage.haskell.org/package/doctest |
2023-09-06 17:15:07 +0200 | <danse-nr3> | cheers |
2023-09-06 17:15:10 +0200 | <mauke> | danse-nr3: thanks |
2023-09-06 17:15:27 +0200 | <cael_> | hmm thanks, I did the interactive tutorial on haskell.org which introduced pattern matching, I know I will need to go into more depth but I enjoyed the tutorial |
2023-09-06 17:15:36 +0200 | <mauke> | @where+ doctest https://hackage.haskell.org/package/doctest |
2023-09-06 17:15:36 +0200 | <lambdabot> | Okay. |
2023-09-06 17:15:48 +0200 | <cael_> | currently looking at the above resources |
2023-09-06 17:17:55 +0200 | <geekosaur> | there's also |
2023-09-06 17:18:00 +0200 | <geekosaur> | @where cis194 |
2023-09-06 17:18:00 +0200 | <lambdabot> | <https://github.com/byorgey/haskell-course>,<https://www.seas.upenn.edu/~cis194/spring13/lectures.html> |
2023-09-06 17:18:03 +0200 | bratwurst | (~blaadsfa@2604:3d09:207f:f650:216:3eff:fe5a:a1f8) |
2023-09-06 17:18:06 +0200 | ystael | (~ystael@user/ystael) (Read error: Connection reset by peer) |
2023-09-06 17:18:24 +0200 | arahael | (~arahael@119-18-1-27.771201.syd.nbn.aussiebb.net) (Ping timeout: 246 seconds) |
2023-09-06 17:18:29 +0200 | lortabac | (~lortabac@2a01:e0a:541:b8f0:4c6f:d24c:af4b:1ac3) (Quit: WeeChat 2.8) |
2023-09-06 17:18:29 +0200 | <geekosaur> | which, since you're not actually taking the course, you can do at your own pace |
2023-09-06 17:18:35 +0200 | cfricke | (~cfricke@user/cfricke) (Quit: WeeChat 4.0.4) |
2023-09-06 17:19:41 +0200 | nate2 | (~nate@c-98-45-169-16.hsd1.ca.comcast.net) |
2023-09-06 17:21:38 +0200 | <haskellbridge> | <jean-paul.> I can say I did cis194 after tinkering with some other Haskell resources on and off and I found cis194 to be very helpful in solidifying my understanding of a lot of pieces. |
2023-09-06 17:22:06 +0200 | arahael | (~arahael@119-18-1-27.771201.syd.nbn.aussiebb.net) |
2023-09-06 17:23:19 +0200 | ystael | (~ystael@user/ystael) |
2023-09-06 17:25:03 +0200 | nate2 | (~nate@c-98-45-169-16.hsd1.ca.comcast.net) (Ping timeout: 258 seconds) |
2023-09-06 17:25:20 +0200 | phma_ | phma |
2023-09-06 17:29:15 +0200 | arahael | (~arahael@119-18-1-27.771201.syd.nbn.aussiebb.net) (Ping timeout: 246 seconds) |
2023-09-06 17:30:02 +0200 | ystael | (~ystael@user/ystael) (Ping timeout: 258 seconds) |
2023-09-06 17:34:19 +0200 | sm | (~sm@plaintextaccounting/sm) (Quit: sm) |
2023-09-06 17:34:31 +0200 | bratwurst | (~blaadsfa@2604:3d09:207f:f650:216:3eff:fe5a:a1f8) (Ping timeout: 244 seconds) |
2023-09-06 17:35:59 +0200 | Simikando | (~Simikando@adsl-dyn91.91-127-22.t-com.sk) |
2023-09-06 17:38:28 +0200 | jeetelongname | (~jeet@cpc96970-rdng25-2-0-cust390.15-3.cable.virginm.net) (Remote host closed the connection) |
2023-09-06 17:39:03 +0200 | arahael | (~arahael@119-18-1-27.771201.syd.nbn.aussiebb.net) |
2023-09-06 17:39:41 +0200 | notzmv | (~zmv@user/notzmv) (Ping timeout: 244 seconds) |
2023-09-06 17:42:22 +0200 | eggplantade | (~Eggplanta@2600:1700:38c5:d800:2985:35e0:893a:ad44) (Remote host closed the connection) |
2023-09-06 17:42:38 +0200 | eggplantade | (~Eggplanta@2600:1700:38c5:d800:2985:35e0:893a:ad44) |
2023-09-06 17:43:42 +0200 | arahael | (~arahael@119-18-1-27.771201.syd.nbn.aussiebb.net) (Ping timeout: 245 seconds) |
2023-09-06 17:43:50 +0200 | thegeekinside | (~thegeekin@189.180.122.37) (Ping timeout: 258 seconds) |
2023-09-06 17:43:55 +0200 | notzmv | (~zmv@user/notzmv) |
2023-09-06 17:47:23 +0200 | chromoblob | (~user@37.113.180.113) |
2023-09-06 17:48:39 +0200 | kuribas | (~user@ip-188-118-57-242.reverse.destiny.be) |
2023-09-06 17:49:51 +0200 | <chromoblob> | is there a thing such as "freestanding Haskell"? sure you need an RTS anyways, but... |
2023-09-06 17:50:30 +0200 | <geekosaur> | you might look at jhc |
2023-09-06 17:51:04 +0200 | <c_wraith> | like... fully statically linked? |
2023-09-06 17:51:19 +0200 | <mauke> | ... House? |
2023-09-06 17:51:40 +0200 | <c_wraith> | people have used alpine linux to get fully standalone linux binaries out of GHC |
2023-09-06 17:51:54 +0200 | <geekosaur> | so now we have three different notions of what you meant; could you elucidate? |
2023-09-06 17:52:36 +0200 | <chromoblob> | no, freestanding is unrelated to fully statically linked |
2023-09-06 17:53:20 +0200 | <chromoblob> | i mean, without support of OS interface |
2023-09-06 17:53:47 +0200 | econo_ | (uid147250@id-147250.tinside.irccloud.com) |
2023-09-06 17:54:10 +0200 | <EvanR> | there was a project to get haskell to run on bare metal... what was it called |
2023-09-06 17:54:17 +0200 | <geekosaur> | halvm? |
2023-09-06 17:54:20 +0200 | <EvanR> | yeah |
2023-09-06 17:55:06 +0200 | <mauke> | @where house |
2023-09-06 17:55:06 +0200 | <lambdabot> | http://programatica.cs.pdx.edu/House/ |
2023-09-06 17:57:47 +0200 | <EvanR> | yeah that to |
2023-09-06 17:57:51 +0200 | <chromoblob> | ok thanks |
2023-09-06 17:58:13 +0200 | <chromoblob> | i have a weak, purely idle interest in asking |
2023-09-06 17:58:15 +0200 | thegeekinside | (~thegeekin@189.180.122.37) |
2023-09-06 17:58:35 +0200 | <EvanR> | damn I want the gedit program featured In House |
2023-09-06 17:59:44 +0200 | <haskellbridge> | <jean-paul.> I have worked with Foreign.C for byte strings and such before ... but now I have a `Ptr (Digest a)`... Can I work on the `Digest a` from Haskell or is this only for handing off to C? |
2023-09-06 18:00:14 +0200 | <EvanR> | if you have functions that work on Ptr (Digest a), you're golden! |
2023-09-06 18:00:21 +0200 | <haskellbridge> | <jean-paul.> :) |
2023-09-06 18:00:27 +0200 | <haskellbridge> | <jean-paul.> And if not? |
2023-09-06 18:00:36 +0200 | <EvanR> | otherwise you can use peek to get the Digest a, if it has a Storable instance |
2023-09-06 18:00:40 +0200 | <haskellbridge> | <jean-paul.> Or ... How do I write such a function? :) |
2023-09-06 18:00:48 +0200 | <haskellbridge> | <jean-paul.> it has no Storable instance :/ |
2023-09-06 18:00:51 +0200 | <EvanR> | hmm |
2023-09-06 18:01:09 +0200 | <geekosaur> | you're not guaranteed to have a `Digest`, it's a phantom parameter for the `Ptr` (`Addr#`) |
2023-09-06 18:01:45 +0200 | <EvanR> | so it's probably intended to be an opaque pointer here |
2023-09-06 18:01:51 +0200 | stites | (~stites@2601:19c:4180:2fa0:1494:4fbd:f1f4:16a7) (Ping timeout: 258 seconds) |
2023-09-06 18:02:11 +0200 | <geekosaur> | you can access the memory using the `Foreign` interface but you need to know what it represents, which will depend on where you got it from |
2023-09-06 18:02:24 +0200 | ystael | (~ystael@user/ystael) |
2023-09-06 18:02:36 +0200 | <haskellbridge> | <jean-paul.> Digest has a ByteArrayAccess instance... but I couldn't see how that would help |
2023-09-06 18:03:18 +0200 | <EvanR> | that sounds promising |
2023-09-06 18:03:39 +0200 | stites | (~stites@2607:fb91:dc0:4d13:97ee:5235:aade:8ffa) |
2023-09-06 18:04:27 +0200 | <geekosaur> | "For example function convert can transform one ByteArrayAccess concrete type like Digest to a ByteString" |
2023-09-06 18:05:10 +0200 | eggplantade | (~Eggplanta@2600:1700:38c5:d800:2985:35e0:893a:ad44) (Remote host closed the connection) |
2023-09-06 18:05:29 +0200 | <mauke> | doesn't help with the Ptr part, though |
2023-09-06 18:05:43 +0200 | <haskellbridge> | <jean-paul.> Yea, I don't see how to get through the Ptr... |
2023-09-06 18:06:02 +0200 | tromp | (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…) |
2023-09-06 18:06:22 +0200 | <geekosaur> | yeh, I just noticed that, it can go *to* a `Ptr` but not *from* |
2023-09-06 18:07:00 +0200 | <EvanR> | safety first |
2023-09-06 18:09:14 +0200 | <geekosaur> | but it looks like `ByteArray` works with `Ptr`s, and `withByteArray` seems to be what you want? |
2023-09-06 18:10:13 +0200 | <mauke> | we don't have a bytearray |
2023-09-06 18:10:44 +0200 | <haskellbridge> | <jean-paul.> I have a `Ptr (Digest a)` |
2023-09-06 18:12:07 +0200 | shiraeeshi | (~shiraeesh@46.42.244.59) (Remote host closed the connection) |
2023-09-06 18:12:24 +0200 | shiraeeshi | (~shiraeesh@46.42.244.59) |
2023-09-06 18:15:05 +0200 | thegeekinside | (~thegeekin@189.180.122.37) (Ping timeout: 245 seconds) |
2023-09-06 18:22:03 +0200 | danse-nr3_ | (~francesco@151.35.114.227) |
2023-09-06 18:22:06 +0200 | danse-nr3 | (~francesco@ge-19-108-43.service.infuturo.it) (Read error: Connection reset by peer) |
2023-09-06 18:22:48 +0200 | mmhat | (~mmh@p200300f1c7178a3dee086bfffe095315.dip0.t-ipconnect.de) (Quit: WeeChat 4.0.4) |
2023-09-06 18:25:15 +0200 | tromp | (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) |
2023-09-06 18:25:17 +0200 | kuribas | (~user@ip-188-118-57-242.reverse.destiny.be) (Remote host closed the connection) |
2023-09-06 18:25:27 +0200 | aku | (~aku@65.108.245.241) (Server closed connection) |
2023-09-06 18:25:35 +0200 | aku | (~aku@65.108.245.241) |
2023-09-06 18:28:00 +0200 | shiraeeshi | (~shiraeesh@46.42.244.59) (Ping timeout: 255 seconds) |
2023-09-06 18:28:38 +0200 | eggplantade | (~Eggplanta@2600:1700:38c5:d800:2985:35e0:893a:ad44) |
2023-09-06 18:31:38 +0200 | ubert | (~Thunderbi@91.141.52.78.wireless.dyn.drei.com) (Ping timeout: 246 seconds) |
2023-09-06 18:34:06 +0200 | caryhartline | (~caryhartl@168.182.58.169) (Read error: Connection reset by peer) |
2023-09-06 18:38:53 +0200 | _ht | (~Thunderbi@28-52-174-82.ftth.glasoperator.nl) |
2023-09-06 18:39:42 +0200 | danse-nr3_ | (~francesco@151.35.114.227) (Ping timeout: 255 seconds) |
2023-09-06 18:40:32 +0200 | danza | (~francesco@151.35.114.227) |
2023-09-06 18:40:57 +0200 | libertyprime | (~libertypr@203.96.203.44) |
2023-09-06 18:44:36 +0200 | danse-nr3_ | (~francesco@151.35.114.227) |
2023-09-06 18:47:27 +0200 | thegeekinside | (~thegeekin@189.180.122.37) |
2023-09-06 18:47:51 +0200 | mikoto-chan | (~mikoto-ch@ip-83-134-209-157.dsl.scarlet.be) (Ping timeout: 258 seconds) |
2023-09-06 18:51:43 +0200 | shiraeeshi | (~shiraeesh@46.42.244.59) |
2023-09-06 18:52:13 +0200 | sm | (~sm@plaintextaccounting/sm) |
2023-09-06 18:52:53 +0200 | sm | (~sm@plaintextaccounting/sm) (Remote host closed the connection) |
2023-09-06 18:53:31 +0200 | sm | (~sm@plaintextaccounting/sm) |
2023-09-06 18:57:01 +0200 | idgaen | (~idgaen@2a01:e0a:498:fd50:fcc6:bb5d:489a:ce8c) |
2023-09-06 18:58:02 +0200 | califax | (~califax@user/califx) (Remote host closed the connection) |
2023-09-06 18:58:20 +0200 | califax | (~califax@user/califx) |
2023-09-06 19:00:51 +0200 | mysl | (~mysl@user/mysl) |
2023-09-06 19:01:02 +0200 | stites | (~stites@2607:fb91:dc0:4d13:97ee:5235:aade:8ffa) (Read error: Connection reset by peer) |
2023-09-06 19:01:26 +0200 | stites | (~stites@130.44.147.204) |
2023-09-06 19:03:23 +0200 | danse-nr3_ | (~francesco@151.35.114.227) (Ping timeout: 244 seconds) |
2023-09-06 19:10:02 +0200 | fr33domlover | (~fr33domlo@towards.vision) |
2023-09-06 19:10:36 +0200 | Simikando | (~Simikando@adsl-dyn91.91-127-22.t-com.sk) (Quit: Leaving) |
2023-09-06 19:15:05 +0200 | <haskellbridge> | <jean-paul.> so .. `Digest a` is a newtype around `Block Word8`. `Block` is a data with one field, `ByteArray#` (type parameters to both types phantom). How many kinds of wrong is `coerce @(Ptr (Digest a)) @CString`? |
2023-09-06 19:23:51 +0200 | exarkun | (~exarkun@user/exarkun) |
2023-09-06 19:32:27 +0200 | bjobjo | (~bjobjo@user/bjobjo) (Ping timeout: 246 seconds) |
2023-09-06 19:34:27 +0200 | bjobjo | (~bjobjo@user/bjobjo) |
2023-09-06 19:34:46 +0200 | shiraeeshi | (~shiraeesh@46.42.244.59) (Ping timeout: 250 seconds) |
2023-09-06 19:38:08 +0200 | libertyprime | (~libertypr@203.96.203.44) (Ping timeout: 246 seconds) |
2023-09-06 19:38:27 +0200 | tzh | (~tzh@c-24-21-73-154.hsd1.wa.comcast.net) |
2023-09-06 19:48:45 +0200 | tromp | (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…) |
2023-09-06 19:50:32 +0200 | <EvanR> | haha |
2023-09-06 19:51:18 +0200 | <EvanR> | CString = Ptr Char implies there's a string with intentionally null terminated end somewhere? |
2023-09-06 19:51:21 +0200 | Vq | (~vq@90-227-195-9-no77.tbcn.telia.com) (Ping timeout: 246 seconds) |
2023-09-06 19:51:40 +0200 | <EvanR> | Digest sounds like a block of arbitrary bytes |
2023-09-06 19:52:50 +0200 | Unicorn_Princess | (~Unicorn_P@user/Unicorn-Princess/x-3540542) |
2023-09-06 19:53:30 +0200 | sm | (~sm@plaintextaccounting/sm) (Ping timeout: 244 seconds) |
2023-09-06 19:55:12 +0200 | <haskellbridge> | <jean-paul.> In this case it's a fixed length of arbitrary bytes, not nul terminated, yes |
2023-09-06 19:55:28 +0200 | <haskellbridge> | <jean-paul.> but I know the fixed length, I don't need CStringLen or similar to tell me |
2023-09-06 19:56:25 +0200 | hiyori | (~hiyori@user/hiyori) (Quit: Client closed) |
2023-09-06 19:56:32 +0200 | <haskellbridge> | <jean-paul.> (I can ask `Digest a` how many bytes are there with the associated type family `HashDigestSize a`) |
2023-09-06 19:56:59 +0200 | libertyprime | (~libertypr@203.96.203.44) |
2023-09-06 20:03:12 +0200 | <haskellbridge> | <jean-paul.> my HashAlgorithm instance blows up after it encounters undefined somewhere, even after I take all the undefineds out of my code, hrmph :/ |
2023-09-06 20:03:28 +0200 | Vq | (~vq@90-227-195-9-no77.tbcn.telia.com) |
2023-09-06 20:04:13 +0200 | eggplantade | (~Eggplanta@2600:1700:38c5:d800:2985:35e0:893a:ad44) (Remote host closed the connection) |
2023-09-06 20:04:27 +0200 | tdammers | (~tdammers@219-131-178-143.ftth.glasoperator.nl) (Server closed connection) |
2023-09-06 20:04:53 +0200 | tdammers | (~tdammers@219-131-178-143.ftth.glasoperator.nl) |
2023-09-06 20:07:57 +0200 | <EvanR> | you can take `undefined' out of the code, but that doesn't necessarily make the code defined! |
2023-09-06 20:08:12 +0200 | ystael | (~ystael@user/ystael) (Ping timeout: 248 seconds) |
2023-09-06 20:09:15 +0200 | <haskellbridge> | <jean-paul.> :) |
2023-09-06 20:09:40 +0200 | <haskellbridge> | <jean-paul.> cryptonite hash implementation is littered with undefined |
2023-09-06 20:09:53 +0200 | ystael | (~ystael@user/ystael) |
2023-09-06 20:10:27 +0200 | <haskellbridge> | <jean-paul.> they all look safe to me though |
2023-09-06 20:13:30 +0200 | <haskellbridge> | <jean-paul.> Hruuumph. The difference between undefined and defined is whether I write my instance functions like this: `hashBlockSize DoubleHash = hashBlockSize @hash undefined` (undefined) or like this: `hashBlockSize _ = hashBlockSize @hash undefined` (defined) |
2023-09-06 20:13:40 +0200 | <haskellbridge> | <jean-paul.> Seems like an interesting language property I should probably know about |
2023-09-06 20:15:06 +0200 | eggplantade | (~Eggplanta@2600:1700:38c5:d800:2985:35e0:893a:ad44) |
2023-09-06 20:16:18 +0200 | <mauke> | the first form pattern matches on the argument, which forces evaluation |
2023-09-06 20:16:20 +0200 | qqq | (~qqq@92.43.167.61) |
2023-09-06 20:17:31 +0200 | <haskellbridge> | <jean-paul.> the definition of `DoubleHash` is `data DoubleHash hash = DoubleHash` ... (so, no undefines being carried along there). What gets evaluated exactly? |
2023-09-06 20:18:49 +0200 | <ncf> | the argument gets evaluated. if it's a thunk, it gets forced |
2023-09-06 20:19:22 +0200 | <mauke> | someone is calling 'hashBlockSize undefined' |
2023-09-06 20:19:37 +0200 | <EvanR> | why is the argument to that function undefined smh |
2023-09-06 20:19:38 +0200 | <haskellbridge> | <jean-paul.> Oh |
2023-09-06 20:19:42 +0200 | <haskellbridge> | <jean-paul.> Yea, okay. cryptonite is doing that a lot. |
2023-09-06 20:20:03 +0200 | <EvanR> | is that like a Proxy |
2023-09-06 20:20:09 +0200 | <mauke> | should've been using a proxy |
2023-09-06 20:20:09 +0200 | <geekosaur> | yes, it's an pold idiom, the size is determined by the type so there's no need to see the parameter |
2023-09-06 20:20:13 +0200 | <haskellbridge> | <jean-paul.> I think, basically, yea |
2023-09-06 20:20:16 +0200 | <geekosaur> | in modern code Proxy is preferred |
2023-09-06 20:20:27 +0200 | <geekosaur> | *an old idiom |
2023-09-06 20:20:42 +0200 | <mauke> | https://hackage.haskell.org/package/base-4.18.0.0/docs/Foreign-Storable.html#v:sizeOf |
2023-09-06 20:25:12 +0200 | billchenchina | (~billchenc@45.77.32.141) |
2023-09-06 20:25:30 +0200 | <haskellbridge> | <jean-paul.> Thanks all |
2023-09-06 20:26:36 +0200 | notzmv | (~zmv@user/notzmv) (Ping timeout: 260 seconds) |
2023-09-06 20:29:05 +0200 | coot | (~coot@89-69-206-216.dynamic.chello.pl) (Quit: coot) |
2023-09-06 20:32:13 +0200 | eggplantade | (~Eggplanta@2600:1700:38c5:d800:2985:35e0:893a:ad44) (Ping timeout: 240 seconds) |
2023-09-06 20:32:15 +0200 | hiyori | (~hiyori@user/hiyori) |
2023-09-06 20:32:51 +0200 | eggplantade | (~Eggplanta@2600:1700:38c5:d800:2985:35e0:893a:ad44) |
2023-09-06 20:40:24 +0200 | chele | (~chele@user/chele) (Remote host closed the connection) |
2023-09-06 20:42:59 +0200 | justsomeguy | (~justsomeg@user/justsomeguy) |
2023-09-06 20:47:04 +0200 | thegeekinside | (~thegeekin@189.180.122.37) (Ping timeout: 258 seconds) |
2023-09-06 20:51:25 +0200 | haskellbridge | (~haskellbr@069-135-003-034.biz.spectrum.com) (Remote host closed the connection) |
2023-09-06 20:52:08 +0200 | haskellbridge | (~haskellbr@069-135-003-034.biz.spectrum.com) |
2023-09-06 20:53:06 +0200 | eggplantade | (~Eggplanta@2600:1700:38c5:d800:2985:35e0:893a:ad44) (Remote host closed the connection) |
2023-09-06 20:56:47 +0200 | ft | (~ft@p3e9bcdd3.dip0.t-ipconnect.de) |
2023-09-06 20:59:04 +0200 | thegeekinside | (~thegeekin@189.180.122.37) |
2023-09-06 21:00:15 +0200 | cafkafk | (~cafkafk@fsf/member/cafkafk) (Ping timeout: 246 seconds) |
2023-09-06 21:02:29 +0200 | cafkafk | (~cafkafk@fsf/member/cafkafk) |
2023-09-06 21:02:49 +0200 | L29Ah | (~L29Ah@wikipedia/L29Ah) () |
2023-09-06 21:03:11 +0200 | Tuplanolla | (~Tuplanoll@91-159-68-236.elisa-laajakaista.fi) |
2023-09-06 21:04:15 +0200 | adanwan | (~adanwan@gateway/tor-sasl/adanwan) (Remote host closed the connection) |
2023-09-06 21:04:31 +0200 | adanwan | (~adanwan@gateway/tor-sasl/adanwan) |
2023-09-06 21:06:13 +0200 | ystael | (~ystael@user/ystael) (Read error: Connection reset by peer) |
2023-09-06 21:10:19 +0200 | ystael | (~ystael@user/ystael) |
2023-09-06 21:12:24 +0200 | tromp | (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) |
2023-09-06 21:13:09 +0200 | mysl | (~mysl@user/mysl) (Ping timeout: 255 seconds) |
2023-09-06 21:14:23 +0200 | bratwurst | (~blaadsfa@2604:3d09:207f:f650:216:3eff:fe5a:a1f8) |
2023-09-06 21:14:36 +0200 | libertyprime | (~libertypr@203.96.203.44) (Ping timeout: 245 seconds) |
2023-09-06 21:16:15 +0200 | mysl | (~mysl@user/mysl) |
2023-09-06 21:17:27 +0200 | jackneill__ | (~Jackneill@20014C4E1E04F9007E194C209489FB5F.dsl.pool.telekom.hu) (Ping timeout: 245 seconds) |
2023-09-06 21:18:13 +0200 | thegeekinside | (~thegeekin@189.180.122.37) (Ping timeout: 240 seconds) |
2023-09-06 21:19:01 +0200 | dcoutts | (~duncan@cpc69402-oxfd27-2-0-cust903.4-3.cable.virginm.net) (Remote host closed the connection) |
2023-09-06 21:19:24 +0200 | dcoutts | (~duncan@cpc69402-oxfd27-2-0-cust903.4-3.cable.virginm.net) |
2023-09-06 21:21:28 +0200 | nate2 | (~nate@c-98-45-169-16.hsd1.ca.comcast.net) |
2023-09-06 21:22:13 +0200 | bratwurst | (~blaadsfa@2604:3d09:207f:f650:216:3eff:fe5a:a1f8) (Ping timeout: 240 seconds) |
2023-09-06 21:24:53 +0200 | thegeekinside | (~thegeekin@189.180.122.37) |
2023-09-06 21:25:29 +0200 | thegeekinside | (~thegeekin@189.180.122.37) (Read error: Connection reset by peer) |
2023-09-06 21:26:00 +0200 | thegeekinside | (~thegeekin@189.180.122.37) |
2023-09-06 21:26:12 +0200 | nate2 | (~nate@c-98-45-169-16.hsd1.ca.comcast.net) (Ping timeout: 246 seconds) |
2023-09-06 21:28:09 +0200 | bliminse | (~bliminse@user/bliminse) |
2023-09-06 21:31:28 +0200 | eggplantade | (~Eggplanta@2600:1700:38c5:d800:2985:35e0:893a:ad44) |
2023-09-06 21:33:41 +0200 | chromoblob | (~user@37.113.180.113) (Ping timeout: 260 seconds) |
2023-09-06 21:34:47 +0200 | lortabac | (~lortabac@2a01:e0a:541:b8f0:5501:b31e:d092:c734) |
2023-09-06 21:38:26 +0200 | son0p | (~ff@186.121.39.74) (Quit: Bye) |
2023-09-06 21:41:47 +0200 | dcoutts | (~duncan@cpc69402-oxfd27-2-0-cust903.4-3.cable.virginm.net) (Ping timeout: 246 seconds) |
2023-09-06 21:47:44 +0200 | lortabac | (~lortabac@2a01:e0a:541:b8f0:5501:b31e:d092:c734) (Quit: WeeChat 2.8) |
2023-09-06 21:47:53 +0200 | Nixkernal | (~Nixkernal@119.4.193.178.dynamic.wline.res.cust.swisscom.ch) (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.) |
2023-09-06 21:54:51 +0200 | cafkafk | (~cafkafk@fsf/member/cafkafk) (Ping timeout: 246 seconds) |
2023-09-06 21:57:03 +0200 | cafkafk | (~cafkafk@fsf/member/cafkafk) |
2023-09-06 21:57:59 +0200 | thegeekinside | (~thegeekin@189.180.122.37) (Ping timeout: 258 seconds) |
2023-09-06 22:03:12 +0200 | sord937 | (~sord937@gateway/tor-sasl/sord937) (Quit: sord937) |
2023-09-06 22:04:34 +0200 | fendor | (~fendor@2a02:8388:1640:be00:c785:45ab:c70:9d3f) |
2023-09-06 22:05:33 +0200 | cael_ | (~quassel@host109-149-135-250.range109-149.btcentralplus.com) (Ping timeout: 250 seconds) |
2023-09-06 22:05:46 +0200 | justsomeguy | (~justsomeg@user/justsomeguy) (Quit: WeeChat 3.6) |
2023-09-06 22:07:13 +0200 | Nixkernal | (~Nixkernal@119.4.193.178.dynamic.wline.res.cust.swisscom.ch) |
2023-09-06 22:07:40 +0200 | michalz | (~michalz@185.246.207.205) (Remote host closed the connection) |
2023-09-06 22:08:20 +0200 | _ht | (~Thunderbi@28-52-174-82.ftth.glasoperator.nl) (Quit: _ht) |
2023-09-06 22:10:12 +0200 | cael_ | (~quassel@host109-149-135-250.range109-149.btcentralplus.com) |
2023-09-06 22:10:33 +0200 | danza | (~francesco@151.35.114.227) (Read error: Connection reset by peer) |
2023-09-06 22:12:57 +0200 | ubert | (~Thunderbi@91.141.52.78.wireless.dyn.drei.com) |
2023-09-06 22:13:52 +0200 | mc47 | (~mc47@xmonad/TheMC47) (Remote host closed the connection) |
2023-09-06 22:15:05 +0200 | cafkafk | (~cafkafk@fsf/member/cafkafk) (Remote host closed the connection) |
2023-09-06 22:15:27 +0200 | cafkafk | (~cafkafk@fsf/member/cafkafk) |
2023-09-06 22:17:03 +0200 | stites | (~stites@130.44.147.204) (Ping timeout: 255 seconds) |
2023-09-06 22:17:29 +0200 | mysl | (~mysl@user/mysl) (Ping timeout: 246 seconds) |
2023-09-06 22:18:38 +0200 | stites | (~stites@c-71-232-14-73.hsd1.ma.comcast.net) |
2023-09-06 22:20:44 +0200 | stites | (~stites@c-71-232-14-73.hsd1.ma.comcast.net) (Read error: Connection reset by peer) |
2023-09-06 22:21:41 +0200 | stites | (~stites@c-71-232-14-73.hsd1.ma.comcast.net) |
2023-09-06 22:21:42 +0200 | mysl | (~mysl@user/mysl) |
2023-09-06 22:22:53 +0200 | sinbad | (~sinbad@user/sinbad) () |
2023-09-06 22:22:54 +0200 | ubert | (~Thunderbi@91.141.52.78.wireless.dyn.drei.com) (Ping timeout: 246 seconds) |
2023-09-06 22:23:56 +0200 | sinbad | (~sinbad@user/sinbad) |
2023-09-06 22:25:06 +0200 | aaronv | (~aaronv@user/aaronv) |
2023-09-06 22:26:21 +0200 | acidjnk | (~acidjnk@p200300d6e7072f3028e66677b5f34067.dip0.t-ipconnect.de) (Ping timeout: 258 seconds) |
2023-09-06 22:26:21 +0200 | stites | (~stites@c-71-232-14-73.hsd1.ma.comcast.net) (Read error: Connection reset by peer) |
2023-09-06 22:27:08 +0200 | stites | (~stites@c-71-232-14-73.hsd1.ma.comcast.net) |
2023-09-06 22:28:14 +0200 | oo_miguel | (~Thunderbi@78-11-179-96.static.ip.netia.com.pl) (Ping timeout: 246 seconds) |
2023-09-06 22:38:08 +0200 | ystael | (~ystael@user/ystael) (Ping timeout: 246 seconds) |
2023-09-06 22:41:22 +0200 | dcoutts | (~duncan@cpc69402-oxfd27-2-0-cust903.4-3.cable.virginm.net) |
2023-09-06 22:43:36 +0200 | vglfr | (~vglfr@cli-188-239-233-89.bbn.slav.dn.ua) (Ping timeout: 258 seconds) |
2023-09-06 22:45:25 +0200 | idgaen | (~idgaen@2a01:e0a:498:fd50:fcc6:bb5d:489a:ce8c) (Quit: WeeChat 4.0.2) |
2023-09-06 22:50:49 +0200 | wootehfoot | (~wootehfoo@user/wootehfoot) (Read error: Connection reset by peer) |
2023-09-06 22:57:16 +0200 | son0p | (~ff@186.121.39.74) |
2023-09-06 22:58:49 +0200 | shiraeeshi | (~shiraeesh@46.42.244.73) |
2023-09-06 22:59:03 +0200 | Sinbad7 | (~Sinbad@user/sinbad) |
2023-09-06 23:01:14 +0200 | stites | (~stites@c-71-232-14-73.hsd1.ma.comcast.net) (Read error: Connection reset by peer) |
2023-09-06 23:01:16 +0200 | Sinbad7 | (~Sinbad@user/sinbad) (Client Quit) |
2023-09-06 23:01:57 +0200 | stites | (~stites@c-71-232-14-73.hsd1.ma.comcast.net) |
2023-09-06 23:03:09 +0200 | <erisco> | Who is David Wagner? Sounds familiar and I stumbled on his blog https://thewagner.net/ |
2023-09-06 23:03:27 +0200 | azimut | (~azimut@gateway/tor-sasl/azimut) (Ping timeout: 246 seconds) |
2023-09-06 23:04:54 +0200 | <EvanR> | Oh yeah David Wagner he's a clojure guy |
2023-09-06 23:05:25 +0200 | <erisco> | weird because he talks about types in his blog :P |
2023-09-06 23:05:41 +0200 | <EvanR> | clojure has many types |
2023-09-06 23:05:47 +0200 | <EvanR> | of the java form |
2023-09-06 23:06:01 +0200 | m_shiraeeshi | (~shiraeesh@46.42.244.73) |
2023-09-06 23:06:06 +0200 | <EvanR> | checkable by the compiler even |
2023-09-06 23:06:12 +0200 | <erisco> | it is runtime checkde though yes? |
2023-09-06 23:06:24 +0200 | coot | (~coot@89-69-206-216.dynamic.chello.pl) |
2023-09-06 23:06:39 +0200 | <EvanR> | the process of compiling your code is some kind of halfbaked runtime-like environment so I guess yes |
2023-09-06 23:06:55 +0200 | <EvanR> | because lisp |
2023-09-06 23:07:16 +0200 | <EvanR> | it will determine if your use of java is bad |
2023-09-06 23:07:47 +0200 | stites | (~stites@c-71-232-14-73.hsd1.ma.comcast.net) (Read error: Connection reset by peer) |
2023-09-06 23:07:54 +0200 | shiraeeshi | (~shiraeesh@46.42.244.73) (Ping timeout: 255 seconds) |
2023-09-06 23:08:02 +0200 | stites | (~stites@c-71-232-14-73.hsd1.ma.comcast.net) |
2023-09-06 23:08:42 +0200 | dcoutts | (~duncan@cpc69402-oxfd27-2-0-cust903.4-3.cable.virginm.net) (Ping timeout: 245 seconds) |
2023-09-06 23:08:51 +0200 | <erisco> | well what do I know, I never quite got lisp |
2023-09-06 23:09:09 +0200 | hiyori | (~hiyori@user/hiyori) (Quit: Client closed) |
2023-09-06 23:10:22 +0200 | sinbad | (~sinbad@user/sinbad) () |
2023-09-06 23:10:38 +0200 | <EvanR> | I didn't understand lisp until haskell |
2023-09-06 23:11:14 +0200 | <EvanR> | but didn't learn haskell until after I learned lisp |
2023-09-06 23:11:37 +0200 | dcoutts | (~duncan@cpc69402-oxfd27-2-0-cust903.4-3.cable.virginm.net) |
2023-09-06 23:13:48 +0200 | jmdaemon | (~jmdaemon@user/jmdaemon) (Quit: ZNC 1.8.2 - https://znc.in) |
2023-09-06 23:14:07 +0200 | jmdaemon | (~jmdaemon@user/jmdaemon) |
2023-09-06 23:15:52 +0200 | <erisco> | well I wanted to think him for this https://thewagner.net/blog/2021/02/25/building-container-images-with-nix/ because it is on point with what I wanted to know |
2023-09-06 23:22:07 +0200 | sinbad_ | (~peter@178-164-252-121.pool.digikabel.hu) |
2023-09-06 23:24:28 +0200 | sinbad_ | (~peter@178-164-252-121.pool.digikabel.hu) () |
2023-09-06 23:25:20 +0200 | fendor | (~fendor@2a02:8388:1640:be00:c785:45ab:c70:9d3f) (Remote host closed the connection) |
2023-09-06 23:30:06 +0200 | dcoutts | (~duncan@cpc69402-oxfd27-2-0-cust903.4-3.cable.virginm.net) (Ping timeout: 246 seconds) |
2023-09-06 23:33:39 +0200 | vglfr | (~vglfr@cli-188-239-201-89.bbn.slav.dn.ua) |
2023-09-06 23:35:42 +0200 | jmdaemon | (~jmdaemon@user/jmdaemon) (Ping timeout: 246 seconds) |
2023-09-06 23:38:13 +0200 | L29Ah | (~L29Ah@wikipedia/L29Ah) |
2023-09-06 23:38:17 +0200 | justsomeguy | (~justsomeg@user/justsomeguy) |
2023-09-06 23:44:30 +0200 | takuan | (~takuan@178-116-218-225.access.telenet.be) (Remote host closed the connection) |
2023-09-06 23:45:28 +0200 | Xe | (~cadey@tailscale/xe) (Ping timeout: 255 seconds) |
2023-09-06 23:49:07 +0200 | Feuermagier | (~Feuermagi@user/feuermagier) (Quit: Leaving) |