Logs: liberachat/#haskell
| 2025-09-27 20:25:35 | <sm> | and this: |
| 2025-09-27 20:25:38 | <sm> | -- https://github.com/cdepillabout/pretty-simple |
| 2025-09-27 20:25:38 | <sm> | :set -interactive-print=Text.Pretty.Simple.pPrintNoColor |
| 2025-09-27 20:26:12 | <sm> | I think some environments might need this as well: |
| 2025-09-27 20:26:26 | <sm> | :set -package pretty-simple |
| 2025-09-27 20:26:44 | × | arandombit quits (~arandombi@user/arandombit) (Ping timeout: 265 seconds) |
| 2025-09-27 20:27:18 | → | arandombit joins (~arandombi@2603:7000:4600:ffbe:90b7:aaab:6c19:3791) |
| 2025-09-27 20:27:18 | × | arandombit quits (~arandombi@2603:7000:4600:ffbe:90b7:aaab:6c19:3791) (Changing host) |
| 2025-09-27 20:27:19 | → | arandombit joins (~arandombi@user/arandombit) |
| 2025-09-27 20:27:44 | → | Googulator51 joins (~Googulato@193-226-241-153.pool.digikabel.hu) |
| 2025-09-27 20:27:48 | × | takuan quits (~takuan@d8D86B9E9.access.telenet.be) (Remote host closed the connection) |
| 2025-09-27 20:30:53 | × | Googulator quits (~Googulato@2a01-036d-0106-0744-f110-0864-c42c-107f.pool6.digikabel.hu) (Ping timeout: 250 seconds) |
| 2025-09-27 20:34:25 | <newsham2> | fun. trying to figure out how to use cabal and/or stack again. looks like stack doesnt want to work although it worked last time i used it a long time ago. |
| 2025-09-27 20:34:33 | → | merijn joins (~merijn@host-vr.cgnat-g.v4.dfn.nl) |
| 2025-09-27 20:34:37 | <newsham2> | const change x = change |
| 2025-09-27 20:35:56 | × | Googulator51 quits (~Googulato@193-226-241-153.pool.digikabel.hu) (Quit: Client closed) |
| 2025-09-27 20:36:00 | → | Googulator69 joins (~Googulato@193-226-241-153.pool.digikabel.hu) |
| 2025-09-27 20:36:05 | × | tromp quits (~textual@2001:1c00:3487:1b00:b023:5780:967f:79f8) (Quit: My iMac has gone to sleep. ZZZzzz…) |
| 2025-09-27 20:39:37 | × | merijn quits (~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 264 seconds) |
| 2025-09-27 20:40:22 | × | opencircuit quits (~quassel@86.38.236.88) (Changing host) |
| 2025-09-27 20:40:22 | → | opencircuit joins (~quassel@user/opencircuit) |
| 2025-09-27 20:40:26 | × | arandombit quits (~arandombi@user/arandombit) (Ping timeout: 248 seconds) |
| 2025-09-27 20:40:35 | × | Googulator69 quits (~Googulato@193-226-241-153.pool.digikabel.hu) (Client Quit) |
| 2025-09-27 20:40:41 | → | tromp joins (~textual@2001:1c00:3487:1b00:b023:5780:967f:79f8) |
| 2025-09-27 20:40:44 | → | Googulator69 joins (~Googulato@193-226-241-153.pool.digikabel.hu) |
| 2025-09-27 20:41:39 | <newsham2> | cool, cabal working ok for me |
| 2025-09-27 20:44:12 | <haskellbridge> | <sm> newsham2 you may want to upgrade to latest stack (cabal too) and also update your ~/.stack/global-project/stack.yaml |
| 2025-09-27 20:44:21 | <haskellbridge> | <sm> or remove it |
| 2025-09-27 20:45:02 | <haskellbridge> | <sm> "stack upgrade" |
| 2025-09-27 20:47:27 | × | newsham2 quits (~newsham@2603:800c:2c01:6825:a538:c286:d6c2:5fcd) (Quit: Client closed) |
| 2025-09-27 20:49:48 | → | justsomeguy joins (~justsomeg@user/justsomeguy) |
| 2025-09-27 20:49:58 | → | merijn joins (~merijn@host-vr.cgnat-g.v4.dfn.nl) |
| 2025-09-27 20:54:04 | × | tromp quits (~textual@2001:1c00:3487:1b00:b023:5780:967f:79f8) (Quit: My iMac has gone to sleep. ZZZzzz…) |
| 2025-09-27 20:55:13 | × | merijn quits (~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 264 seconds) |
| 2025-09-27 20:58:05 | → | arandombit joins (~arandombi@user/arandombit) |
| 2025-09-27 20:59:36 | → | tromp joins (~textual@2001:1c00:3487:1b00:b023:5780:967f:79f8) |
| 2025-09-27 21:03:28 | × | arandombit quits (~arandombi@user/arandombit) (Ping timeout: 265 seconds) |
| 2025-09-27 21:03:30 | × | Everything quits (~Everythin@46.96.83.222) (Quit: leaving) |
| 2025-09-27 21:05:40 | × | Googulator69 quits (~Googulato@193-226-241-153.pool.digikabel.hu) (Quit: Client closed) |
| 2025-09-27 21:05:46 | → | merijn joins (~merijn@host-vr.cgnat-g.v4.dfn.nl) |
| 2025-09-27 21:05:47 | → | arandombit joins (~arandombi@user/arandombit) |
| 2025-09-27 21:05:59 | → | Googulator69 joins (~Googulato@193-226-241-153.pool.digikabel.hu) |
| 2025-09-27 21:10:41 | × | merijn quits (~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 250 seconds) |
| 2025-09-27 21:12:22 | × | tromp quits (~textual@2001:1c00:3487:1b00:b023:5780:967f:79f8) (Quit: My iMac has gone to sleep. ZZZzzz…) |
| 2025-09-27 21:13:53 | → | tromp joins (~textual@2001:1c00:3487:1b00:b023:5780:967f:79f8) |
| 2025-09-27 21:14:28 | → | renatofdds joins (~user@user/renatofdds) |
| 2025-09-27 21:14:41 | × | trickard_ quits (~trickard@cpe-50-98-47-163.wireline.com.au) (Read error: Connection reset by peer) |
| 2025-09-27 21:14:55 | → | trickard_ joins (~trickard@cpe-50-98-47-163.wireline.com.au) |
| 2025-09-27 21:15:39 | → | Googulator64 joins (~Googulato@193-226-241-153.pool.digikabel.hu) |
| 2025-09-27 21:15:39 | × | Googulator69 quits (~Googulato@193-226-241-153.pool.digikabel.hu) (Quit: Client closed) |
| 2025-09-27 21:16:36 | × | renatofdds quits (~user@user/renatofdds) () |
| 2025-09-27 21:18:02 | → | renatofdds joins (~user@user/renatofdds) |
| 2025-09-27 21:19:06 | × | renatofdds quits (~user@user/renatofdds) (Remote host closed the connection) |
| 2025-09-27 21:20:59 | × | arandombit quits (~arandombi@user/arandombit) (Remote host closed the connection) |
| 2025-09-27 21:21:18 | → | arandombit joins (~arandombi@user/arandombit) |
| 2025-09-27 21:23:32 | → | merijn joins (~merijn@host-vr.cgnat-g.v4.dfn.nl) |
| 2025-09-27 21:28:11 | × | merijn quits (~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 244 seconds) |
| 2025-09-27 21:38:58 | → | merijn joins (~merijn@host-vr.cgnat-g.v4.dfn.nl) |
| 2025-09-27 21:40:39 | × | Googulator64 quits (~Googulato@193-226-241-153.pool.digikabel.hu) (Quit: Client closed) |
| 2025-09-27 21:40:40 | → | Googulator84 joins (~Googulato@193-226-241-153.pool.digikabel.hu) |
| 2025-09-27 21:43:54 | × | merijn quits (~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 248 seconds) |
| 2025-09-27 21:46:43 | × | arandombit quits (~arandombi@user/arandombit) (Ping timeout: 255 seconds) |
| 2025-09-27 21:47:35 | → | newsham joins (~newsham@2603:800c:2c01:6825:a538:c286:d6c2:5fcd) |
| 2025-09-27 21:47:52 | → | arandombit joins (~arandombi@2603:7000:4600:ffbe:5957:1ac7:2381:6b22) |
| 2025-09-27 21:47:52 | × | arandombit quits (~arandombi@2603:7000:4600:ffbe:5957:1ac7:2381:6b22) (Changing host) |
| 2025-09-27 21:47:53 | → | arandombit joins (~arandombi@user/arandombit) |
| 2025-09-27 21:53:03 | <newsham> | do std libraries have an abstraction for things that can be scaled by a real? |
| 2025-09-27 21:54:44 | → | merijn joins (~merijn@host-vr.cgnat-g.v4.dfn.nl) |
| 2025-09-27 21:55:06 | × | arandombit quits (~arandombi@user/arandombit) (Ping timeout: 248 seconds) |
| 2025-09-27 21:55:21 | → | arandombit joins (~arandombi@user/arandombit) |
| 2025-09-27 21:57:41 | → | Enrico63 joins (~Enrico63@2a0b:e541:10d0:0:9efc:e8ff:fe24:3213) |
| 2025-09-27 21:59:19 | × | merijn quits (~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 240 seconds) |
| 2025-09-27 22:00:28 | × | target_i quits (~target_i@user/target-i/x-6023099) (Quit: leaving) |
| 2025-09-27 22:00:40 | × | arandombit quits (~arandombi@user/arandombit) (Ping timeout: 255 seconds) |
| 2025-09-27 22:01:02 | → | arandombit joins (~arandombi@user/arandombit) |
| 2025-09-27 22:01:34 | × | gabriel_sevecek quits (~gabriel@188-167-229-200.dynamic.chello.sk) (Quit: WeeChat 4.7.1) |
| 2025-09-27 22:03:16 | → | gabriel_sevecek joins (~gabriel@188-167-229-200.dynamic.chello.sk) |
| 2025-09-27 22:06:31 | × | arandombit quits (~arandombi@user/arandombit) (Ping timeout: 255 seconds) |
| 2025-09-27 22:10:32 | → | merijn joins (~merijn@host-vr.cgnat-g.v4.dfn.nl) |
| 2025-09-27 22:12:49 | → | arandombit joins (~arandombi@user/arandombit) |
| 2025-09-27 22:12:55 | <EvanR> | newsham, the standardish library "linear" has a function (*^) with type (Functor f, Num a) => a -> f a -> f a |
| 2025-09-27 22:13:13 | <EvanR> | so basically, it doesn't need a new abstraction you just have to define it |
| 2025-09-27 22:13:32 | <EvanR> | assuming it's already a functor |
| 2025-09-27 22:15:14 | <EvanR> | haskell really needs to push "functor tutorials" more |
| 2025-09-27 22:15:38 | × | merijn quits (~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 256 seconds) |
| 2025-09-27 22:17:20 | × | arandombit quits (~arandombi@user/arandombit) (Ping timeout: 256 seconds) |
| 2025-09-27 22:19:19 | → | arandombit joins (~arandombi@user/arandombit) |
| 2025-09-27 22:19:58 | × | tromp quits (~textual@2001:1c00:3487:1b00:b023:5780:967f:79f8) (Quit: My iMac has gone to sleep. ZZZzzz…) |
| 2025-09-27 22:20:42 | × | vanishingideal quits (~vanishing@user/vanishingideal) (Remote host closed the connection) |
| 2025-09-27 22:23:33 | × | Enrico63 quits (~Enrico63@2a0b:e541:10d0:0:9efc:e8ff:fe24:3213) (Quit: Client closed) |
| 2025-09-27 22:28:36 | <newsham> | i dont know that i need it, but i was thinking i wanted Int to be scalable too, which wouldnt work with that definition. Integer isnt a container of floats. |
| 2025-09-27 22:28:59 | <newsham> | but maybe that was just silliness on my part. the types i care about right now are Float and RGBA as a triple of floats. |
| 2025-09-27 22:31:33 | <EvanR> | it's possible to make anything into the dumbest possible Functor xD |
| 2025-09-27 22:31:52 | <EvanR> | > fmap (7*) (Identity 3) |
| 2025-09-27 22:31:53 | <lambdabot> | Identity 21 |
| 2025-09-27 22:33:18 | <EvanR> | but just defining scaleRGBA :: Float -> RGBA -> RGBA ain't stupid either |
| 2025-09-27 22:33:47 | <newsham> | oh but for fun color from a 3rd party package is concretely only for floats. so not so much functor. |
| 2025-09-27 22:34:34 | <newsham> | evanr: thats besides the point. I need to be able to scale things by floats in [0..1]. i dont need to scale ints by ints. |
| 2025-09-27 22:34:56 | <int-e> | > fmap (7*) (Data.Functor.Const.Const ()) |
| 2025-09-27 22:34:57 | <lambdabot> | error: |
All times are in UTC.