2023-10-31 00:13:10 +0100 | terrorjack4 | (~terrorjac@2a01:4f8:c17:87f8::) |
2023-10-31 00:14:11 +0100 | Mion | (~Urist@archlinux/op/MrElendig) |
2023-10-31 00:15:23 +0100 | MrElendig | (~Urist@archlinux/op/MrElendig) (Ping timeout: 264 seconds) |
2023-10-31 00:15:23 +0100 | geekosaur | (sid609282@xmonad/geekosaur) (Ping timeout: 264 seconds) |
2023-10-31 00:15:24 +0100 | ectospasm | (~ectospasm@user/ectospasm) (Ping timeout: 264 seconds) |
2023-10-31 00:15:25 +0100 | terrorjack | (~terrorjac@2a01:4f8:c17:87f8::) (Ping timeout: 264 seconds) |
2023-10-31 00:15:26 +0100 | terrorjack4 | terrorjack |
2023-10-31 00:16:11 +0100 | geekosaur | (sid609282@xmonad/geekosaur) |
2023-10-31 00:28:21 +0100 | ectospasm | (~ectospasm@user/ectospasm) |
2023-10-31 00:55:20 +0100 | sometypeofuser | (~user@92.40.184.196.threembb.co.uk) |
2023-10-31 01:01:20 +0100 | sometypeofuser | (~user@92.40.184.196.threembb.co.uk) (Quit: Leaving) |
2023-10-31 02:27:34 +0100 | hightower4 | (~hightower@203-128.dsl.iskon.hr) |
2023-10-31 02:30:16 +0100 | hightower3 | (~hightower@141-136-161-29.dsl.iskon.hr) (Ping timeout: 258 seconds) |
2023-10-31 03:16:19 +0100 | defjam | (~defjam@2a02:c7e:2807:b900:ac13:d447:79b2:3f03) (Ping timeout: 245 seconds) |
2023-10-31 03:28:45 +0100 | defjam | (~defjam@2a02:c7e:2807:b900:21bc:7d07:b80d:c4c6) |
2023-10-31 03:33:05 +0100 | defjam | (~defjam@2a02:c7e:2807:b900:21bc:7d07:b80d:c4c6) (Ping timeout: 255 seconds) |
2023-10-31 03:50:50 +0100 | defjam | (~defjam@2a02:c7e:2807:b900:21bc:7d07:b80d:c4c6) |
2023-10-31 04:05:35 +0100 | td_ | (~td@i5387092F.versanet.de) (Ping timeout: 240 seconds) |
2023-10-31 04:07:44 +0100 | td_ | (~td@i53870904.versanet.de) |
2023-10-31 04:11:08 +0100 | defjam | (~defjam@2a02:c7e:2807:b900:21bc:7d07:b80d:c4c6) (Ping timeout: 248 seconds) |
2023-10-31 04:39:54 +0100 | defjam | (~defjam@2a02:c7e:2807:b900:21bc:7d07:b80d:c4c6) |
2023-10-31 07:37:39 +0100 | chomwitt | (~chomwitt@2a02:587:7a1a:f800:1ac0:4dff:fedb:a3f1) |
2023-10-31 09:21:23 +0100 | tv | (~tv@user/tv) (Ping timeout: 255 seconds) |
2023-10-31 09:34:53 +0100 | tv | (~tv@user/tv) |
2023-10-31 10:26:31 +0100 | mc47 | (~mc47@xmonad/TheMC47) |
2023-10-31 10:55:31 +0100 | defjam | (~defjam@2a02:c7e:2807:b900:21bc:7d07:b80d:c4c6) (Ping timeout: 264 seconds) |
2023-10-31 11:08:35 +0100 | defjam | (~defjam@2a02:c7e:2807:b900:21bc:7d07:b80d:c4c6) |
2023-10-31 11:11:10 +0100 | cfricke | (~cfricke@user/cfricke) |
2023-10-31 11:22:53 +0100 | defjam | (~defjam@2a02:c7e:2807:b900:21bc:7d07:b80d:c4c6) (Ping timeout: 255 seconds) |
2023-10-31 11:30:18 +0100 | defjam | (~defjam@2a02:c7e:2807:b900:21bc:7d07:b80d:c4c6) |
2023-10-31 12:52:15 +0100 | defjam | (~defjam@2a02:c7e:2807:b900:21bc:7d07:b80d:c4c6) (Ping timeout: 240 seconds) |
2023-10-31 13:05:47 +0100 | defjam | (~defjam@2a02:c7e:2807:b900:21bc:7d07:b80d:c4c6) |
2023-10-31 13:10:20 +0100 | defjam | (~defjam@2a02:c7e:2807:b900:21bc:7d07:b80d:c4c6) (Ping timeout: 248 seconds) |
2023-10-31 13:14:53 +0100 | defjam | (~defjam@2a02:c7e:2807:b900:21bc:7d07:b80d:c4c6) |
2023-10-31 14:12:26 +0100 | defjam | (~defjam@2a02:c7e:2807:b900:21bc:7d07:b80d:c4c6) (Ping timeout: 272 seconds) |
2023-10-31 14:40:48 +0100 | defjam | (~defjam@2a02:c7e:2807:b900:21bc:7d07:b80d:c4c6) |
2023-10-31 14:43:57 +0100 | cfricke | (~cfricke@user/cfricke) (Quit: WeeChat 4.0.5) |
2023-10-31 14:46:52 +0100 | defjam | (~defjam@2a02:c7e:2807:b900:21bc:7d07:b80d:c4c6) (Ping timeout: 248 seconds) |
2023-10-31 14:58:20 +0100 | defjam | (~defjam@2a02:c7e:2807:b900:21bc:7d07:b80d:c4c6) |
2023-10-31 15:04:28 +0100 | defjam | (~defjam@2a02:c7e:2807:b900:21bc:7d07:b80d:c4c6) (Ping timeout: 252 seconds) |
2023-10-31 15:17:00 +0100 | defjam | (~defjam@2a02:c7e:2807:b900:21bc:7d07:b80d:c4c6) |
2023-10-31 15:24:05 +0100 | defjam | (~defjam@2a02:c7e:2807:b900:21bc:7d07:b80d:c4c6) (Ping timeout: 240 seconds) |
2023-10-31 15:37:12 +0100 | defjam | (~defjam@2a02:c7e:2807:b900:21bc:7d07:b80d:c4c6) |
2023-10-31 15:48:57 +0100 | vantablu3 | (~vantablu3@2a00:a200:0:802:900:27dd:3be3:de61) |
2023-10-31 15:50:44 +0100 | vantablu3 | (~vantablu3@2a00:a200:0:802:900:27dd:3be3:de61) (Client Quit) |
2023-10-31 15:55:08 +0100 | defjam | (~defjam@2a02:c7e:2807:b900:21bc:7d07:b80d:c4c6) (Ping timeout: 255 seconds) |
2023-10-31 15:56:06 +0100 | defjam | (~defjam@2a02:c7e:2807:b900:21bc:7d07:b80d:c4c6) |
2023-10-31 16:14:07 +0100 | hightower4 | (~hightower@203-128.dsl.iskon.hr) (Ping timeout: 264 seconds) |
2023-10-31 17:08:24 +0100 | defjam | (~defjam@2a02:c7e:2807:b900:21bc:7d07:b80d:c4c6) (Ping timeout: 245 seconds) |
2023-10-31 17:16:11 +0100 | defjam | (~defjam@2a02:c7e:2807:b900:21bc:7d07:b80d:c4c6) |
2023-10-31 17:18:19 +0100 | <haskellbridge> | <beastwick> Hi everyone, how does one extract a value out of an X object? I have a X (Maybe String) that I am trying to pass to a fromMaybe. |
2023-10-31 17:28:36 +0100 | hightower2 | (~hightower@213.186.15.36) |
2023-10-31 17:28:48 +0100 | <geekosaur> | you don't, generally |
2023-10-31 17:28:55 +0100 | <geekosaur> | @where IOtut |
2023-10-31 17:28:55 +0100 | <lambdabot> | https://www.vex.net/~trebla/haskell/IO.xhtml |
2023-10-31 17:29:53 +0100 | <geekosaur> | if you're not already in X then you don't have access to xmonad's state and therefore can't get there |
2023-10-31 17:38:46 +0100 | defjam | (~defjam@2a02:c7e:2807:b900:21bc:7d07:b80d:c4c6) (Ping timeout: 258 seconds) |
2023-10-31 17:52:57 +0100 | defjam | (~defjam@2a02:c7e:2807:b900:21bc:7d07:b80d:c4c6) |
2023-10-31 17:58:31 +0100 | defjam | (~defjam@2a02:c7e:2807:b900:21bc:7d07:b80d:c4c6) (Ping timeout: 264 seconds) |
2023-10-31 17:58:58 +0100 | defjam | (~defjam@2a02:c7e:2807:b900:21bc:7d07:b80d:c4c6) |
2023-10-31 18:04:14 +0100 | defjam | (~defjam@2a02:c7e:2807:b900:21bc:7d07:b80d:c4c6) (Ping timeout: 272 seconds) |
2023-10-31 18:26:48 +0100 | srk | (~sorki@user/srk) (Quit: ZNC 1.8.1 - https://znc.in) |
2023-10-31 18:30:12 +0100 | defjam | (~defjam@2a02:c7e:2807:b900:21bc:7d07:b80d:c4c6) |
2023-10-31 18:33:13 +0100 | srk | (~sorki@user/srk) |
2023-10-31 18:36:19 +0100 | defjam | (~defjam@2a02:c7e:2807:b900:21bc:7d07:b80d:c4c6) (Ping timeout: 264 seconds) |
2023-10-31 18:47:42 +0100 | defjam | (~defjam@2a02:c7e:2807:b900:21bc:7d07:b80d:c4c6) |
2023-10-31 18:52:09 +0100 | defjam | (~defjam@2a02:c7e:2807:b900:21bc:7d07:b80d:c4c6) (Ping timeout: 245 seconds) |
2023-10-31 19:04:25 +0100 | defjam | (~defjam@2a02:c7e:2807:b900:21bc:7d07:b80d:c4c6) |
2023-10-31 20:06:41 +0100 | defjam | (~defjam@2a02:c7e:2807:b900:21bc:7d07:b80d:c4c6) (Ping timeout: 255 seconds) |
2023-10-31 20:09:44 +0100 | defjam | (~defjam@2a02:c7e:2807:b900:21bc:7d07:b80d:c4c6) |
2023-10-31 20:19:48 +0100 | <haskellbridge> | <beastwick> , ((mod4Mask .|. controlMask, xK_r), spawn (fromMaybe "" (inputPrompt def ""))) basically I want to start a program without seeing the terminal/console |
2023-10-31 20:19:56 +0100 | <haskellbridge> | <beastwick> but I don't want to hard code the program |
2023-10-31 20:20:04 +0100 | <haskellbridge> | <beastwick> also the program needs a parameter that changes |
2023-10-31 20:20:27 +0100 | <haskellbridge> | <beastwick> inputPrompt :: XPConfig -> String -> X (Maybe String) |
2023-10-31 20:20:37 +0100 | <haskellbridge> | <beastwick> how do you use something then that returns an X (Maybe String) |
2023-10-31 20:20:49 +0100 | <haskellbridge> | <beastwick> would be a lot simpler if it just returned a Maybe String |
2023-10-31 20:25:24 +0100 | <geekosaur> | you should build the string in X and pass it to spawn with >>= |
2023-10-31 20:26:02 +0100 | <geekosaur> | and if it returns a Maybe String then it can't do I/O or use xmonad state |
2023-10-31 20:28:19 +0100 | <haskellbridge> | <beastwick> sorry, is there some docs that can show how to do that? |
2023-10-31 20:32:08 +0100 | <geekosaur> | you could start with the one I linked earlier. X is some stuff on top of IO; if you don't understand how IO works then you won't understand X |
2023-10-31 20:32:13 +0100 | <geekosaur> | @where IOtut |
2023-10-31 20:32:13 +0100 | <lambdabot> | https://www.vex.net/~trebla/haskell/IO.xhtml |
2023-10-31 20:32:32 +0100 | <haskellbridge> | <beastwick> thanks |
2023-10-31 21:30:13 +0100 | mc47 | (~mc47@xmonad/TheMC47) (Remote host closed the connection) |
2023-10-31 23:41:01 +0100 | defjam | (~defjam@2a02:c7e:2807:b900:21bc:7d07:b80d:c4c6) (Ping timeout: 258 seconds) |
2023-10-31 23:50:07 +0100 | chomwitt | (~chomwitt@2a02:587:7a1a:f800:1ac0:4dff:fedb:a3f1) (Ping timeout: 264 seconds) |